Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32print
>
DeleteForm
win32print
.DeleteForm
DeleteForm(
hprinter
, FormName
)
Deletes a form defined for a printer
Parameters
hprinter
:
PyPrinterHANDLE
Printer handle as returned by
win32print::OpenPrinter
FormName
:
PyUnicode
Name of form to be deleted
Return Value
Returns None on success, throws an exception otherwise