Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NOPAGEEJECT and Printing problems
Message
De
18/07/2005 08:32:46
Thomas Baehr
Glaswald Informatik Gmbh
Leipzig, Allemagne
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
NOPAGEEJECT and Printing problems
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01033473
Message ID:
01033473
Vues:
87
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform