Stores information about the forms supported by the specified printer into an array.

APrinterForms(cArrayName [, cPrinter])

Parameters

cArrayName
On return the array contains the following information from the FORM_INFO_1 structure.
ColumnContentDatatype
1The form properties. For a list of possible values have a look here FORM_INFO_1.N
2The name of the form.C
3The width of the form in thousandths of millimeters.N
4The height of the form in thousandths of millimeters.N
5The bottom position of the printable area of the form, in thousandths of millimeters.N
6The top position of the printable area of the form, in thousandths of millimeters.N
7The left position of the printable area of the form, in thousandths of millimeters.N
8The right position of the printable area of the form, in thousandths of millimeters.N
cPrinter

Name of the printer for which to enumerate the forms.

Return Value

The number of printer forms.

See Also

Reference

APaperSizes
APrintersEx
APrinterTrays
APrintJobs

Used WinApi functions

EnumForms
OpenPrinter
ClosePrinter