PyPrinterHANDLE = AddPrinter(Name, Level
, pPrinter
)
Installs a printer on a server
Parameters
Name : string
Name of server on which to install printer, None indicates local machineLevel : int
Level of data contained in pPrinter, only level 2 currently supportedpPrinter : dict
PRINTER_INFO_2 dict as returned by win32print::GetPrinterComments
pPrinterName, pPortName, pDriverName, and pPrintProcessor are required
Return Value
Returns a handle to the new printer