Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET PRINTER TO somePrinter v. SET PRINTER TO NAME somPri
Message
From
07/09/2020 06:45:04
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01676004
Message ID:
01676007
Views:
91
>Good day all. Hope everyone is well and staying safe.
>
>I must have rabies or something as I cannot definitely find an explanation of what the NAME clause in the SET PRINTER TO command is actually doing. It does, however, seem to result in Error 1957s (Error Accessing Printer Spooler), which I'm not getting if I drop the NAME clause. Obviously a simple enough solution but I'd like to fully understand the difference between:
>
>SET PRINTER TO NAME \\someServer\somePrinter
>
>and
>
>SET PRINTER TO \\someServer\somePrinter
>

SET PRINTER TO NAME expects the Windows printer name, not the UNC path.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform