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

Re: Cannot print at all (Canon S400 + CUPS)



On Mon, Oct 15, 2001 at 11:26:48PM -0400, Peter S Galbraith wrote:
| 
| This is the first time ever that I have difficulty printing on
| Linux.  Weird.
| 
| Bootup reports:
|  parport0: PC-style at 0x378 (0x778) [SPP,ECP,ECPEPP,ECPPS2]
|  parport0: detected irq 7; use procfs to enable interrupt-driven operation.
|  parport_probe: succeeded
|  parport0: Printer, Canon S400
|  lp0: using parport0 (polling).
| 
| Yet, nothing happens if I even cat a file to /dev/lp0 :
| 
|  $ cat logo.gri > /dev/lp0

This means the problem is in the parallel connection somewhere.

| I have the following packages installed for CUPS:
| 
| $ dpkg -l | grep cups
| ii  cupsomatic-ppd 0.20010420-3   cups printer ppd's from LinuxPrinting.org
| ii  cupsys         1.1.10-2       Common UNIX Printing System(tm) - server
| ii  cupsys-client  1.1.10-2       Common UNIX Printing System(tm) - client pro
| ii  cupsys-pstoras 1.1.10-2       Common UNIX Printing System(tm) - pstoraster
| ii  libcupsys2     1.1.10-2       Common UNIX Printing System(tm) - libs
| 
| If I try to print a plain ASCII file using CUPS, I get an error
| in /var/log/cups/error_log
| 
| $ lp logo.gri
| 
|  I  Job 12 queued on 'Canon' by 'root'.
|  I  Started filter /usr/lib/cups/filter/pstops (PID 525) for job 12.
|  I  Started filter /usr/lib/cups/filter/cupsomatic (PID 526) for job 12.
|  I  Started backend /usr/lib/cups/backend/parallel (PID 527) for job 12.
|  E  PID 526 stopped with status 32!

It looks like your CUPS setup is correct, at least it sent the job
through the filters and tried to send it to the device.

| What is error status 32?

I don't know, but from your comment above I think it means the
parallel port isn't working.

You should see stuff (though maybe not useful stuff) if you cat a file
(try a plain text file) to the printer device.  I reallly don't know
what the problem is since the boot messages look like it found the
hardware.  You do have the printer plugged in, right (just checking
the basics)?  Do you have the 'lp' module loaded in addiiton to
parport and parport-pc?

-D



Reply to: