Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getprinter
Message
From
04/07/2003 09:56:27
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
04/07/2003 09:53:17
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00806949
Message ID:
00806950
Views:
19
>when i use the function getprinter() and choose a network printer the report goes to the default printer and not to the printer i chose.

GetPrinter() will not set the default printer, it will only return the selected printer. You will have to save it to a variable, and follow it by the command SET PRINTER. I think it is the SET PRINTER NAME variation that works best in this case.
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
Next
Reply
Map
View

Click here to load this message in the networking platform