Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prompting user to select printer
Message
From
29/03/2003 16:18:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
29/03/2003 11:04:06
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00771717
Message ID:
00771760
Views:
8
>Hi All,
>
>
>Here is my code to print three reports
>
>REPORT FORM "E:\Reports\Report1.FRX" TO PRINTER PROMPT
>REPORT FORM "E:\Reports\Report2.FRX" TO PRINTER PROMPT
>REPORT FORM "E:\Reports\Report3.FRX" TO PRINTER PROMPT
>
>But, I don't want to prompt the user to select the printer option three times. How could I only prompt it once and print the rest of the reports to that printer? TIA

I think it goes something like this: You can get a printer name with GETPRINTER(), and select that printer later with SET PRINTER...

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform