>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