win32print.ClosePrinter

ClosePrinter(hPrinter)

Closes a handle to a printer.

Parameters

hPrinter : PyPrinterHANDLE

handle to printer object