home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!milton!dittrich
- From: dittrich@milton.u.washington.edu (Dave Dittrich)
- Newsgroups: comp.sys.sgi
- Subject: Re: lp/lpr printer hacks
- Keywords: lp lpr
- Message-ID: <dittrich.712439536@milton>
- Date: 29 Jul 92 19:52:16 GMT
- References: <1992Jul29.174504.24633@sfu.ca>
- Sender: news@u.washington.edu (USENET News System)
- Organization: University of Washington
- Lines: 29
-
- langer@monashee.sfu.ca (Steve Langer) writes:
-
- > What I did is to create a dummy user, called "printer", who has /usr/bin/lp
- >for a shell, and no password. (Please tell me if this is a horrible
- >security risk!) Then I can print from a remote machine that doesn't have lp
- >by running
-
- Yes it is. And what is more, you have now told everyone on the net that
- your machine can be logged into! Fix it ASAP!
-
- As far as the lp/lpr problem goes, I have a script which I obtained from
- SGI tech support that hacks things up to run an HP LaserWriter using
- lpr. The problem is that IRIX does not support any sharing of devices
- between lp and lpr. You must fool lpr into giving the print job to lp.
-
- Call SGI and tell them what you want to do and ask them for the
- undocumented fix for getting a job from lpr to lp. I get *really*
- pissed off when a vendor tells me that they support a standard (lpr in
- this case) but when I try to hook it up they say, "well you can use lpr
- to go to *another* lpr machine, you just can't use lpr with a printer
- attached to your IRIX machine."
-
- Plesae note. This does work, but you lose all visibility of print jobs
- using lpq (lpq rightly says there are no jobs because it passed them
- off to lp). You also have to know how to configure *both* lp and lpr.
- We have no problems printing with lpr from a bunch of Indigos to a NeXT,
- so that will work fine. If things get confused, you often have to dig
- around to find out what got screwed up and restart everything from
- scratch.
-