cups 1.2.2 and parallel port printers

Alex Zbyslaw xfb52 at dial.pipex.com
Thu Sep 7 07:40:15 PDT 2006


Robert Huff wrote:

>Jona Joachim writes:
>
>  
>
>> > 	_In my case_, CUPS as ported does not like the permissions on
>> > /dev/lpt0*.  They default to "crw-------"; setting them to
>> > "crw-rw-rw-" makes the parallel printer appear.
>> > 	There should be a way to tall devfs to change those permissions
>> > automatically, but I haven't been able to figure it out.
>> 
>> You have to specify
>>   perm  lpt0  0666
>> in /etc/devfs.conf
>>    
>>
>
>huff at jerusalem>> dir /dev/lpt*
>crw-------  1 root  wheel    0,  79 Sep  5 20:45 /dev/lpt0
>crw-------  1 root  wheel    0,  80 Sep  5 20:45 /dev/lpt0.ctl
>huff at jerusalem>> grep lpt /etc/devfs.conf
>#       make lpt0 available to CUPS
>perm            /dev/lpt0        0666
>  
>
Did you as root do

sh /etc/rc.d/devfs start

AFAIK rules are only applied when the node is created, which it already 
would have been when you added/changed your rule.

Also not /dev/lpt0 but just lpt0.  Devfs rules only apply to /dev!

--Alex




More information about the freebsd-questions mailing list