Troubleshooting
Problem
This document provides instructions for changing how Host Print Transform (HPT) does its paper source or drawer selection when printing on Xerox Document Centre printers.
Resolving The Problem
This document provides instructions for changing how Host Print Transform (HPT) does its paper source or drawer selection when printing on Xerox Document Centre printers.
This is done by retrieving and modifying a Workstation Customization Table (WSCST) and changing the Customizing Paper Drawer Selection (DWRSLT) and Additional Drawer Table Entry (ADDDRWTBLE) tags.
This document was last updated on 24 October 2013.
Caution: These instructions are provided as is. Any assistance with editing the Workstation Customization Table must be done through a consulting agreement. |
Basic Steps for Creating and Using a Workstation Customization Object
The following are the basic steps for creating and using a Workstation Customization Object (WSCST). Regardless of the particular issues you are attempting to resolve, these steps must always be taken. This information is intended to provide a 'quick start' to creating a WSCST object for users who have at least some familiarity with creating them and with configuring printers.
Note: Additional, in-depth details for creating a WSCST object can be found in the following document:
N1010140: Instructions for Modifying a Workstation Customizing Object (WSCST)
The following are the basic 'quick start' steps.
Step 1: Retrieve the WSCST source code. Type the following command on the operating system command line:
Important Note: Use the Manufacturer type and model (MFRTYPMDL) that is appropriate for your printer. Also, the Source member (in the following example, HP4) is a name that is appropriate to your customizing object. This is what you will be calling your workstation customizing object in Step 3. |
RTVWSCST DEVTYPE(*TRANSFORM) MFRTYPMDL(*HP4) SRCMBR(HP4) SRCFILE(QGPL/QTXTSRC)
Press the Enter key.
Step 2: Edit the source code by using PDM or SEU:
o | To use PDM, on the operating system command line type the following: WRKMBRPDM FILE(QGPL/QTXTSRC) MBR(HP4) Press the Enter key. Select Option 2 to edit. |
o | To use SEU, on the operating system command line type the following: STRSEU SRCFILE(QGPL/QTXTSRC) SRCMBR(HP4) Press the Enter key. |
Step 3: Create the WSCST object using the CRTWSCST command. On the operating system command line, type the following:
Important Note: Match the SRCMBR name from Step 1 to the WSCST object name that is created in this step. |
CRTWSCST WSCST(QGPL/HP4) SRCFILE(QGPL/QTXTSRC)
Press the Enter key.
Step 4: Add the WSCST to the printer configuration by using the Change Device Print command (CHGDEVPRT), the Change Output Queue command (CHGOUTQ), or by changing the PC5250 printer emulation session configuration.
o | To add the WSCST to a device description, on the operating system command line type the following: CHGDEVPRT DEVD(device_name) TRANSFORM(*YES) MFRTYPMDL(*WSCSTLETTER) WSCST(QGPL/HP4) Press the Enter key. |
o | To add the WSCST to a remote output queue description, on the operating system command line type the following: CHGOUTQ OUTQ(queue_name) TRANSFORM(*YES) MFRTYPMDL(*WSCSTLETTER) WSCST(HP4) Press the Enter key. |
o | To add the WSCST to a PC5250 printer emulation session, do the following: a In the PC5250 printer session, click on Communication > Configure. b Click on the Setup button. c In the Configure PC5250 Printer Emulation window, select the box next to Transform Print Data to ASCII on the iSeries and select the Printer Model value of *WSCST. d In the same window, specify the name of the WSCST in the Customizing Object parameter and the library where it is found in the Library parameter (for example, Customizing Object HP4 and Library QGPL). e Click OK three times. f Click File > Save to save the configuration. |
Note: If any changes are made to the WSCST object source code after the CRTWSCST command has been issued, it is necessary to issue the CRTWSCST command again. The printer writer must be ended and restarted for the changes to take effect.
AS400 Workstation Customization Object Library for Xerox Products
Xerox has a set of "IBM AS400 drivers" for several of their printer devices that consist of a zip file containing a save file and documentation. The save file can be uploaded to an IBM i system and then used to restore their XTOOLSxxxx library. The 'xxxx' represents the release number of the library that has been downloaded, for example the XTOOLS0714 library would be for version 7.14.
The XTOOLSxxxx library contains Xerox-supplied Workstation Customizing Objects (WSCSTs) for several Xerox printer devices, as well as Xerox-supplied programs and commands that can be used to create Remote Output Queues (RMTOUTQs) or *LAN 3812 printer device descriptions that use the IBM PJL print driver, the IBM SNMP print driver, or the Xerox SNMP print driver, XSNMPDRV.
According to the documentation provided with the XTOOLSxxxx library, the Xerox SNMP print driver is "modeled after the IBM SNMP print driver but has some enhanced features."
The MFRTYPMDL for HPT column typically lists settings for the Manufacturer Type and Model (MFRTYPMDL) parameter or system-supplied WSCST objects that are suggested when using Host Print Transform (HPT). In some cases, this will also list a Xerox-supplied WSCST object in the XTOOLSxxxx library. An example of this is the entry for the Xerox WorkCentre 5325/5330/5335 Copier/Printers which lists XRXWC53XX, *RICOHAP3200 and *HP5SI.
For more information, contact Xerox or access the product page for your Xerox printer, select Drivers & Downloads, then see if there is an entry for "IBM AS/400" at the bottom of the Operating System drop-down list.
Note: IBM does not test, nor does it support, third-party hardware, software, programs, commands or WSCST objects. Any questions or problems concerning the XTOOLSxxxx library should be directed to Xerox Customer Technical Support.
Changing Default Drawer Selections
Check the HPx user's guide section for the correct controls for the drawers available.
Search on DRAWER. It will lead you to a tag called:
:DWRSLT
DRAWER=DRAWER1
DATA = '1B266C3148'X. /* upper paper cassette */
This is where you want to change the DATA value. Change it to:
DATA = '1B266C3448'X. /* was drawer2 value */
:DWRSLT
DRAWER=DRAWER2
DATA = '1B266C3448'X.
This is where you want to change the DATA value. Change it to:
DATA = '1B266C3148'X. /* top paper cassette tray */
Set up Envelope Feeder
Search on envelope. It will lead you to a tag called:
:DWRSLT
DRAWER=ENVELOPE
DATA = '1B266C3368314F'X.
This is where you want to change the DATA value. Change it to:
DATA = '1B266C3668314F'X.
This will allow access to the envelope feeder bin.
New Method for Accessing Drawer 3 and Above
Support for the ADDDRWTBL (Additional Drawer Table) tag is available in more recent versions of the operating system. The old method of modifying the DWRNBR (Drawer Number) tag can still be used to access drawer 3, but that tag is more difficult to setup when printing to drawers higher than 3. Therefore, modifying the ADDDRWTBL tag is recommended for handling drawers 3 and above. However, the old method is described below, if needed.
If additional drawers are needed, then another tag can be used for access. The tag is :ADDDRWTBL. An example for usage on a HP8000 with 5 drawers is as follows. Getting drawer 5 to work has been a problem. Because the HP8000 will default to that drawer unless changed in its configuration, just leaving off the NUMBER = 5 from the list should get the printout to the correct drawer.
:ADDDRWTBL.
:ADDDRWTBLE
NUMBER= 3
DATA ='1B266C3548'X.
:ADDDRWTBLE
NUMBER= 4
DATA ='1B266C323048'X.
:ADDDRWTBLE
NUMBER= 5
DATA ='1B266C3848'X.
:EADDDRWTBL.
Note: The source code for some of the newer system-supplied workstation customizing objects (WSCSTs) already contain the ADDDRWTBL tag, so search the source member before adding this tag.
Old Method for Accessing Drawer 3
The DWRNBR (Drawer Number) tag is used to access drawers beyond the first two drawers. If the printer has only three drawers, then you can hardcode to drawer three. If additional drawers, use the Open end option instead.
o Specific drawer 3 Option:
:DWRNBR /* Drawer 3 definition for Optra */
VAROFFSET = 0
VARLEN = 0
VARTYPE = CHRDEC
DATA = '1B266C3448'X.
o Open DWRNBR tag Option:
FOR OPEN ENDED SOURCE DRAWERS
:DWRNBR
VAROFFSET = 3
VARLEN = 2
VARTYPE = CHRDEC
DATA = '1B266C000048'X.
Paper Source Controls for Xerox Document Centre Printers
Note: Most PCL5 controls are standard for a wide range of HP LaserJet and compatible printers, including printers from HP, IBM®, Lexmark, Xerox and other manufacturers. However, the PCL5 Paper Source controls are an exception. The structure of the PCL5 Paper Source controls are the same for all HP PCL compatible printers, but the value used to select a particular paper tray can differ between manufacturers and even between models of printers from the same manufacturer. Therefore, if the value suggested for a particular paper tray does not work for a given printer, then contact the printer manufacturer to find out the values needed for that particular printer model.
The following is a list of PCL5 Paper Source controls for Xerox Document Centre 220, 230, 332, 340, 420, 432, and 440 printers:
Paper Source | Command (ASCII Text) | Command (Hexadecimal Value) |
Tray 1 | Ec&l1H | 1B266C3148 |
Tray 2 | Ec&l2H | 1B266C3248 |
Tray 3 | Ec&l3H | 1B266C3348 |
Tray 4 | Ec&l4H | 1B266C3448 |
Bypass | Ec&l6H | 1B266C3648 |
Hi-Cap | Ec&l5H | 1B266C3548 |
The following is a list of PCL5 Paper Source controls for Xerox Document Centre 240, 255, 265, 460, 470, and 480 printers:
Paper Source | Command (ASCII Text) | Command (Hexadecimal Value) |
Tray 1 | Ec&l1H | 1B266C3148 |
Tray 2 | Ec&l4H | 1B266C3448 |
Tray 3 | Ec&l23H | 1B266C323348 |
Tray 4 | Ec&l24H | 1B266C323448 |
Bypass | Ec&l2H | 1B266C3248 |
Hi-Cap | Ec&l5H | 1B266C3548 |
Note: This information was acquired from Xerox. If you are working with a Xerox printer that is not listed above, or if these settings do not work correctly, contact Xerox Customer Technical Support at 1-800-821-2797 (United States only).
For information on the paper source controls for HP LaserJet printers, as well as IBM Network Printer and IBM® Infoprint® Printers, refer to the following document:
N1010133: Drawer Redirection for HP PCL5 Compatible Printers
To create the WSCST object and implement it, perform Steps 3 and 4 (above).
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]
Historical Number
27073754
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1019382