win32print.GetPrinter
dict = GetPrinter(hPrinter, Level )
Retrieves information about a printer
Parameters
Comments
Original implementation used level 2 only and returned a tuple Pass single arg as indicator to use old behaviour for backward compatibility
Return Value
Returns a dictionary containing PRINTER_INFO_* data for level, or returns a tuple of PRINTER_INFO_2 data if no level is passed in.