Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Tip: You will want to strip out Printer Environments
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
Report Tip: You will want to strip out Printer Environments
Miscellaneous
Thread ID:
00909965
Message ID:
00909965
Views:
120
Save Printer Environment is "ON" by default -- this won't change.

However, when you design reports, it will almost always be better practice to remove the Printer Environment from your report even if you always intend the report to be printed in a single environment.

Here's why:

When you leave Printer Environment in the report, VFP now has to talk to the printer when you MODI REPO.

Especially if the original printer was on the network somewhere -- and even more especially if that printer is no longer available -- it can take
FOREVER for a report to open up while VFP goes looking around the network for that printer.

If you re-save the report without printer environment, this won't happen and MODI REPO will open much, much faster.

Additional info:

VFP 9 now stores much more limited information when Printer Environment is OFF than VFP 8 did. This means, for example, that printer resolution is no longer stored in Expr unless you store printer environment. (Printer resolution happens to be a value that is more significant to new-style reportoutput than old-style report output.)

You can include special user override information to the current printer settings in the Picture field of the header record, and these will be respected whether Printer Environment is ON or OFF. Check the 60FRX.DBF table in your tools\filespec directory for details.

Suppose you have a report that's meant to provide faxable output. You decide to set the resolution of the printed output to match the resolution of the fax. You can include this information in Picture and it will be respected -- WITHOUT your storing additional values specific to your printer. You've now set up the report "for any printer that is capable of this resolution" with than "for this printer".

Result: You can include some required settings for a specific report *without* including Printer Environment information. This will work better, more consistently, than just saving the Printer Environment for a specific report.

HTH,

>L<
Reply
Map
View

Click here to load this message in the networking platform