Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I would like to send a report to a different printer by
Message
From
20/02/2000 18:53:15
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00334646
Message ID:
00334654
Views:
18
>has anyone had luck using the command
>set printer to name "laserjet 4"
>then
>report form myreport to print
>
>and get the report ot print to the laserjet4 ?
>
>i keep getting the report to print to the printer set up when the report was designed.
>
>i can redirect the report by using
>report form myreport to print prompt
>
>when the prompt comes up I can go to a different printer, but i would like to do it with code.
>
>Thanks
>don C

You need to clear out the info about the printer the report was originally done for. Open the report like a table (USE myreport.frx) and blank the EXPR, TAG, TAG2 memo fields for the first record. You will need to do this any time you do MODIFY REPORT on this report form. It should now go to the currently selected printer.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform