General information
Category:
Coding, syntax & commands
>Hi Alain,
>
>>I know that the default printer and tray selection is stored in the FRX. How do I direct the system to print the report using a different printer tray without bringing up Print Setup?
>
>
>You could make a copy of the FRX file and then run the report three times, between every pass you change the EXPR field to the next tray.
>
>Christof
Hi,
This is what I do :
I create a second printer in Windows, named e.g. "HP Laserjet (Tray 2)", for which I choose paper tray 2 in the document defaults.
I create 1 report, and delete the printer info in the first record (fields tag1 and tag2, and some lines in expr (I think)).
Then I do :
SET PRINTER TO NAME "HP Laserjet"
REPORT FORM qsldfsq TO PRINTER
SET PRINTER TO NAME "HP Laserjet (Tray 2)"
REPORT FORM qsldfsq TO PRINTER
SET PRINTER TO
Hope this helps
Marc Van Riet
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only