From: Timo Felbinger <timof@uranos.quantum.physik.uni-potsdam.de>
Subject: Re: Using HP printers with OSF1 / Question about printers
Date: 1998/05/06 [thread overview]
Message-ID: <Pine.LNX.3.96.980506111530.880D-100000@uranos.quantum.physik.uni-potsdam.de> (raw)
In-Reply-To: srepvhs4kwd.fsf@ptavv.es.net
Recently, two different questions were posted to this group which may
have a common answer:
On 5 May 1998, Antony Si Tou wrote:
> In digital unix, is there any ways to allow which users can use
> which printer ? I know in UNIX we can make a file "users.allow" to allow
> users to use.....
On 5 May 1998, Kevin Oberman wrote:
> Jamie Jamison <niteowl@serv.net> writes:
>
> > I have several HP printers, LaserJet 5Si/MXs, that I need to get working
> > with OSF1. I have a need to directly control the trays on the printer as I
>
> Are these using JetDirect cards connected to the network or are they
> connected directly to the Alpha? If it's JetDirect, it's harder.
>
> If you are using a JetDirect, filters are not supported, so you will
> need another printer definition which will do the filter and then
> send the output to the REAL print queue. Yes, it's kind-a ugly!
... and you will lose control of your job: it will no longer appear in the
original queue, and it will be owned by whatever UID your lpd is running under,
so you can no longer lprm it.
You could replace the lp{r,q,rm,c,d} programs which come with digital unix by
those from the package LPRng (make sure to replace _all_ those binaries or you
may run into trouble). This should solve both problems:
- LPRng supports ``bounce queues'', which let you do filtering, then pass
the job to a different queue or remote printer. ownership will not be
affected, and in lprm it doesn't seem to matter which one of several
connected queues you specify to cancel a job.
- LPRng supports a file /etc/lpd.perms, which lets you specify fine-grained
permissions in a quite flexible syntax, like
ACCEPT SERVICE=C HOST=talker.astart.com PRINTER=hpjet REMOTEUSER=root
REJECT SERVICE=X NOT IP=130.191.0.0/255.255.0
Regards,
Timo Felbinger (Timo.Felbinger@quantum.physik.uni-potsdam.de)
Quantum Physics Group
Institute of Physics
University of Potsdam, Germany
next prev parent reply other threads:[~1998-05-06 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-02 4:00 Using HP printers with OSF1 Jamie Jamison
1998-05-05 4:00 ` Kevin Oberman
1998-05-06 4:00 ` Timo Felbinger [this message]
1998-05-06 4:00 ` Using HP printers with OSF1 / Question about printers Kevin Oberman
1998-05-07 4:00 ` Using HP printers with OSF1 Ernest LaBonte
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox