On Thu, 23 Dec 1999, Sean /The RIMBoy/ wrote:

> ls -la | grep /dev/printer
> 
> and see what it returns.  If it returns
> 
> /dev/printer  blah    blah     > /dev/lp1
> 
> or something to that effect, make a new link to /dev/lp0.  Or, do what I
> do, skip /dev/printer and go straight for the device in your printcap.
> fixing a 0 or 1 in printcap is easier (IMHO) than resetting the sym link
> in /dev.  

Sean-

I took a look at the device files and /dev/printer is not a symbolic link
to an lp device. Doing a file on it also indicates that it is a socket
and not a character device. Have no idea why the file is a socket.

 [flynnmj@spam /dev]$ ls -ltr printer lp0
 crw-rw----   1 root     daemon     6,   0 May  5  1998 lp0
 srw-------   1 root     root            0 Dec 20 20:27 printer
 [flynnmj@spam /dev]$ file printer lp0
 printer: socket
 lp0:     character special (6/0)


Laters

mike flynn - [EMAIL PROTECTED]
The Company Store - http://www.magpage.com/~flynnmj/tcs.html

          Brought to you by <B>Team SPAM!</B> where we believe:
                   <I>"Information in the noise!"</I>

Reply via email to