home *** CD-ROM | disk | FTP | other *** search
- 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!
- From: cgjks1@hpb.lut.ac.uk (James Soutter)
- Newsgroups: comp.sys.sun.admin
- Subject: Re: /dev/printer
- Message-ID: <1992Nov21.212241.9186@lut.ac.uk>
- Date: 21 Nov 92 21:22:41 GMT
- References: <1992Nov20.184626.157@mvax.uakom.cs>
- Sender: @lut.ac.uk
- Organization: Loughborough University, UK.
- Lines: 32
- Nntp-Posting-Host: 158.125.64.200
- X-Newsreader: TIN [version 1.1 PL7]
-
- 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.
-
-
- --------------------------------------------------------------------------
- James Soutter (cgjks1@lut.ac.uk) - My opinions are my own and not that of
- Dept of Chem Eng, Loughborough University of Technology, LEICS, LE11 3TU, UK
-