>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.)