win32print.DeletePrinterDriver

DeletePrinterDriver(Server, Environment, DriverName)

Removes the specified printer driver from a server

Parameters

Server : string/PyUnicode

Name of print server, use None for local machine

Environment : string/PyUnicode

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

DriverName : string/PyUnicode

Name of driver to remove

Comments

Does not delete associated driver files - use win32print::DeletePrinterDriverEx if this is required