home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!wupost!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!think.com!ames!agate!doc.ic.ac.uk!cc.ic.ac.uk!imperial.ac.uk!vulture
- From: vulture@imperial.ac.uk (Thomas Sippel - Dau)
- Subject: Re: lp vs lpr
- Message-ID: <1993Jan4.132334.28113@cc.ic.ac.uk>
- Sender: vulture@carrion.cc.ic.ac.uk (Thomas Sippel - Dau)
- Nntp-Posting-Host: cscgc
- Reply-To: cmaae47@imperial.ac.uk
- Organization: Imperial College of Science, Technology and Medicine
- References: <1i89n4INN11s@usenet.INS.CWRU.Edu>
- Date: Mon, 4 Jan 93 13:23:34 GMT
- Lines: 44
-
- In article <1i89n4INN11s@usenet.INS.CWRU.Edu>, cq377@cleveland.Freenet.Edu (David C. Williss) writes:
- -
- - I have a problem which I can't seem to make work. I have a printer
- - on one machine which is running SYSV (with lp for printing). I
- - also have a sun running BSD (lpr for printing). My problem is that
- - I can't seem to make the Sun talk to the SYSV system. I think that
- - the problem is on the SYSV end, because I _had_ the printer on an
- - IBM RS6000 which also uses "lp".
-
- Actually, no, AIX uses qprt, its own printing mechanism, with lp and lpr
- access commands for compatibility.
-
- lp, lpstat is what has been codified in th x/open (XPG3) standard, but
- it does not address printing across a network.
-
- lpr, lpq, lpc, lpd, lprm are parts of the BSD printing system and address
- networks, but have not been codified in a formal standard. IRIX
- will only support lp interfaces for printers connected locally.
-
- You could try to roll your own lpr package for IRIX, but for a solution
- that works this Tuesday try the following on the Sun:
-
- rsh printiris -l lp lp -d myprinter < myfile
-
- On IRIX there is a user lp (with no password by default). So the command
- above executes the lp command under the lp user on the Iris.
- You may have to deal with such vagaries as PostScript text printing rather
- then executing on the printer etc...
-
- Once that works, you have some cleaning up to do, like creating a .rhosts
- file for the user lp on the Iris, and disabling logins for that user,
- documenting the access, writing a wrapper that makes it look like lpr
- on the Sun, ...
-
- - Standards are great! Everybody should have one of their own!
-
- Yes, quite Thomas
-
- --
- *** This is the operative statement, all previous statements are inoperative.
- * email: cmaae47 @ ic.ac.uk (Thomas Sippel - Dau) (uk.ac.ic on Janet)
- * voice: +44 71 589 5111 x4937 or 4934 (day), or +44 71 823 9497 (fax)
- * snail: Imperial College of Science, Technology and Medicine
- * The Center for Computing Services, Kensington SW7 2BX, Great Britain
-