ITEM: Z5932L
HP PostScript paper tray selection not working.
Question:
Env: Aix 3.2.5
HP4Si virtual printer
Desc: How do I specify a different paper source?
Action:
When customer issues the 'qprt -u2' command in postscript the
paperdrawer remains with the 1st drawer.
Customer started over in testing. He created a pcl queue and configured
it like above to do both ascii and postscript. The pcl files work
fine. But the postscript only print out of the 1st drawer and not
the 2nd. Customer agreed to callback after testing.
Looded at the ci attribute in the virtual printer with 'cr~v'
that is 'cr the tilda symbol and the letter v'
From the HP Technical reference:
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. Once the ci attribute was changed to
this, it works fine.
...
'statusdict begin '
%? \
%G_u PUSH: (Paper Source Drawer (1: Lower 2: Upper or no sheet
feeder 3: Envelopes))
%{3} PUSH: (Integer Constant 3)
%= PUSH: (pop2 = pop1 ?)
%t \
'2'
%e \
%G_u PUSH: (Paper Source Drawer (1: Lower 2: Upper or no sheet
feeder 3: Envelopes))
%{2} PUSH: (Integer Constant 2)
%= PUSH: (pop2 = pop1 ?)
%t \
'1'
%e \
'0'
%; \
' setpapertray end\\012' \<-- adding the \\012 adds a line feed
...
This line feed makes the command work. Tested and indeed this
worked.
This is a defect!
NEXT: Close, Works for customer.
Support Line: HP PostScript paper tray selection not working. ITEM: Z5932L
Dated: November 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:33
Comments or suggestions?
Contact us