background image

dc05cc0371 

 

  
Using the WSCO

 

 

Mapping Paper Trays from AS/400 to PCL

 

 

A media source in an AS/400 printer file is indicated as a source drawer. Data description specifications (DDS) 
use the DRAW ER keyword. The printer PCL command indicates the media source as a tray. AS/400 and PCL do 
not always use the same parameter value to refer to the same thing. DRAW ER 1 may not map to TRAY 1. 

 

The default settings for drawer to tray mapping are shown in the following table. The corresponding PCL code is 
also included. For example: the AS/400 printer file Source Drawer 2 selects tray 3 on the 3450 and the 4500, but 
selects tray 2 on the 4025 and the M20i. The PCL code for the 3450 drawer 2/tray 3 is 

“8” or ESC&l8H, for the 

4500 drawer 2/tray 3 is 

“5” or ESC&l5H. 

 

The WorkCentre products

’ default settings for paper type and color are plain and white. If the AS/400 file attribute 

for Source Drawer is set for a specific W orkCentre input paper tray, make sure the tray description on the WCP is 
set to match the default type, which is plain. On the WCP, if the type parameter is other than the default type, the 
spool file pulls media from a tray that has the default type (plain), or is held for resources depending on the WCP 
model. 
 
VersaLink and AltaLink products have standardized PCL5 tray parameters. Most models now include options to 
add additional media trays. In order to provide maximum flexibility, the AS/400 Work Station Customization 
Objects (WSCO) now contain all the tray selection parameters for mapping the AS/400 

“Drawers” to Trays on the 

printer.  
 
As an example, if the printer does not have a tray 4 and the AS/400 spool file is set for DRAWER 4, the printer 
will use the default tray.  Unless the user has changed it, the default tray is set to AUTO TRAY Switch. This 
means that the printer will pull from a tray whose paper size matches the paper specified in the spool file. 
Typically, this is “Letter” (8.5 by 11 inches). On the other hand, if the spool file is set to DRAWER 9, the WSCO 
will not generate a tray call at all, and again, the printer will use the default, selecting a tray that contains the 
paper specified in the spool. In addition, tray 5 in the printer is actually the Bypass Tray. So, if the spool file has 
Drawer 5 or Envelope or Drawer 10 specified, the printer will select the Bypass Tray. The WSCO’s do not have 
DRAWER 7, 8, or 9 defined. 
 
To provide the 

greatest flexibility, these WSCO’s all include Color Support. If the spool file specifies “color,” and 

the printer supports color, the spool will print in color. The spool will print in black and white if the printer does not 
support color printing. 

 

 

 

Summary of Contents for AS/400

Page 1: ...AS 400 Power Systems Workstation Customization Object Installation and Setup Guide A Possible Alternative for IPDS Printing Using Standard Xerox Office Products dc05cc0371 June 16 2021 XTOOLS1026...

Page 2: ...TATEMENT XEROX The Document Company the digital X and all Xerox product names are trademarks of XEROX CORPORATION Other trademarks belong to their respective owners Copyright XEROX CORPORATION 2021 Al...

Page 3: ...a Device Description or a Remote Print Queue 7 Testing the Setup 8 Using the WSCO 9 Mapping Paper Trays from AS 400 to PCL 9 Changes in this release 15 Appendix 16 1 Xerox Supplied Command Definition...

Page 4: ...ce This document targets system administrators familiar with the AS 400 environment A system administrator should plan to install the WSCO without requiring assistance from Xerox field personnel The f...

Page 5: ...fonts in an AFPDS spool file by the DDS keyword FONT or by using the default GFIDs indicated by the character per inch CPI value in the printer file The FONT keyword also supports a POINTSIZE paramete...

Page 6: ...ommand line and press the Prompt key F4 then place the cursor on a parameter and press Help F1 The process to create a WSCO requires that the source from the XTOOLSxxxx library is compiled for your AS...

Page 7: ...e 111 111 1 100 WorkStation Custom Object The WSCST that was created when the user defined WSCO was compiled Press F4 to see the list Library Name The name of the library where the WSCST resides Use t...

Page 8: ...A5 B4 and B5 For this to work with AFPDS spools the page size of the spool must match the queue s Media Size otherwise the spool s page size will override the Media Size Remote Location The IP address...

