Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DEVICE= line in Expr getting no respect
Message
De
23/01/2013 12:15:20
 
 
À
23/01/2013 11:58:38
Stan Vaninger
Mitek Industries, Inc
Missouri, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01563790
Message ID:
01563831
Vues:
65
>Cathy Pountney, in her book on the VFP Report Writer (2002), gives some code on pages 232-236 on how to change the COPIES= and DEFAULTSOURCE= lines in the Expr field of the first record in the FRX file of a report form in order to change the number of copies and the paper tray.
>
>Are you advocating that developers never mess with the Expr field and always keep it blank?
>
>If so, what approach would you recommend to set up a report-specific printer that also allows the user to specify number of copies and the paper tray so that without any user intervention when the report is actually printed, it always goes to the specified printer, uses the specified tray and prints the specified copies?
>
>Thanks very much,
>Stan

I strongly recommend FoxyPreviewer where you have many more options for reporting, and it's free. http://foxypreviewer.codeplex.com/.

I haven't used it much myself, simply because I haven't had much need for creating reports. But as far as I know, you can control almost anything by setting properties. You only need to add two or three lines to make it replace the normal report writer.

Earlier I had a similar use to yours. I ended up with defining several virtual printers, where every combination of paper tray, number of copies and single page/duplex had its own name.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform