ITEM: BB7197L
Bad paper selection options for HP LJ 4.
Question:
ENV: AIX 3.2.5 3251, hplj-4.ps, hplj-4.pcl
DESC: In the hplj-4.ps colon file the paper selection
value does not work to select paper drawer 2.
ACTION: Looked at HP Reference manual, and at the colon
file. The command to select
The command to change the paper drawer postscript mode is:
statusdict begin 0 setpapertray end
for the top drawer, and
statusdict begin 1 setpapertray end
for the bottom drawer.
From looking at ci:
With u=1, the ci attribute of the Postscript virtual printer outputs
statusdict begin 0 setpapertray end - upper paper tray
With u=2, the ci attribute of the Postscript virtual printer outputs
statusdict begin 1 setpapertray end - lower paper tray
This would seem to be right, but the problem was there is no line feed
at the end of the command. ' setpapertray end\\012' \<-- adding the \\012 adds a line feed
...
This line feed makes the command work. Tested and indeed this
worked.
NEXT: hplj-4.pcl
The et attribute has the wrong value:
:570:et::%?%G_O%{3}%=%t\\33&l%?%G_u%{3}%=%t6
%e%?%G_u%{2}%=%t5%e1%;%;H%;
This says if _u=3 select '6' envelope feed, ok.
if _u=2 select '5' Optional paper source, WRONG
else select '1' Printer-specific tray.
The command to select the lower drawer should be
'ESC&l4H'
NEXT: Open PMR
Support Line: Bad paper selection options for HP LJ 4. ITEM: BB7197L
Dated: November 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:23
Comments or suggestions?
Contact us