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

  1. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!keele!nott-cs!lut.ac.uk!
  2. From: cgjks1@hpb.lut.ac.uk (James Soutter)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Re: /dev/printer
  5. Message-ID: <1992Nov21.212241.9186@lut.ac.uk>
  6. Date: 21 Nov 92 21:22:41 GMT
  7. References: <1992Nov20.184626.157@mvax.uakom.cs>
  8. Sender: @lut.ac.uk
  9. Organization: Loughborough University, UK.
  10. Lines: 32
  11. Nntp-Posting-Host: 158.125.64.200
  12. X-Newsreader: TIN [version 1.1 PL7]
  13.  
  14. elias@mvax.uakom.cs wrote:
  15. : Hi !
  16. : My printer doesn't print, I have tested port, cable, printer with
  17. : other machine - all O.K. I have found there is no /dev/printer
  18. : file - maybe it's the problem. How can I create it ( it's
  19. : a socket file 0 length ) ?
  20. : Thanks,
  21. : Lubos.Elias@uakom.cs
  22.  
  23.  
  24. It depends on how the printer is connected to your machine.
  25.  
  26. I just connected a printer to serial port A of a SPARCstation IPX.
  27. Serial port A corresponds to /dev/ttya and so I had to create
  28. /dev/lp using...
  29.  
  30.     ln /dev/ttya /dev/lp
  31.  
  32. /dev/lp is the default printer device, eg if another device
  33. is not specified in the printcap entry for the printer then /dev/lp
  34. will be used.  See the manual page of printcap(5) for more details.
  35.  
  36. If you need to create /dev/printer then you can create it in a similar
  37. way.
  38.  
  39.  
  40. --------------------------------------------------------------------------
  41. James Soutter (cgjks1@lut.ac.uk)  -  My opinions are my own and not that of
  42. Dept of Chem Eng, Loughborough University of Technology, LEICS, LE11 3TU, UK
  43.