ppr-list-digest volume 5, number 6, message 1

Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.


From: David Chappell <David.Chappell@mail.cc.trincoll.edu>
Date: 10 Feb 2003 16:18:36 -0500
Subject: Re: PPR: tray selection

On Fri, 2003-02-07 at 10:22, Jonathan H N Chin wrote:
> I am trying to set up an HP Color LaserJet 5500 with three trays (2,3,4)
> and manual feed (tray 1, unused).
> 
> I wish to have trays 2 and 3 contain A4 plain paper.
> Tray 4 will contain A4 transparencies.
> 
> I want three print queues, to be accessed by lpr:
> 	single-sided (either tray 2 or 3)
> 	duplex (either tray 2 or 3)
> 	transparency (tray 4)
> 
> I want the printer to print without requiring manual intervention
> regardless of any media type/size requirements specified in the job.
> In particular, if a job wants letter size, it should print anyway.
> If Tray2 runs out of paper, jobs should print on Tray3 (and vice-versa).
> 
> 
> I can't work out how to configure ppr to let me do that.
> 
> If I use AutoSelect (ppop mount AutoSelect; with no other trays
> available) and use a switchset with '-F "*InputSlot TrayX"', empty
> trays may cause jobs to print on an inappropriate tray (eg. transparency
> jobs print on Tray2 if Tray4 is empty).

I am not sure I understand this setup entirely, but it doesn't really
make much sense to try to use -F "*InputSlot TrayX" and ppop mount
togther.  They will simply fight with one another.  In other words, if
your print queue has bins defined, then PPR will automatically insert
*InputSlot commands to select the proper bin.

The printing on inappropriate trays is a serious design flaw in HP level
2 PostScript printers.  They way they switches trays when the selected
tray is empty without first varifying that the tray in question would
have been a candidate for initial selection is a flagrant violation of
the rules for how setpagedevice is supposed to work.  All that HP offers
is to declare a subset of the trays to be "protected" which means that
they won't be the targets of a switchover.  Using the control panel
menus you could protect the transparency bin but if the transparency
tray emptied, the printer would begin printing transparencies on paper.

With regard to your desire to enable rolling between bins that have the
same medium mounted, I implemented that for HP level 1 PostScript
printers, but have not implemented it for HP level 2 printers because
the implementation of tray selection is too broken to support it.

I tried once to report this bug to HP, but I couldn't get past the
person who answered the phone who told me that HP got their PostScript
from Adobe, so it couldn't have bugs.

> If I don't use AutoSelect (ie. ppop mount TrayX a4; no AutoSelect tray),
> then jobs always stick in the queue, reporting "waiting for media: letter".
> I've tried setting InputSlot, PageSize, DefaultPageSize, and MediaType
> in various combinations to no avail.
> 
> Am I missing something obvious?
> 
> 
> -jonathan
> 
> -- 
> Jonathan H N Chin, 1 dan | deputy computer | Newton Institute, Cambridge, UK
> <jc254@newton.cam.ac.uk> | systems mangler | tel/fax: +44 1223 335986/330508
> 
>                 "respondeo etsi mutabor" --Rosenstock-Huessy