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

printer not responding --- driving me mad!



Hi,

I'm running a 2.4.0-test11 kernel under debian linux (potato + a little
woody).  I have a printcap file which has worked before.  I understand
that what used to be /dev/lp1 in 2.0 kernels is now /dev/lp0 so I have
made this change.  But neither lprng, nor the standard lpr work.  I have
unplugged and plugged the cable so I think it's connected okay.

Using lprng, when I do lpq I get the following message, after waiting a
while:

# lpq
Printer 'lp@localhost' - cannot open connection - Connection timed out
Make sure LPD server is running on the server

Using lpr, the "lpq" command works, but when I try to print, it comes up
with 

# lpr test.txt
lpr: connect: No such file or directory
jobs queued, but cannot start daemon.

I tried typing directly to /dev/lp0, but part way through it came up with

# cat > /dev/lp0
sasfasdf
asdfasdfsdf
cat: write error: Input/output error

I don't know what's wrong.  Is there something wrong with my kernel?

I have the lp module loaded okay:

# lsmod
Module                  Size  Used by
ppp_deflate            39168   0  (autoclean)
bsd_comp                4128   0  (autoclean)
ppp_async               6192   1  (autoclean)
ppp_generic            12800   3  (autoclean) [ppp_deflate bsd_comp
ppp_async]
slhc                    4496   1  (autoclean) [ppp_generic]
ipt_MASQUERADE          1328   1  (autoclean)
iptable_filter          1856   0  (unused)
iptable_nat            12224   0  [ipt_MASQUERADE]
ip_conntrack           12352   1  [ipt_MASQUERADE iptable_nat]
ip_tables               9856   5  [ipt_MASQUERADE iptable_filter
iptable_nat]
lp                      4480   0  (autoclean)

I don't know what else to try.

Thanks in advance for any help.

Mark.

P.S. My printcap is:

lp|bjc4200|Canon BJC-4200:\
        :lp=/dev/lp0:sd=/var/spool/lpd/bjc4200:\
        :sh:pw#80:pl#72:px#1440:mx#0:\
        :if=/etc/magicfilter/bjc4200-filter:\
        :af=/var/log/lp-acct:lf=/var/log/lp-errs:


_/~~~~~~~~___/~~~~~~____________________________________________________
____/~~_____/~~__/~~__________________________Mark_Phillips____________
____/~~_____/~~________________________________mark@ist.flinders.edu.au_
____/~~\HE___/~~__/~~\APTAIN_____________________________________________
____/~~______/~~~~~~____________________________________________________
__________________________________________________________________________
        "They told me I was gullible ... and I believed them!" 




Reply to: