Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding name of active printer in VFP5.0
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Finding name of active printer in VFP5.0
Miscellaneous
Thread ID:
00259088
Message ID:
00259088
Views:
53
Set("Printer",2) gives me the name of the installed standard printer in Windows. What I am looking for in VFP 5.0 is a way to find the name of the active printer. I want to show the user the name of the active printer in my standard 'print out'-dialog. In VB it can be done like this:

Dim PrinterNAme as String
PrinterName = Application.ActivePrinter

Petter Andersen
Next
Reply
Map
View

Click here to load this message in the networking platform