home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ornl!rsg1.er.usgs.gov!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!sixgun.East.Sun.COM!seven-up.East.Sun.COM!sungy!stasys!alanya!lupe
- From: lupe@ukw.uucp (Lupe Christoph)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: /dev/printer
- Message-ID: <1992Nov22.100925.4435@ukw.uucp>
- Date: 22 Nov 92 10:09:25 GMT
- References: <1992Nov20.184626.157@mvax.uakom.cs> <1992Nov21.212241.9186@lut.ac.uk>
- Sender: uucp@stasys.sta.sub.org
- Organization: cic
- Lines: 47
-
- cgjks1@hpb.lut.ac.uk (James Soutter) writes:
-
- >elias@mvax.uakom.cs wrote:
- >: Hi !
- >:
- >: My printer doesn't print, I have tested port, cable, printer with
- >: other machine - all O.K. I have found there is no /dev/printer
- >: file - maybe it's the problem. How can I create it ( it's
- >: a socket file 0 length ) ?
- >:
- >: Thanks,
- >:
- >: Lubos.Elias@uakom.cs
-
-
- >It depends on how the printer is connected to your machine.
-
- >I just connected a printer to serial port A of a SPARCstation IPX.
- >Serial port A corresponds to /dev/ttya and so I had to create
- >/dev/lp using...
-
- > ln /dev/ttya /dev/lp
-
- >/dev/lp is the default printer device, eg if another device
- >is not specified in the printcap entry for the printer then /dev/lp
- >will be used. See the manual page of printcap(5) for more details.
-
- >If you need to create /dev/printer then you can create it in a similar
- >way.
-
- Don't create /dev/printer! This is the name of Unix domain socket
- the line printer daemon uses. If it is not there, lpd doesn't
- start OK.
-
- Here is the code in /etc/rc that starts it:
-
- if [ -f /usr/lib/lpd ]; then
- rm -f /dev/printer /var/spool/lpd.lock
- /usr/lib/lpd; echo -n ' printer'
- fi
-
- Try starting lpd manually.
- --
- | ...!unido!ukw!lupe (German EUNet, "bang") | Disclaimer: |
- | lupe@ukw.UUCP (German EUNet, domain) | This is an unofficial |
- | suninfo!alanya!lupe (Sun Germany) | opinion of Christoph & |
- | Res non sunt complicanda praeter necessitatem. | Imschweiler Consulting |
-