General information
Category:
Coding, syntax & commands
Title:
Setting windows printer programatically
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only