Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send an txt file to printer.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00273413
Message ID:
00278443
Vues:
13
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform