Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why SET PRINTER TO PROMPT works one time?
Message
From
22/01/2007 12:09:29
 
 
To
22/01/2007 12:01:11
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01187695
Message ID:
01187738
Views:
21
This message has been marked as the solution to the initial question of the thread.
>The following command seems to work for me. Thanks!
>SET PRINTER TO NAME GETPRINTER()

Even better
_screen.addproperty('cPrinter',set('printer',3)) && This line is your form's load
_screen.cPrinter=getprinter() && This line is somewhere else in you rapplication, for instance in a menu
Set printer to name (_screen.cPrinter)
Previous
Reply
Map
View

Click here to load this message in the networking platform