Page 9: ...he WCP model VersaLink and AltaLink products have standardized PCL5 tray parameters Most models now include options to add additional media trays In order to provide maximum flexibility the AS 400 Wor...

Page 10: ...H Tray 4 l8H Tray 5 l21H Tray 6 l22H MPT l4H CQ8860 70 80 XRX88XX Tray 2 l1H MPT l2H Tray 2 l1H Tray 3 l5H Tray 4 l8H Tray 5 l21H Tray 6 l22H MPT l4H CQ8700 XRXCQ8700 Tray 2 l1H MPT l2H Tray 2 l1H Tra...

Page 11: ...MPT l4H PH3610 WC3615 55 XRX36XX Auto l7H MPT l2H Tray 1 l4H Tray 2 l1H Tray 3 l5H Tray 4 l8H Tray 5 Bypass l2H Auto l7H PH3635MFP XRX3635MFP Auto l1H MPT l2H Tray 1 l1H Tray 2 l4H Tray 1 l1H MPT l2H...

Page 12: ...H PH6300 50 60 NS XRX63XX Tray 2 l1H MPT l2H Tray 2 l1H Tray 3 l5H Tray 4 l8H Tray 5 l21H Tray 6 l22H Tray 1 MPT l4H PH6500 6505MFP XRX65XX Tray 1 l4H MPT l2H Tray 1 l4H Tray 2 l1H Tray 3 l5H Tray 4 l...

Page 13: ...XVLX Auto l7H MPT l2H Tray 1 l4H Tray 2 l1H Bypass l2H VLB405 XRXVLX Auto l7H MPT l2H Tray 1 l4H Tray 2 l1H Bypass l2H VLB6xx XRXVLX Auto l7H MPT l2H Tray 1 l4H Tray 2 l1H Tray 3 l5H Tray 4 l8H Tray 5...

Page 14: ...XWC52XX Tray 1 l1H MPT l2H Tray 1 l4H Tray 2 l1H Tray 3 l5H Tray 4 l8H Tray 5 l2H Tray 6 l21H WC53xx XRXWC53XX Auto l20H MPT l2H Tray 1 l4H Tray 2 l1H Tray 3 l5H Tray 4 l8H Tray 5 l2H Tray 6 l21H WC56...

Page 15: ...l1H tray 3 l5H tray 4 l8H tray 5 l21H tray 6 l22H Tray 7 l23H Inserter Tray l32H Auto l7H WC79xx XRXWC79XX Auto l7H MPT l33H tray 1 l4H tray 2 l1H tray 3 l5H tray 4 l8H tray 5 l21H tray 6 l22H Tray 7...

Page 16: ...This command enables printing using the LPR protocol 3 CRTXWSC This command creates the Work Station Customization Tables used in the two previous commands The host print transform uses these tables...

Page 17: ...e perhaps moving some to a new queue might be better Move spool files with the CHGSPLFA command If the spool files are moved to a different queue they will have to be moved back 3 Save the output queu...

Page 18: ...brary This is the same source file that contains the source for the Xerox WorkStation Customization Tables One way to create the source files is to use strpdm and copy the Prepend and Postpend example...

Page 19: ...nguage PJL command If it is desired to transmit commands that require being inside the first RESET and the last UEL then the best solution is to comment out the Init and RESET keywords in the WSCST an...

Page 20: ...or Postpend file To recall the pre and post pend files enter the RTVPREPOST and press F4 at the command line Enter the two member names to retrieve Make the changes that you want then repost using the...

Page 21: ...uct The solution is to leave the Paper Size Drawer 1 and 2 set to LETTER and remove the PCL command for letter on the DATA line for the WSCO in the QTXTSRC file provided Change DATA 1B266C303241 X esc...

Page 22: ...space font It is used in printing a spool file that will not fit on a Portrait Letter sized media The AS400 will rotate the page to Landscape and use the 13 3 pitch font to squeeze the text to 11 inc...

Page 23: ...r the IBM supplied CRTWSCST command or the Xerox supplied CRTXWSC from the XTOOLS library Once the WSCST is successfully created you must end the writer of the printer you want to use and then restart...

Reviews: