![]() |
||||||||
![]() |
||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
||||
![]() |
||||||||
Products | Support | Download | Contact | |||||
![]() |
Contents | Index | About the Icons
Paper tray selection can be set up in both ScriptServer® products to pull paper from a specific tray for the print file as well as separate trays for the flag and trailer pages. To control the trays, you need to know the number corresponding to each tray. The following table contains the tray numbering information:
Printer and Language | MP Tray | Upper Tray | Lower Tray |
QMS PS 2425 | |||
PostScript | 0 or 1 | 2 | 3 |
PCL | 2 or 3 | 1 | 4 |
HPLJ 5siMX | |||
PostScript | 3 | 0 | 1 or 2 |
PCL | 2 or 3 | 0 or 1 | 4 |
Some printers may also allow you to select trays based on media
types if those are properly defined.
The corresponding PostScript or PCL fragments should be defined as resources. See also:
We can use logicals to control the print job paper source and the flag and trailer pages paper source. The logicals are used in the examples below, and further information can be obtained from Chapters 7 and 25 of the ScriptServer Printing System User Guide, V5.0, January 1996 or later. Please note that the flag/trailer page logicals used in the examples are specific to either PostScript or PCL files:
PostScript | SSV$queue_FLAG_TRAY_COMMAND |
PCL | SSV$queue_PCL_FLAG_COMMAND |
To print a PostScript file (or a text file translated into Postscript) on the paper in the upper tray and select the flag and trailer pages from the lower tray, define the following logicals (assuming the printers are on LAT ports):
$ DEFINE/SYSTEM SSV$LTA9997_TRAY_LETTERTRAY "0 setpapertray"
$ DEFINE/SYSTEM SSV$HPQUEUE_FLAG_TRAY_COMMAND "1 setpapertray"
$ DEFINE/SYSTEM SSV$LTA9998_TRAY_LETTERTRAY "2 setpapertray"
$ DEFINE/SYSTEM SSV$QMSQUEUE_FLAG_TRAY_COMMAND "3 setpapertray"
To print a PCL file using the printer's default paper tray and select the flag and trailer pages that are legal size from the multipurpose tray, define the following logical:
$ DEFINE/SYSTEM SSV$PCLQUEUE_PCL_FLAG_COMMAND "<ESC>&l2H<ESC>&l3A"
Note: ScriptServer logicals can be placed in the configuration file SCRIPTSERVER:SSV$CONFIG.SSV instead of defining them in the SYSTEM table.
© 2020 GrayMatter Software Corporation | ![]() |
Privacy policy | ![]() |
Terms of use |