Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting windows printer programatically
Message
From
24/08/1999 03:33:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Setting windows printer programatically
Miscellaneous
Thread ID:
00256943
Message ID:
00256943
Views:
56
I haven been trying to store the windows printer name in a variable or property with Var = SET(Printer,3). When I try to restore the setting by issuing SET PRINTER TO NAME Var OR SET PRINTER TO NAME &Var, I get an error accessing the spooler. I can type the actual names in the command window and never have a problem. This only occurs when I try to use a variable. Is there a trick to this? Thanks.
Next
Reply
Map
View

Click here to load this message in the networking platform