Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error accessing printer spooler
Message
From
06/03/2005 13:26:12
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00993078
Message ID:
00993116
Views:
35
Yes we can set only printer Using
set printer to name getprinter()
But how to set paper (A5,A5...etc)




>I'm surprised that you expect it to work because SYS(1037) doesn't return a printer name. The GETPRINTER() function does.
lcPrinter = GETPRINTER()
>IF NOT EMPTY(lcPrinter)
>	SET PRINTER TO NAME (lcPrinter)
>ENDIF	
>
>
>>when i set printer using
>>
>>
>>SET PRINTER TO NAME SYS(1037)
>>
>>
>>It displays Message : Error accessing printer spooler.
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform