Method XbpPrinter():setFormSize() Foundation
Retrieves or sets the size of the output media.
Syntax
:setFormSize( [<nFormID>] ) --> nFormIDOld | NIL
Parameters
<nFormID>
A #define constant from XBPDEV.CH must be used for <nMode>. Valid constants have the prefix XBPPRN_FORMSIZE_. Alternatively, a value obtained via the :forms() method can be used.
Return
The method returns the previous setting or NIL, if the printer does not support this option.
Description
The method is used to instruct the printer what paper format is being used. Common formats are Letter, Legal or A4, A3, for example. They are selected by their numeric ID which is available as a #define constant.
Feedback
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.