[comp.unix.sysv386] SCO TCP/IP: lpr service?

rbraun@spdcc.COM (Rich Braun) (02/22/91)

I'm about to install TCP/IP between various systems, including a few SCO
Unix 3.2.2 boxes, an RS-6000, and an NCR Tower.  I've also got a DOS
system serving as a gateway into a Novell network.

Looking through SCO's TCP/IP manual, I find no support for standard
lprd services which I used to run on a Sun network with various other
systems (like a VAX/VMS system running Multinet).  What gives?  Did
SCO really leave out something as fundamental as printer service from
their costly TCP/IP product?  How do I get my lpr / lpq / etc commands
to work via TCP/IP?

-rich

moore@chili.cs.utk.edu (Keith Moore) (02/23/91)

In article <6563@spdcc.SPDCC.COM>, rbraun@spdcc.COM (Rich Braun) writes:
|> I'm about to install TCP/IP between various systems, including a few SCO
|> Unix 3.2.2 boxes, an RS-6000, and an NCR Tower.  I've also got a DOS
|> system serving as a gateway into a Novell network.
|> 
|> Looking through SCO's TCP/IP manual, I find no support for standard
|> lprd services which I used to run on a Sun network with various other
|> systems (like a VAX/VMS system running Multinet).  What gives?  Did
|> SCO really leave out something as fundamental as printer service from
|> their costly TCP/IP product?  How do I get my lpr / lpq / etc commands
|> to work via TCP/IP?
|> 
|> -rich

I wrote my own version of "standalone" lpr that speaks the Berkeley
lpd protocol.  You can use it by itself or as a back-end to the
SysV-style printer spooler that SCO supplies.  Its command-line
interface is nearly-identical to the Berkeley lpr program.  The
biggest limitation is that there is no lprm or lpq program to go with
it at present, but these would not be too hard to implement.

Let me know if you want it.  If there is enough interest, I'll make it
generally available via the sources groups.
--
Keith Moore / U.Tenn CS Dept / 107 Ayres Hall / Knoxville TN  37996-1301
Internet: moore@cs.utk.edu      BITNET: moore@utkvx

basien@pemcom.pem-stuttgart.de (Tillman Basien) (02/26/91)

rbraun@spdcc.COM (Rich Braun) writes:

>I'm about to install TCP/IP between various systems, including a few SCO
>Unix 3.2.2 boxes, an RS-6000, and an NCR Tower.  I've also got a DOS
>system serving as a gateway into a Novell network.

>Looking through SCO's TCP/IP manual, I find no support for standard
>lprd services which I used to run on a Sun network with various other
>systems (like a VAX/VMS system running Multinet).  What gives?  Did
>SCO really leave out something as fundamental as printer service from
>their costly TCP/IP product?  How do I get my lpr / lpq / etc commands
>to work via TCP/IP?

for us, it was no problem that lpd is missing. Our lineprinter scripts are
working wir the rcmd and/or with rsh. You setup remote shell commands over
the network and piping your stdout trough it.
So try pr filename | rcmd host "lp -ooptins"

Ferst you must test, wether you have access to the user system for the
lineprinter.
So login as root, change your group to the lineprinter group with su
try to run date for example on the other host:
	:root
	su lp
	id
	rcmd host date

If this failes, setup a .rhost-file by the printers home directory.


-- 
					             basien@PEM-Stuttgart.de
Dipl.-Ing. Tillmann A. Basien           PEM Programmentwicklungsgesellschaft
Vaihinger Str.49, PostBox 810165                      fuer Microcomputer mbH
FRG 7000 Stuttgart 80             voice: +49-711-713045  fax: +49-711-713047
-- 
					             basien@PEM-Stuttgart.de
Dipl.-Ing. Tillmann A. Basien           PEM Programmentwicklungsgesellschaft
Vaihinger Str.49, PostBox 810165                      fuer Microcomputer mbH
FRG 7000 Stuttgart 80             voice: +49-711-713045  fax: +49-711-713047

leo@unipalm.uucp (E.J. Leoni-Smith) (03/05/91)

rbraun@spdcc.COM (Rich Braun) writes:

>I'm about to install TCP/IP between various systems, including a few SCO
>Unix 3.2.2 boxes, an RS-6000, and an NCR Tower.  I've also got a DOS
>system serving as a gateway into a Novell network.

>Looking through SCO's TCP/IP manual, I find no support for standard
>lprd services which I used to run on a Sun network with various other
>systems (like a VAX/VMS system running Multinet).  What gives?  Did
>SCO really leave out something as fundamental as printer service from
>their costly TCP/IP product? 

Yes: All system V stuff has networking as an 'add on' V.4 will support
remote printing, but will only act as LPR client, not LPD server. There
is a new mechanism in V.4 - don't know more.

>How do I get my lpr / lpq / etc commands
>to work via TCP/IP?

Patch the print drive scripts to use rsh hostname lp -dprinter < $file or
whatever. i.e. use rsh to remote invoke the print Q on SCO. beware that
user root cannot use rsh, so if you try a remote print as root it will
fail.

This hack works ok. easy from sysv.4 to sysv.4 Harder from 4.3BSD as 
I don't know where to patch lpr mechaniusm.

If you need more info mail me.