win32print.EnumPrinterDrivers

(dict,...) = EnumPrinterDrivers(Server, Environment , Level )

Lists installed printer drivers

Parameters

Server=None : string/unicode

Name of print server, use None for local machine

Environment=None : string/unicode

Environment - eg 'Windows NT x86' - use None for current client environment

Level=1 : int

Level of information to return, 1-6 (not all levels are supported on all platforms)

Comments

On Win2k and up, 'all' can be passed for environment

Return Value

Returns a sequence of dictionaries representing DRIVER_INFO_* structures