Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send an txt file to printer.
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00273413
Message ID:
00278443
Views:
14
>What if my printer is not LPT1 and its a network printer, what would be the best way to send a file to the default printer?

If you check the FAQ, I've posted an entry on using the Win32 API to copy a file to thew printer, bypassing the printer driver entirely, using the CopyFile() API call. This can copy to a port, a virtual device like PRN:, a UNC (like a network printer) or to another file.
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