[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lpd looking for wrong device



Hi all,

When I try to print to one of my 'printers' lpd tries to look for
/dev/lp instead of /dev/lp1.  This is my printcap


lpm|djm|hpdj660m|HP Deskjet 660Cse Mono Econo:\ 
        :lp=/dev/lp1:sd=/var/spool/lpd/lpm:\ 
        :sh:pw#80:pl#66:px#1440:mx#0:\ 
        :if=/usr/sbin/lpm-filter:\ 
        :af=/var/log/lp-acct:lf=/var/log/lp-errs: 
 
raw|djraw|hpdj660raw|HP Deskjet 660Cse Printer:\  
        :lp=/dev/lp1:sd=/var/spool/lpd/raw:\ 
        :sh:pw#80:pl#66:px#1440:mx#0:\  
        :af=/var/log/lp-acct:lf=/var/log/lp-errs: 

When I print to 'lpm' it works as expected. When I try to print to 'raw'
the log file, /var/log/lpr.log, states:

Jun  5 15:18:31 brian lpd[15270]: /dev/lp: No such file or directory

(This printer is for samba printing so I don't need an input filter.)

Why is lpd looking for /dev/lp instead of /dev/lp1 as is specified in
the printcap?  I can make a symlink in dev of lp->lp1 but that just
hides the problem.

By the way this is a hamm systems with lpr verstion 5.9-26.1

Thanks,

Brian 
-- 
Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: