Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to print report twice from different printer trays?
Message
From
06/10/1998 12:09:59
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00138921
Message ID:
00144247
Views:
14
>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
Map
View

Click here to load this message in the networking platform