I've just switched from Redhat 6.2 to Debian 2.2r2 and can't get my
DeskJet695C working.
Everything worked fine under RH using printtool to set it up.

/var/log/messages shows the following lines...

Jan  9 09:39:58 monster kernel: parport0: PC-style at 0x378 (0x778)
[SPP,ECP,ECPEPP,ECPPS2]
Jan  9 09:39:58 monster kernel: parport0: detected irq 7; use procfs to
enable interrupt-driven operation.

I've played with the BIOS setting, it was originally set to just SPP (when
RH was working)

I've tried installing, un-installling and  re-installing both lpr and lprng
packages.

/etc/modules.conf has the following line but does not include any alias for
/dev/printer or /dev/lp* ...

alias parport_lowlevel parport_pc

/etc/printcap contains ...

lp|Generic dot-matrix printer entry:\
        :lp=/dev/lp0:\
        :sd=/var/spool/lpd/lp:\
        :af=/var/log/lp-acct:\
        :lf=/var/log/lp-errs:\
        :pl#66:\
        :pw#80:\
        :pc#150:\
        :mx#0:\
        :sh:


When I try

        echo "this is a test" > /dev/lp0

I get

        su: /dev/lp0: No such device

If I try

        echo "this is a test" | lpr

and then look at lpq I get

Printer: [EMAIL PROTECTED]  'Generic dot-matrix printer entry'
 Queue: 1 printable job
 Server: pid 293 active
 Unspooler: pid 294 active
 Status: cannot open '/dev/lp0' - 'No such device', attempt 1, sleeping 10
at 09:53:21.636
 Filter_status: waiting for lp to become ready (offline ?)
 Rank   Owner/ID                  Class Job Files                 Size Time
active [EMAIL PROTECTED]             A   291 (stdin)                 15
09:53:21


Hope someone can help.  Thanks in advance

Dave

Reply via email to