Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32print
>
AddForm
win32print
.AddForm
AddForm(
hprinter
, Form
)
Adds a form for a printer
Parameters
hprinter
:
PyPrinterHANDLE
Printer handle as returned by
win32print::OpenPrinter
Form
: dict
FORM_INFO_1
dictionary
Return Value
Returns None on success, throws an exception otherwise