> -----Original Message-----
> From: Stephen E. Hargrove [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 11, 2001 3:59 PM
> To: debian-user@lists.debian.org
> Subject: Printing
> 
> 
> I'm having problems getting my printer going.  It was 
> working, then I had
> to reinstall, and now I can't get it back up.  Following is a 
> sequence of
> events that seem fairly typical:
> 
> # ps ax | grep lpd
> 1864 ?     S    0:00 /usr/sbin/lpd
> 1865 ?     S    0:00 /usr/sbin/lpd
> 
> # lpr -Plp deleteme.txt
> lpr: connect: Connection refused
> jobs queued, but cannot start daemon.
> 
> # ps ax | grep lpd
> 1864 ?      S    0:00 /usr/sbin/lpd
> 1885 ttyp0  S    0:00 grep lp
> 
> # tail /var/log/lpr.log
> Apr 11 14:49:04 firestarter lpd[1865]: lp: lost connection
> 
> # cat /etc/printcap
> 
> lp:\
>         :sd=/var/spool/lpd/lp:\
>         :mx#0:\
>         :sh:\
>         :rm=192.168.2.50:\
>         :tr:\
>         :rp=lp:\
>         :if=/var/spool/lpd/lp/filter:\
>         :lpd_bounce=true:
> 
> # npadmin --status 192.168.2.50
> status="ready to print";
> 
> As you can see, it's a network printer (HP LaserJet 2100TN).  
> Every time,

A couple of things you might try.  If you are using lprng
then
    :lp=192.168.2.50%9100 \
    take out the rm, rp, and bounce entries.

if you are using lpr
then
    :lp=raw:\

The jetdirect interfaces provide a "text" printer and "raw" printer
but no printer named "lp".

hth
jim

 

Reply via email to