Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there any common printer driver which works all print
Message
De
29/05/1999 04:10:45
 
 
À
29/05/1999 03:45:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00224285
Message ID:
00224288
Vues:
20
>Is there any common printer driver which works
>all printers so that it can be installed on every
>computer the application is installed.

The Generic/Text Only Windows driver will work across everything, but obviously won't permit any formatting - it'll use whatever the default printer font and print mode is. You would not be able to change fonts/font sizes, print graphical items, etc. It'll just output ASCII text.

Unless you want just ASCII text as output, with no ability to change the print mode, this won't help a great deal. And you still have to install the printer driver on each station, for each printer port that might be selected for output - you might as well use REPORT...TO FILE Filename ASCII, and then send the resulting text file to the printer port. I've posted code that will copy a file unambiguously to a specified printer port or UNC-based printer name using the Win32 API in the UT FAQ (the purple book) under the Win32 and Other APIs section previously.

In order to do any printer formatting, you'd have to add them to the print stream; in order to do that, you need to know what printer is in use, and that still won't let you print any graphical item or use any non-native font easily.
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