Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving page orientation and size
Message
From
14/05/2008 14:24:13
 
 
To
13/05/2008 19:47:52
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01316855
Message ID:
01317100
Views:
20
>This may be the wrong question but . . .
>Is there a way to save the page orientation and page size in a report definition without saving the entire printer environment? I have several reports in a project that require 11x17 paper in landscape mode. When they are printed on printers other than the one that was default at design time, the user has to go through the printer preferences to set them for those parameters. If I save the printer environment with the report, the user has lots of other trouble trying to get it to print right.
>
>Thanks

Check the help file for SYS(1037), maybe that could help.

Maybe play with the EXPR, TAG, and TAG2 fields and only leave there the page size?

Sometimes I exclude the report files from the exe, and add this to a setup printer commandbutton:
Local lnSelect As Integer

m.lnSelect = Select(0)
Select 0
Use reports\somereport.frx Exclusive
=Sys(1037,1)
Use
Select (m.lnSelect)
This is not your case, but maybe you can get some ideas from this.

Carlos
Previous
Reply
Map
View

Click here to load this message in the networking platform