On Fri, 18 May 2001, Dan Kirkpatrick wrote:

> I'm setting up a new HP 4500 DN that I want two separate queues for
> hp4500_p (paper) and hp4500_t (transparency).  I know the users can use the
> source command line option, but I want to provide separate accounting as we
> charge differently for the media, and I'm not quite ready to provide lprng
> on all of the clients.   Easier to just provide 2 queues for "printing for
> dummies" right now.
>
> I had this done prior to lprng with 2 passthrough queues which sent a
> header to a tektronix phaser telling it to switch trays.
>
> Any suggestions?  I'm playing with passthrough queues, to do it similar,
> but having difficulty figuring out which commands to send.
>
> Perhaps there's a way to have two queues, and do something like:
> :ifhp=model=hp4500,sync,pagecount,waitend,transparency (or intray2)
> and
> :ifhp=model=hp4500,sync,pagecount,waitend,paper (or intray3)
> ???

We do it here with two queues pointing at the same printer, but in our
case the queues are set to autohold, so one of our lab consultants has to
manually release the job to the printer.  This could cause problems if
they release a job from each queue at the same time I suppose, but we base
our accounting on the name of the queue, so we have to use two different
queues for this.

Anyways, here are the two separate printcap entries we use:

scfmaincolor|:
        :lp=scfmaincolor.scf.orst.edu%9100:
        :mx#0:rw:sh:ah:
        :ps=status
        :af=acct
        :lf=log
        :sd=/var/spool/lpd/scfmaincolor
        :fx=flpv
        :ifhp=model=hp4500,tbcp
        :if=/usr/local/libexec/filters/ifhp
        :as=|/usr/local/libexec/filters/acct.pl start
        :ae=|/usr/local/libexec/filters/acct.pl end

scfmaintrans|:
        :lp=scfmaincolor.scf.orst.edu%9100:
        :mx#0:rw:sh:ah:
        :ps=status
        :af=acct
        :lf=log
        :sd=/var/spool/lpd/scfmaintrans
        :append_z=transparency
        :fx=flpv
        :ifhp=model=hp4500,tbcp
        :if=/usr/local/libexec/filters/ifhp
        :as=|/usr/local/libexec/filters/acct.pl start
        :ae=|/usr/local/libexec/filters/acct.pl end

To set transparency, we use the append_z=transparency option.  We don't
have any transparencies in the printer, so this ends up being a manual
feed operation.

        Andy


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to