ITEM: U1398L

4039 printer as HPLJ virprt won't switch paper trays.



Question:

4039 printer trying to switch between paper bins and it is not 
switching

Response:

ENVIRONMENT: AIX v 3.2.5

DESCRIPTION:

Cust has an 4039 laser printer which he has configured as an HPLJ4
because the _l attribute to set the page length was not working 
when he was using the 4039 virtual printer.  When using the HPLJ4
virtual printer the lines per inch are automatically adjusted to
fit the number of lines on the page as specified with _l.  With
the 4039 virtual printer this will not happen.

He now states that when he uses the qprt command with the -u flag 
to use a different paper drawer it still pulls from drawer 1. 

Response:

The key to the problem is in the 'ci' attribute.  For the HP4
this shows:

%Iet  INCLUDE: (Set Paper Tray Variable (1: upper 2: lower

Then look at et

Set Paper Tray Variable (1: upper 2: lower 3: envelope feeder)
et = %?%G_O%{3}%=%t\\33&l%?%G_u%{3}%=%t6%e%?%G_u%{2}%=%t5%e1%;%;H%;

 %?            \
     %G_O      PUSH: (Type of Input Paper Handling (1: manual, 3: sheetfeed))
     %{3}      PUSH: (Integer Constant 3)
     %=        PUSH: (pop2 = pop1 ?)
 %t            \
     '\\33&l'
     %?        \
         %G_u  PUSH: (Paper Source (1: Tray 1;  2: Tray 2;  3: A         %G_u  P
USH: (Paper Source (1: Tray 1;  2: Tray 2;  3: Automatic
               Envelope Feeder))
         %{3}  PUSH: (Integer Constant 3)
         %=    PUSH: (pop2 = pop1 ?)
     %t        \
         '6'
     %e        \
         %?    \
             %G_u  PUSH: (Paper Source (1: Tray 1;  2: Tray 2;  3: Automatic
                   Envelope Feeder))
             %{2}  PUSH: (Integer Constant 2)
             %=  PUSH: (pop2 = pop1 ?)
         %t    \
             '5'             \<------ change to '4' for 4039!!!!!!!
         %e    \
             '1'
         %;    \
     %;        \
     'H'
 %;            \
~This shows that the following will be sent:

-u3  ESC & l 6 H
-u2  ESC & l 5 H
-u1  ESC & l 1 H        (and all other values of u)

But the technical reference manual for the 4039 says

ESC & l 1 H - Primary feed
ESC & l 4 H - Secondary feed
ESC & l 6 H - Envelope.

So change 5 to 4 in this attribute and this works great.

NEXT: Customer made the change and -u1 and -u2 switched
the printer between trays.


Support Line: 4039 printer as HPLJ virprt won't switch paper trays. ITEM: U1398L
Dated: April 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:35
Comments or suggestions? Contact us