Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GETPRINTER() problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01484120
Message ID:
01486215
Views:
57
>Have you tried the getprinter() function. Here is a code snippet
>
>cp = getprinter()
>IF !EMPTY(cp)
>	thisform.cprinter = cp
>	cset6 = cp
>ELSE	&& set to the default printer
>	thisform.cprinter = SET("Printer",2)
>ENDIF
>SET PRINTER TO NAME (thisform.cprinter)
>
Hi Ron

getprinter() returns the printer is not ready. I don't get the option of picking one.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform