Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Using HP printers with OSF1
@ 1998-05-02  4:00 Jamie Jamison
  1998-05-05  4:00 ` Kevin Oberman
  0 siblings, 1 reply; 5+ messages in thread
From: Jamie Jamison @ 1998-05-02  4:00 UTC (permalink / raw)



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
have different print media in trays 2 and 3 than I do in tray 1. It would
also be nice if I could output jobs to different bins. When I try to use
the System V lp that comes with OSF1, with the -otray[1-3] or -obin[1,2]
arguments, I can never get the printer to reliably switch trays or output
bins. If I were at a Sun shop this problem would be solved by running
JetAdmin, which, unfortunately, has not been ported to OSF1. However I'm
not at a Sun shop (thank God) and need to get these printers working
properly. Does anyone have any tips on doing this? Any information will be
greatly appreciated.

Thanks

Jamie Jamison





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using HP printers with OSF1
  1998-05-02  4:00 Using HP printers with OSF1 Jamie Jamison
@ 1998-05-05  4:00 ` Kevin Oberman
  1998-05-06  4:00   ` Using HP printers with OSF1 / Question about printers Timo Felbinger
  1998-05-07  4:00   ` Using HP printers with OSF1 Ernest LaBonte
  0 siblings, 2 replies; 5+ messages in thread
From: Kevin Oberman @ 1998-05-05  4:00 UTC (permalink / raw)



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
> have different print media in trays 2 and 3 than I do in tray 1. It would
> also be nice if I could output jobs to different bins. When I try to use
> the System V lp that comes with OSF1, with the -otray[1-3] or -obin[1,2]
> arguments, I can never get the printer to reliably switch trays or output
> bins. If I were at a Sun shop this problem would be solved by running
> JetAdmin, which, unfortunately, has not been ported to OSF1. However I'm
> not at a Sun shop (thank God) and need to get these printers working
> properly. Does anyone have any tips on doing this? Any information will be
> greatly appreciated.

Are these using JetDirect cards connected to the network or are they
connected directly to the Alpha? If it's JetDirect, it's harder.

You need to write some PJL files to select the desired trays and cat
these onto the beginning and end of each job.

Here are what I use for manual feed in, side-tray out and PostScript printing:
2345X@PJL JOB
@PJL SET MANUALFEED=ON
@PJL SET ECONOMODE=OFF
@PJL SET OUTBIN=SIDE
@PJL ENTER LANGUAGE = POSTSCRIPT

And this selects 2-sided PostScript:
2345X@PJL JOB
@PJL SET ECONOMODE=OFF
@PJL SET DUPLEX=ON
@PJL ENTER LANGUAGE = POSTSCRIPT

And this is the job terminator (to restore default operation):
^L2345X@PJL EOJ
2345X

Use a filter that will cat a setup PJL, followed by your file,
followed by the termination PJL.

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!


Good luck!
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest Orlando Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net				Phone: +1 510 486-8634



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using HP printers with OSF1 / Question about printers
  1998-05-05  4:00 ` Kevin Oberman
@ 1998-05-06  4:00   ` Timo Felbinger
  1998-05-06  4:00     ` Kevin Oberman
  1998-05-07  4:00   ` Using HP printers with OSF1 Ernest LaBonte
  1 sibling, 1 reply; 5+ messages in thread
From: Timo Felbinger @ 1998-05-06  4:00 UTC (permalink / raw)




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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using HP printers with OSF1 / Question about printers
  1998-05-06  4:00   ` Using HP printers with OSF1 / Question about printers Timo Felbinger
@ 1998-05-06  4:00     ` Kevin Oberman
  0 siblings, 0 replies; 5+ messages in thread
From: Kevin Oberman @ 1998-05-06  4:00 UTC (permalink / raw)



Timo Felbinger <timof@uranos.quantum.physik.uni-potsdam.de> writes:

> 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:

Looks great, but you forgot to mention where to get it!

It's home is http://www.astart.com/LPRng.html and the software is
mirrored at many sites including:
ftp://ftp.sage-au.org.au/pub/printing/spooler/lprng (AU)
ftp://ftp.zod.wau.nl/pub/mirror/plp/LPRng (AU/NZ)
ftp://gwynne.cs.ualberta.ca/pub/LPRng (CA)
ftp://ftp.informatik.uni-hamburg.de/pub/os/unix/utils/LPRng (DE)
ftp://ftp.uni-paderborn.de/pub/unix/printer/plp/LPRng (DE)
ftp://ftp.iona.ie/pub/plp/LPRng (IE)
ftp://ftp.chembio.ntnu.no/pub/mirrors/LPRng (NO)
ftp://ftp.mono.org/pub/LPRng (UK)
ftp://ftp.cs.columbia.edu/pub/archives/pkg/LPRng (US)
ftp://ftp.cs.umn.edu/pub/LPRng (US)
ftp://ftp.iona.com/pub/plp/LPRng (US)
ftp://uiarchive.uiuc.edu/pub/packages/LPRng (US)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest Orlando Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net				Phone: +1 510 486-8634



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Using HP printers with OSF1
  1998-05-05  4:00 ` Kevin Oberman
  1998-05-06  4:00   ` Using HP printers with OSF1 / Question about printers Timo Felbinger
@ 1998-05-07  4:00   ` Ernest LaBonte
  1 sibling, 0 replies; 5+ messages in thread
From: Ernest LaBonte @ 1998-05-07  4:00 UTC (permalink / raw)



In V4.0a tcp/ip printing was added. This allows print filters to be used when
printing
to a JetDirect (tcp/ip socket capable) card.  This is documented in the release
notes
or the system admin guide.

Regards,
Ernest
--------------

Kevin Oberman wrote:

> 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!
>
> Good luck!
> --
> R. Kevin Oberman, Network Engineer
> Energy Sciences Network (ESnet)
> Ernest Orlando Lawrence Berkeley National Laboratory (Berkeley Lab)
> E-mail: oberman@es.net                          Phone: +1 510 486-8634







^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-05-07  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-02  4:00 Using HP printers with OSF1 Jamie Jamison
1998-05-05  4:00 ` Kevin Oberman
1998-05-06  4:00   ` Using HP printers with OSF1 / Question about printers Timo Felbinger
1998-05-06  4:00     ` Kevin Oberman
1998-05-07  4:00   ` Using HP printers with OSF1 Ernest LaBonte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox