Skip to main content

IBM Software Technical Document

_______________________________________________________________
Hide details for       Document Information Document Information

Document Number:8695250
Functional Area: Print
Subfunctional Area: Host Print Transform (HPT)
Sub-Subfunctional Area: Workstation Customizing Objects (WSCSTs)
OS/400 Release:V5R2M0; V5R3M0; V5R4M0; V6R1M0
Product: I5/OS (5761SS100)
OS/400 BASE (5722SS100)
OS/400 PRINT/SPOOL (5722SS1SP)
Product Release:N/A


_______________________________________________________________

Document Title
Drawer Redirection for HP PCL5 Compatible Printers

Document Description
This document provides instructions for changing how Host Print Transform (HPT) does its paper source or drawer selection when printing on HP PCL5 compatible 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. There is also information about changing the Drawer Number (DWRNBR) tags for older versions of the operating system.

This document was last updated on 08/27/2009.

Caution: These instructions are provided as is. Any assistance with editing the Workstation Customization Table must be done through a consulting agreement.


Before Creating a Modified WSCST Object for Drawer Redirection Issues

Most HP PCL controls are standard for a wide range of HP LaserJet and compatible printers, including printers from HP, IBM, InfoPrint Solutions Company, Lexmark, Ricoh Xerox, and other manufacturers. However, the HP PCL5 Paper Source controls are an exception. The structure of the HP PCL5 Paper Source controls are the same for all HP PCL compatible printers; however, 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, in other words, if experiencing drawer selection or paper source issues such as spooled files pulling from the wrong paper tray or needing to press a button on the printer hardware to get spooled files to print, it is recommended that you first try different values for the Manufacturer type and model (MFRTYPMDL) parameter to see if that resolves or at least reduces the effects of the problem. For example, if you are currently specifying *HP4 for the MFRTYPMDL parameter but that does not work, then try specifying *HP5SI, *HP4000 and *HPCOLORLJ to see if any of those settings work any better. Or, if specifying you are specifying *LEXOPTRAT to get spooled files to compress to 13.3 Characters Per Inch (CPI) instead of 17.1 CPI but the drawer selection is not correct, try specifying *LEXOPTRA or *RICOHAP3200 to see if any of those settings work any better.

If trying different values for the MFRTYPMDL parameter does not provide a setting that works for all of the paper trays needed, then start with using the MFRTYPMDL value that works best. Run the Retrieve WSCST source (RTVWSCST) command, specify the best MFRTYPMDL setting that you can find, so you create your modified WSCST object based on the closest match. Also, if needed, contact the printer manufacturer to find out the HP PCL5 Paper Source values needed for your particular printer model.




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:

8692422, Instructions for Modifying a Workstation Customization Object (WSCST): Rochester Support Line KnowledgeBase

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:
oTo 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.
oTo use SEU, on the operating system command line, type the following:

STRSEU SRCFILE(QGPL/QTXTSRC) SRCMBR(HP4)

Press the Enter key.
Make any changes necessary to the WSCST object source code. Refer to the following sections, beginning with Changing Default Drawer Selections, to make your changes, then save and exit. Continue with Step 3.

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.
oTo add the WSCST to a device description, on the operating system command line, type the following:

CHGDEVPRT DEVD(device_name) TRANSFORM(*YES) MFRTYPMDL(*WSCST) WSCST(QGPL/HP4)

Press the Enter key.
oTo 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(*WSCST) WSCST(HP4)

Press the Enter key.
oTo 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 started again for the changes to take effect.

Hide details for Changing Default Drawer SelectionsChanging Default Drawer Selections
Changing Default Drawer Selections

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)

Show details for Set Up Envelope FeederSet Up Envelope Feeder
Show details for New Method for Accessing Drawer 3 and AboveNew Method for Accessing Drawer 3 and Above
Show details for Old Method for Accessing Drawer 3Old Method for Accessing Drawer 3
Show details for Specifying the Drawer Page Size (Particularly for Drawer 3 and Above)Specifying the Drawer Page Size (Particularly for Drawer 3 and Above)
Show details for List of Standard Paper SizesList of Standard Paper Sizes
Show details for Paper Source Controls for HP LaserJet PrintersPaper Source Controls for HP LaserJet Printers
Show details for Paper Source Controls for HP LaserJet 2410/2420/2430 PrintersPaper Source Controls for HP LaserJet 2410/2420/2430 Printers
Show details for Paper Source Controls for HP LaserJet 4000/4100/4200/4300 PrintersPaper Source Controls for HP LaserJet 4000/4100/4200/4300 Printers
Show details for Paper Source Controls for HP LaserJet 4250/4350 PrintersPaper Source Controls for HP LaserJet 4250/4350 Printers
Show details for Paper Source Controls for HP LaserJet 9050 PrintersPaper Source Controls for HP LaserJet 9050 Printers
Show details for Paper Source Controls for Infoprint and IBM Network PrintersPaper Source Controls for Infoprint and IBM Network Printers
Show details for Paper Source Controls for Ricoh Aficio MP C5000 PrintersPaper Source Controls for Ricoh Aficio MP C5000 Printers
Show details for Paper Source Controls for Xerox Document Centre PrintersPaper Source Controls for Xerox Document Centre Printers
Show details for Paper Type Controls for HP LaserJet Compatible PrintersPaper Type Controls for HP LaserJet Compatible Printers
Show details for Specifying Paper Source for a Particular Paper SizeSpecifying Paper Source for a Particular Paper Size



__________________________________________________________________
PMR Number:
Related APARs:
Related Public Documents:

    IBM disclaims all warranties, whether express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. By furnishing this document, IBM grants no licenses to any related patents or copyrights. Copyright © 1996,1997,1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 IBM Corporation. Any trademarks and product or brand names referenced in this document are the property of their respective owners. Consult the Terms of use link for trademark information.