Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Default Printer
Message
From
27/05/2002 21:44:48
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00661824
Message ID:
00661827
Views:
15
>Hi, how can I set the Default Windows Printer (SET("Printer", 2) from within VFP?
>
>Regards,

To let the user select a printer: GETPRINTER(). Save the result to a variable. See also: APRINTERS() (loads an array with printer names).

To select this printer: SET PRINTER TO NAME (variable).

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
Next
Reply
Map
View

Click here to load this message in the networking platform