The printer I will refer to is reachable in my local network over ethernet and has a fixed IP address.
I got cups to work with my canon printer this afternoon on one of my machines. I searched the whole internet for howtos and I think the steps that finally got the thing working were the following:
1. Install capt-src from aur
2. Add myself to the lp group and relogin
3. Connect the printer and restart cups
3. Perform the following two commands:
sudo lpadmin -p LBP6300 -m CNCUPSLBP6300CAPTK.ppd -v ccp://localhost:59687 -E
sudo ccpdadmin -p LBP6300 -o net:192.168.1.2
and the result is:
sudo ccpdadmin -P CUPS_ConfigPath = /etc/cups/ LOG Path = None UI Port = 59787 Entry Num : Spooler : Backend : FIFO path : Device Path : Status ----------------------------------------------------------------------------  : LBP6300 : ccp : //localhost:59687 : net:192.168.1.2 :
4. Start ccpd daemon
These steps worked on one of my machines. I thought I could perform the same steps on another machine to get it to work but until now I had no success. I tried to print a test page but cups immediately changed the new job to "completed" without printing something out.
The packages installed on the archlinux systems are the same, at least the one i checked (-Qs cups, foomatic, dependencies from aur for capt-src).
yaourt -Qs capt local/capt-src 2.50-9 Canon CAPT Printer Driver for Linux. Compiled from source code.
yaourt -Qs cups extra/cups 1.6.1-6 The CUPS Printing System - daemon package extra/cups-filters 1.0.29-3 OpenPrinting CUPS Filters extra/cups-pk-helper 0.2.4-1 A helper that makes system-config-printer use PolicyKit multilib/lib32-libcups 1.6.1-1 The CUPS Printing System - client libraries (32-bit) extra/libcups 1.6.1-6 The CUPS Printing System - client libraries and headers extra/pycups 1.9.62-1 Python CUPS Bindings extra/system-config-printer 1.3.12-2 A CUPS printer configuration tool and status applet
yaourt -Qs foomatic extra/foomatic-db 1:4.0.17_20120712-1 Foomatic - The collected knowledge about printers, drivers, and driver options in XML files, used by foomatic-db-engine to generate PPD files. extra/foomatic-filters 1:4.0.17_20120712-1 Foomatic - Filter scripts used by the printer spoolers to convert the incoming PostScript data into the printer's native format.
Before you post some links, I've already checked:
I'm afraid I'm out of ideas.. Can anyone help?
Thanks for your link but i don't think it has something to do with relinking libraries since i never had to to that on my first machine. I'm currently pursuing a different approach: I'm comparing the files used by ccpd and cups on both machines with each other. These are the results:
One thing that i noticed is the two libraries resolv and nss which are used on the defect machine. Could it be that?
Last edited by Picoli (2013-02-24 22:49:25)
Ok, i think the problem boils down to the following line in the cups error log:
(/usr/lib/cups/filter/pstocapt3) did not catch or ignore signal 13.
Which does not come up on the working machine.
What causes this error? How can it be fixed?