Purpose |
Retrieve a list of supported paper trays. |
Syntax |
XPRINT GET TRAYS TO trays$ |
Remarks |
XPRINT GET TRAYS retrieves a
The string contains a comma-delimited list of traytype, trayname... repeated as many times as necessary. For example: "1,Upper,2,Lower,5,Envelope" You can use PARSECOUNT to determine the number of delimited fields in the string, and PARSE$() to easily extract the tray numbers and names. The following equates are predefined in the compiler, and represent the most common trays: %DMBIN_UPPER =
1 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 |