Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the current printer and tray using API function
Message
From
09/12/1998 12:00:09
 
 
To
09/12/1998 10:37:34
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00165568
Message ID:
00165621
Views:
12
>Can someone point me to a resource where I could obtain info on changing the current printer and tray using API functions. The function would take into account that any other program running concurrently with the VFP app would be able to use the default settings of the printer driver.

I don't know of anything on doing this in VFP; I'd look at Dan Appleman's Visual Basic Programmer's Guide to the Win32 API from Ziff-Davis Press; Chapter 12 deals with the print related APIs in some detail, and with a bit of tinkering, adapting the VB code to VFP isn't that tough to do.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform