Purpose |
Retrieve a list of supported paper types. |
Syntax |
XPRINT GET PAPERS TO papers$ |
Remarks |
XPRINT GET PAPERS retrieves a
The string contains a comma-delimited list of papertype, papername... repeated as many times as necessary. For example: "1,Letter,5,Legal,7,Executive,20,Envelope #10" You can use PARSECOUNT to determine the number of delimited fields in the string, and PARSE$() to easily extract the type numbers and names. The following equates are predefined in the compiler, and represent the most common paper styles: %DMPAPER_LETTER =
1 Letter
8.5
x
11 inches Other paper style codes may be defined by Windows or printer suppliers. If executed without a host printer attached, error 57 is generated. |
See also |