Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling Printers on NT
Message
From
11/09/1999 19:18:23
 
 
To
11/09/1999 17:27:44
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00263712
Message ID:
00263725
Views:
19
>We have a requirement for our VFP6 app to print two separate reports (one to a laser and one to a dot matrix) from a single request(push the 'Print' button on the customer order form). All of the workstations are running NT and the network file server is also NT. These reports are printed from several locations so the printer mapping may be different for each work station.
>
>Currently we are calling the printer dialog twice (once for each report) and requiring the user to select the correct printer. We need a way to do this programmatically.
>
>We have thought about having printer setups stored on user records but we need help figuring out how to call the printer API.
>

No need - VFP allows you to specify a UNC for a printer name with SET PRINTER TO

>Thanks,
>
>Ken
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