Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows printing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00185302
Message ID:
00185338
Vues:
17
>Hi,
> This message is not really specific to FoxPro, rather to windows printing in general. I am designing an application which will print a report form both to a local printer (LPT1) and to a network printer. I'm setting up the network print capture using NetLib's N_CAPSET() and N_CAPGET() functions. My question is this: what happens if there is no driver loaded for the networked printer? Say for instance that the user's local printer is an HP, but the network printer is an Epson. Will windows95 be smart enough to install the driver if needed? Or, will I be forced to use the WIN32API called to AddPrinterDriver? If that is the case, how can I tell which print driver to install?
>

You're going to need to ask the people who provide NetLib exactly what they're doing; if they use something like the API call AddPrinterConnection(), then Windows will force you to load the appropriate drivers if they aren't available from the server (a printer installed and shared from an NT Server or Win9x box has a set of printer drivers that the connecting machine may be able to use; if it doesn't have drivers of its own available for your platform, you'll be prompted to select and install drivers at your local system, in which case, you'd better know exactly what type of printer is at the other end of the wire. If it's shared from a NetWare server, you need to install the drivers locally in any case.)
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