The AddPrinterConnection method provides a connection to an existing printer on the network and adds it to the list of available ...

The AddPrinterConnection method provides a connection to an existing printer on the network and adds it to the list of available printers on the computer system. If successful, applications will be able to use this printer for print jobs.  If unsuccessful the printer is not installed. The method can return the following values:
0 - Success.
5 - Access denied.
1801 - Invalid printer name.
1930 - Incompatible printer driver.
Other - For integer values other than those listed above, refer to the documentation on the Win32 error codes.
English
English (United States)
日本語
Japanese