Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DEVICE= line in Expr getting no respect
Message
From
23/01/2013 12:15:20
 
 
To
23/01/2013 11:58:38
Stan Vaninger
Mitek Industries, Inc
Missouri, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01563790
Message ID:
01563831
Views:
66
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform