home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sun / admin / 8563 < prev    next >
Encoding:
Internet Message Format  |  1992-11-22  |  2.0 KB

  1. 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
  2. From: lupe@ukw.uucp (Lupe Christoph)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Re: /dev/printer
  5. Message-ID: <1992Nov22.100925.4435@ukw.uucp>
  6. Date: 22 Nov 92 10:09:25 GMT
  7. References: <1992Nov20.184626.157@mvax.uakom.cs> <1992Nov21.212241.9186@lut.ac.uk>
  8. Sender: uucp@stasys.sta.sub.org
  9. Organization: cic
  10. Lines: 47
  11.  
  12. cgjks1@hpb.lut.ac.uk (James Soutter) writes:
  13.  
  14. >elias@mvax.uakom.cs wrote:
  15. >: Hi !
  16. >: 
  17. >: My printer doesn't print, I have tested port, cable, printer with
  18. >: other machine - all O.K. I have found there is no /dev/printer
  19. >: file - maybe it's the problem. How can I create it ( it's
  20. >: a socket file 0 length ) ?
  21. >: 
  22. >: Thanks,
  23. >: 
  24. >: Lubos.Elias@uakom.cs
  25.  
  26.  
  27. >It depends on how the printer is connected to your machine.
  28.  
  29. >I just connected a printer to serial port A of a SPARCstation IPX.
  30. >Serial port A corresponds to /dev/ttya and so I had to create
  31. >/dev/lp using...
  32.  
  33. >    ln /dev/ttya /dev/lp
  34.  
  35. >/dev/lp is the default printer device, eg if another device
  36. >is not specified in the printcap entry for the printer then /dev/lp
  37. >will be used.  See the manual page of printcap(5) for more details.
  38.  
  39. >If you need to create /dev/printer then you can create it in a similar
  40. >way.
  41.  
  42. Don't create /dev/printer! This is the name of Unix domain socket
  43. the line printer daemon uses. If it is not there, lpd doesn't
  44. start OK.
  45.  
  46. Here is the code in /etc/rc that starts it:
  47.  
  48. if [ -f /usr/lib/lpd ]; then
  49.     rm -f /dev/printer /var/spool/lpd.lock
  50.     /usr/lib/lpd;           echo -n ' printer'
  51. fi
  52.  
  53. Try starting lpd manually.
  54. -- 
  55. | ...!unido!ukw!lupe  (German EUNet, "bang")     |  Disclaimer:            |
  56. | lupe@ukw.UUCP       (German EUNet, domain)     |  This is an unofficial  |
  57. | suninfo!alanya!lupe (Sun Germany)              |  opinion of Christoph & |
  58. | Res non sunt complicanda praeter necessitatem. |  Imschweiler Consulting |
  59.