AddPrinterConnection fails: 1797: Unknown printer driver 
Author Message
 AddPrinterConnection fails: 1797: Unknown printer driver

ServerA: NT4.0 SP6 Backup Domain Controller
ServerB: NT4.0 SP6 Backup Domain Controller

A VB ActiveX EXE server on ServerA issues the
AddPrinterConnection API specifying \\ServerB\Printer1.

This printer does in fact exist on ServerB and the NT
driver does exist.

The purpose of this call is to get the driver installed on

The function fails with a 1797 Error code: Unknown printer

Does anyone know what is causing this problem, or have any
suggestions/examples of how to copy printer drivers from
one server to another programmatically?

Tue, 10 Aug 2004 07:06:06 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Generic/Text printer driver in VB.NET fails

2. [ODBC Driver Manager] Driver's SQLSetConnectAttr failed

3. Help, How to send printer command to printer bypassing printer driver in vb

4. Printers & printer drivers

5. Printer object / Fax Printer Driver

6. Printer object / Fax Printer Driver

7. Changing the printer capture and setting printer driver

8. How to change the printer driver for a defined printer in VB code

9. Returned Mail: Host unknown or User unknown...

10. Extracting data from unknown locations in unique files of unknown size

11. ODBC Microsoft Access 97 driver login failed

12. A97-SLQ6.5 ODBC calls failing or terribly slow - newer drivers are worse


Powered by phpBB® Forum Software