Troubleshooting
Problem
This document provides information on forcing spooled files to print with "Auto Select" for the drawer selection when using Host Print Transform (HPT) to print to a PCL-capable laser or ink jet printer.
Resolving The Problem
This document provides information on forcing spooled files to print with "Auto Select" for the drawer selection when using Host Print Transform (HPT) to print to a PCL-capable laser or ink jet printer. This is done by retrieving and modifying a Workstation Customization Table (WSCST) and changing the Customizing Paper Drawer Selection (DWRSLT) tags for DRAWER1 and DRAWER2, as well as the Additional Drawer Table Entry (ADDDRWTBLE) tags, to send a particular value for the HP PCL Paper Source command.
For more information, refer to the following documents:
N1019453: Drawer Selection Considerations
N1010133: Drawer Redirection for HP PCL5 Compatible Printers
N1019423: Controlling and Troubleshooting Drawer Selection in a WSCST
N1014523: List of Common HP PCL5 Commands used by Host Print Transform (HPT)
This document was last updated on 24 December 2013.
Caution: These instructions are provided as is. Any assistance with editing the Workstation Customization Table must be done through a consulting agreement. |
-
Pre-Built Workstation Customizing Object (WSCST) for Forcing Auto Select for Drawer Selection
Rochester Support Center knowledgebase document New contains a save file with pre-built Workstation Customizing Objects (WSCSTs) for some of the most requested and most helpful customizations. The attached save file includes a pre-built WSCST object called PCL5AUTOSL that sends a PCL5 Paper Source command for auto-select ('1B266C3748'X or Esc&l7H) on most newer PCL-capable printers, and the PCL5AUTOS2 WSCST sends no PCL5 Paper Source commands at all. The result should typically be that the printer selects the default paper tray.
For more information, refer to the following document:
N1019007: Pre-Built Workstation Customizing Objects (WSCSTs) from IBM iSeries Remote Technical Support
Method 1 - Modified *WSCST Source Code to send an HP PCL Paper Source Command to Use "Auto Select"
Edit the Workstation customizing object (WSCST) source member, and find the Customizing Paper Drawer Selection (DWRSLT) and Additional Drawer Table Entry (ADDDRWTBLE) tags in the table. For example, you can type DWRSLT and ADDDRWTBLE on the SEU command line and press the F16 key). The DWRSLT tags tell HPT the HP PCL5e commands to send to the printer to select the manual feeder (PAPER) or envelope feeder (ENVELOPE), or when the Source Drawer (DRAWER) parameter in the spooled file attributes is set to 1 (DRAWER1) or 2 (DRAWER2). The ADDDRWTBLE tags tell HPT the HP PCL5e commands to send to the printer when the Source Drawer (DRAWER) parameter in the spooled file attributes is set to a 3 or higher.
The following table shows the original settings DWRSLT and ADDDRWTBLE tags from the WSCST source code for a Manufacturer type and model (MFRTYPMDL) setting of *LEXOPTRAT, and the values to use to send an HP PCL5e Paper Source command for Automatic drawer selection ('1B266C3748'X).
Original DWRSLT and ADDDRWTBLE Tags for *LEXOPTRAT | DWRSLT and ADDDRWTBLE Tags for Auto-Select |
:DWRSLT DRAWER=PAPER DATA ='1B266C3248'X. :DWRSLT DRAWER=ENVELOPE DATA ='1B266C3668314F'X. :DWRSLT DRAWER=DRAWER1 DATA ='1B266C3148'X. :DWRSLT DRAWER=DRAWER2 DATA ='1B266C3448'X. | :DWRSLT DRAWER=PAPER DATA ='1B266C3248'X. :DWRSLT DRAWER=ENVELOPE DATA ='1B266C3668314F'X. :DWRSLT DRAWER=DRAWER1 DATA ='1B266C3748'X. :DWRSLT DRAWER=DRAWER2 DATA ='1B266C3748'X. |
:ADDDRWTBL. :ADDDRWTBLE NUMBER= 3 DATA ='1B266C3548'X. :ADDDRWTBLE NUMBER= 4 DATA ='1B266C323048'X. :ADDDRWTBLE NUMBER= 5 DATA ='1B266C323148'X. :EADDDRWTBL. | :ADDDRWTBL. :ADDDRWTBLE NUMBER= 3 DATA ='1B266C3748'X. :ADDDRWTBLE NUMBER= 4 DATA ='1B266C3748'X. :ADDDRWTBLE NUMBER= 5 DATA ='1B266C3748'X. :EADDDRWTBL. |
To create the WSCST object and implement it, perform Steps 3 and 4 (above).
Method 2 - Modified *WSCST Source Code to not send any HP PCL Paper Source Commands
Edit the Workstation customizing object (WSCST) source member, and find the Customizing Paper Drawer Selection (DWRSLT) and Additional Drawer Table Entry (ADDDRWTBLE) tags in the table. For example, you can type DWRSLT and ADDDRWTBLE on the SEU command line and press the F16 key). The DWRSLT tags tell HPT the HP PCL5e commands to send to the printer to select the manual feeder (PAPER) or envelope feeder (ENVELOPE), or when the Source Drawer (DRAWER) parameter in the spooled file attributes is set to 1 (DRAWER1) or 2 (DRAWER2). The ADDDRWTBLE tags tell HPT the HP PCL5e commands to send to the printer when the Source Drawer (DRAWER) parameter in the spooled file attributes is set to a 3 or higher.
The following table shows the original settings DWRSLT and ADDDRWTBLE tags from the WSCST source code for a Manufacturer type and model (MFRTYPMDL) setting of *LEXOPTRAT, and the values to use to not send any HP PCL5e Paper Source command, which should result in the printer hardware using its own default paper source.
Original DWRSLT and ADDDRWTBLE Tags for *LEXOPTRAT | DWRSLT and ADDDRWTBLE Tags for Auto-Select |
:DWRSLT DRAWER=PAPER DATA ='1B266C3248'X. :DWRSLT DRAWER=ENVELOPE DATA ='1B266C3668314F'X. :DWRSLT DRAWER=DRAWER1 DATA ='1B266C3148'X. :DWRSLT DRAWER=DRAWER2 DATA ='1B266C3448'X. | :DWRSLT DRAWER=PAPER DATA ='1B266C3248'X. :DWRSLT DRAWER=ENVELOPE DATA ='1B266C3668314F'X. :DWRSLT DRAWER=DRAWER1 DATA =''X. :DWRSLT DRAWER=DRAWER2 DATA =''X. |
:ADDDRWTBL. :ADDDRWTBLE NUMBER= 3 DATA ='1B266C3548'X. :ADDDRWTBLE NUMBER= 4 DATA ='1B266C323048'X. :ADDDRWTBLE NUMBER= 5 DATA ='1B266C323148'X. :EADDDRWTBL. | :ADDDRWTBL. :ADDDRWTBLE NUMBER= 3 DATA =''X. :ADDDRWTBLE NUMBER= 4 DATA =''X. :ADDDRWTBLE NUMBER= 5 DATA =''X. :EADDDRWTBL. |
Historical Number
603484665
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1011472