win32print.GetForm

GetForm(hprinter, FormName)

Retrieves information about a form defined for a printer

Parameters

hprinter : PyPrinterHANDLE

Printer handle as returned by win32print::OpenPrinter

FormName : PyUnicode

Name of form for which to retrieve info

Return Value

Returns a FORM_INFO_1 dict