win32print.DeletePrinterConnection

None = DeletePrinterConnection(printer)

Removes connection to remote printer

Parameters

printer : string

printer to disconnect from (eg: \\server\\printer).