HP Laserjet 5si - Printing On Legal Paper From AS400

I configured an HP Laserjet 5si printer as a LAN attached printer and I am trying to print reports from the AS400 on legal size paper.  I have letter loaded in tray 2 for general printing from Windows, and Legal loaded in Tray 3 for AS400 printing.  All of my attempts to print to tray 3 from the AS400 have failed.  What am I doing wrong?  Here is how it is currently configured:


Device description . . . . . . . > PRCV01      
Port number  . . . . . . . . . .   9100        
Online at IPL  . . . . . . . . .   *YES        
Font:                                          
  Identifier . . . . . . . . . .   011        
  Point size . . . . . . . . . .   *NONE      
Form feed  . . . . . . . . . . .   *AUTOCUT    
Separator drawer . . . . . . . .   *FILE      
Separator program  . . . . . . .   *NONE      
  Library  . . . . . . . . . . .              
Printer error message  . . . . .   *INFO      
Message queue  . . . . . . . . .   PRTMSG      
  Library  . . . . . . . . . . .     QUSRSYS  
Activation timer . . . . . . . .   170        
Inactivity timer . . . . . . . .   *SEC15      
Line speed . . . . . . . . . . .   19200      
Word length  . . . . . . . . . .   8          
Type of parity . . . . . . . . .   *NONE      
Stop bits  . . . . . . . . . . .   1          
Host print transform . . . . . .   *YES      
Manufacturer type and model  . .   *HP5SI    
Paper source 1 . . . . . . . . .   *LETTER    
Paper source 2 . . . . . . . . .   *LEGAL    
Envelope source  . . . . . . . .   *NUMBER10  
ASCII code page 899 support  . .   *NO        
Image configuration  . . . . . .   *IMGA02    
Character identifier:                        
  Graphic character set  . . . .   *SYSVAL    
  Code page  . . . . . . . . . .              
Remote location:                                
  Name or address  . . . . . . .   '10.3.2.214'
 DBCS feature:                                  
  Device features  . . . . . . .   *SAME        
  Last code point  . . . . . . .                
User-defined options . . . . . .   *SAME        
               + for more values                
User-defined object:                            
  Object . . . . . . . . . . . .   *NONE        
    Library  . . . . . . . . . .                
  Object type  . . . . . . . . .                
Data transform program . . . . .   *NONE        
  Library  . . . . . . . . . . .                
System driver program  . . . . .   *HPPJLDRV
Secure connection  . . . . . . .   *SAME    
Validation list  . . . . . . . .   *SAME    
  Library  . . . . . . . . . . .            
Publishing information:                    
  Support duplex . . . . . . . .   *UNKNOWN
  Support color  . . . . . . . .   *UNKNOWN
  Pages per minute black . . . .   *UNKNOWN
  Pages per minute color . . . .   *UNKNOWN
  Location . . . . . . . . . . .   *BLANK  
  Data streams supported . . . .   *UNKNOWN
               + for more values            
Text 'description' . . . . . . .   'HP LJ5si
LVL 1
DarrinZuroffAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DansDadUKCommented:
>> All of my attempts to print to tray 3 from the AS400 have failed

In what way? e.g.:

Nothing prints?
Prints on Letter size paper from tray 2?
Printer prompts for paper change?

I know nothing about AS/400, so I can only guess at what your configuration settings
imply.

Do you know what Page Description Language (PDL) is generated and sent to the printer (it will almost certainly be one of PostScript, PCL5 or PCL6 (PCL XL).

Are you able to 'capture' a small (sanitised) sample print stream generated by the AS/400 (i.e. the equivalent of the 'print to file' option available with most Windows printer drivers)?
If so, post it here for analysis (disguise it as a .TXT file to allow it to get past the E-E 'valid file extensions' check).
0
DarrinZuroffAuthor Commented:
When printing from the AS400 it always prints on letter from Tray 2 and scales it down to fit.  

I am pretty sure the PDL generated is PCL6, but could be PCL5.  I will have to see if I can find out which one it is.

I will see if I can capture a sample print stream to attach.
0
DansDadUKCommented:
>> ... prints on letter from Tray 2 and scales it down to fit.

This would presumably be done by your 'host print transform', or something similar?


>> I will see if I can capture a sample print stream to attach.

Note that all that analysis will do is confirm what 'instructions' are sent to the printer.
0
Gary PattersonVP Technology / Senior Consultant Commented:
OK, you're using Host Print Transform to convert from SCS or AFPDS to PCL: TRANSFORM(*YES)

Since you specified MFRTYPMDL(*HP5SI), this means that you are using the IBM-supplied Workstation Customization Object.  This object is a sort of special translation table that contains the PCL that is is used for translation.

The workstation customization tag language is described in this manual:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/books/sc415605.pdf

I retrieved the source code for this HP5SI customization object on a V5R3 system:

RTVWSCST DEVTYPE(*TRANSFORM)    
         MFRTYPMDL(*HP5SI)      
         SRCMBR(HP5SI)          
         SRCFILE(GARYP1/QTXTSRC)

And when I inspect the source code, I see that there is no definition for Drawer3.  The DWRSLT tag is used only for drawers 1-2.  After that, you need to use an ADDDWRTBLE block as described in this support document to generate the correct PCL:

http://www-01.ibm.com/support/docview.wss?uid=nas1bbf048cc51f9d5b8c1256acd00555574

- Gary Patterson
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DarrinZuroffAuthor Commented:
I spoke with the department that will be using the printer and it was decided that they can get by with printing on letter sized paper which has the added benefit of saving money in the long run.  I still accepted this solution because it is the correct solution in the scenario I asked about, however I no longer need to print from tray 3.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Operating Systems

From novice to tech pro — start learning today.