[comp.sys.hp] lpr/lpd for HP-UX

lodin@plains.NoDak.edu (Joe Schmo) (08/04/90)

Has anyone ported lpr/lpd to HP-UX, preferably 7.0?
If so, where can I get it (ftp)?

Thanks alot...



Steven W. Lodin  
Advanced Instrumentation Engineering
Delco Electronics Corp

AT&T:    (317) 451-8722    GM: 8-322-8722
Domain:  lodin%koiasvr01.uucp@ee.ecn.purdue.edu
  or     lodin@plains.nodak.edu
  or     swlodin@koess.gm.hac.com
UUCP:    <backbone>!pur-ee!koiasvr01!lodin
GM:      LODIN, SW <KOESS::SWLODIN>

lienhart@hpfcdc.HP.COM (Bob Lienhart) (08/07/90)

lpr and lpd functionality is included in HPUX 7.0.  See the manual
pages on lp, rlp, lpsched, lpadmin, and rlpdaemon.  When SAM is used to
set up a remote printer, equivalent functionality for lpr and lpd
should then be available, just use lp.

Remote printing to and from BSD 4.3 systems is an integral part of
the HP-UX 7.0 spooler system.

Bob Lienhart

burzio@mmlai.UUCP (Tony Burzio) (08/08/90)

>Remote printing to and from BSD 4.3 systems is an integral part of
>the HP-UX 7.0 spooler system.

Oh no!  I'm going to have to turn off my remote printer queue
under HP-UX 3.1?  Instead of The Fine Manual, here is an example:

lpshut
lpadmin -xalw0
lpadmin -palw0 -ccombined -mrmodel -v/dev/null -ob3 -ocmrcmodel \
  -osmrsmodel -orc -orplp -ormsun31
accept alw0 combined
lpadmin -dalw0
lpsched

Note that the class is "combined", although printing to a class doesn't
work anyway :-)  Also, the printer queue on the BSD machine should be
the same name as on your HP...

*********************************************************************
Tony Burzio               * New address!  After 2 years, we got UUCP
Martin Marietta Labs      * working on our HP!  Of course, we used
mmlab!burzio@uunet.uu.net * Sun manuals :-) :-) :-) :-) :-) :-) :-)
*********************************************************************

kim@lut.fi (Kimmo Suominen) (08/08/90)

>>>>> On 7 Aug 90 23:05:32 GMT, burzio@mmlai.UUCP (Tony Burzio) said:

Tony> lpadmin -palw0 -ccombined -mrmodel -v/dev/null -ob3 -ocmrcmodel \
Tony>   -osmrsmodel -orc -orplp -ormsun31

Tony> Note that the class is "combined", although printing to a class doesn't
Tony> work anyway :-)  Also, the printer queue on the BSD machine should be
Tony> the same name as on your HP...

1) You don't have to use classes.  Dunno if they work, because I don't
   use them.  Our printers are to distributed.
2) The printer queue name doesn't have to be the same on both
   machines.  It didn't have to be when I had 3.10 and it doesn't have
   to be now with 7.0.
3) NOTE:  I haven't been using -orc (restrict cancel to owner).
4) IMHO the HP-UX Spooler works fine!
--
Kim              ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
"That's what    ( Kimmo    ! Lappeenranta U of Technology ! kim@lut.fi )
  *I* think."   ( Suominen ! Computing Centre  *  Finland ! KUULA::KIM )
                 ''''''''''''''''''''''''''''''''''''''''''''''''''''''

lienhart@hpfcdc.HP.COM (Bob Lienhart) (08/10/90)

Printer classes in conjuction with remote spoolers are not supported.
The primary objective for using classes is to handle several printers
of the same variety and send requests to the one that is available.
All the printers in the class as usually located in a common area
so a user does not have to hunt too far to find his/her printout.
If remote printers were allowed to be set up as a class, the user
would have to hunt far and wide to locate his/her printout.  Also
remote classes would require the sending scheduler to know which remote
printer is "likely" to be available next.  This necessary data just is
not available between remote systems.

Thus it has been determined that remote classes just do not make any
real sense.

Bob Lienhart