Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NOPAGEEJECT and Printing problems
Message
From
18/07/2005 08:32:46
Thomas Baehr
Glaswald Informatik Gmbh
Leipzig, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
NOPAGEEJECT and Printing problems
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01033473
Message ID:
01033473
Views:
89
have tried a lot with the new nopageeject feature for report printing ... and .. i think it sucks .. coz i causes more problems than it solves.

EXAMPLE:
testings done with VFP 9.0 SP1
report from page1.frx TO PRINT PROMPT NODIALOG NOPAGEEJECT
report from page2.frx TO PRINT NODIALOG NORESET NOPAGEEJECT
report from page3.frx TO PRINT NODIALOG NORESET NOPAGEEJECT
report from page4.frx TO PRINT NODIALOG NORESET


1.)if u use PROMPT ( so the user can setup the printer [e.g. switching between B/W & color printing] before printing) and the user aborts at that stage of the printing the remaining pagesare still printed, because u only abort the page1.frx printing there

2) if u use PROMPT and the user selects a non-default Printer the second++ Pages are sometimes A3 or A5 instead of A4 esp. with pdf creating printers havent noticed the problem if u dont use prompt) and use

PRINTERNAME=GetPrinter()
SET PRINTER TO NAME (PRINTERNAME)
to select the printer , but than user cannot change settings

Im clearing all formating stuff from the reports before compiling them into the application ( exe)
REPLACE Expr WITH "", Tag WITH "", Tag2 WITH ""
( so the reports dont have any formating from the printer on my computer in it)

only using the PROMPT Clause for the first page and i dont even change anything ( beside selecting a different printer) in this case maxx PDF Printer the first page overflows and the 3 page ( which would be the second append report) gets printed in A3 meaning u see only 1/4 of it ..

it only happens than u select another printer than the default, but if u close application, set the printer to your default one and
restart everything prints fine ...
and all printer are A4 printers
Next
Reply
Map
View

Click here to load this message in the networking platform