IBM Support

Automatically switch to next tray if printer runs out of paper - Canon and Ricoh printers

Question & Answer


Question

If the tray the spooled file is printing from runs out of paper on a Ricoh or Canon printer, is there a way to automatically switch to another tray?

Answer

The function of switching to another tray when the first tray runs out of paper is a hardware feature.  This is also referred to as tray linking.  Check the printer hardware for an 'auto continue', 'tray linking' or similar setting.  Often, the function is enabled if the trays are configured to have the same paper type, but this is not true of every printer.
With Ricoh and Canon printers, the function may be enabled by using a specific value, '1B266C3048'X., for the Drawer Select (DWRSLT) tag in a Workstation Customizing Object (WSCST).
Per the manufacturer, Esc&l0H, or HEX 1B266C3048, is the PCL command to auto select the input tray.  This may not be true for all models of Ricoh or Canon printers.  
To create a WSCST object to modify the DWRSLT tag, use this document as a guide:
Basic Steps for Creating and Using a Workstation Customization Object
Once in edit mode for the WSCST object, locate the :DWRSLT tag for DRAWER=DRAWER1.  
**NOTE:  The DWRSLT tag for the drawer that is being used for printing should be changed. The default source drawer for the spooled file is 1.   If the spooled file attributes has the source drawer as 2, then the :DWRSLT tag for DRAWER=DRAWER2 should be changed.  If the source drawer in the spooled file is 3 or higher, locate the drawer under the drawer table, :ADDDRWTBL, section.
For example, these are the :DWRSLT tags from *RICOHAP3200:
:DWRSLT                   
  DRAWER=PAPER            
  DATA ='1B266C3248'X.    
:DWRSLT                   
  DRAWER=ENVELOPE         
  DATA ='1B266C3668314F'X.
:DWRSLT                   
  DRAWER=DRAWER1          
  DATA ='1B266C3848'X.    
:DWRSLT                   
  DRAWER=DRAWER2          
  DATA ='1B266C3148'X.    
Change the DATA for the :DWRSLT tag for DRAWER=DRAWER1 to '1B266C3048'X.  The change would look like this:
**NOTE:  There is a period (.) after the X that needs to be included
:DWRSLT                   
  DRAWER=PAPER            
  DATA ='1B266C3248'X.    
:DWRSLT                   
  DRAWER=ENVELOPE         
  DATA ='1B266C3668314F'X.
:DWRSLT                   
  DRAWER=DRAWER1          
  DATA ='1B266C3048'X.             <<==========
:DWRSLT                   
  DRAWER=DRAWER2          
  DATA ='1B266C3148'X.    
After making the change, save the changes, create the WSCST object and add it to the printer configuration.  Details are contained in Basic Steps for Creating and Using a Workstation Customization Object.

[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"","label":""}],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"Version Independent"}]

Document Information

Modified date:
06 April 2021

UID

nas8N1021116