You are not logged in.

#1 2013-02-21 22:33:02

Picoli
Member
Registered: 2010-06-29
Posts: 17

Can't get canon LPB6300 printer to work on a second machine

Hi

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 
 ----------------------------------------------------------------------------
     [0]    : 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:
https://aur.archlinux.org/packages/capt-src/
http://chakra-project.org/bbs/viewtopic.php?id=6609
http://ubuntuforums.org/showthread.php?t=1983091
https://help.ubuntu.com/community/CanonCaptDrv190
https://wiki.archlinux.org/index.php/Canon_LBP2900


I'm afraid I'm out of ideas.. Can anyone help?

Cheers

Offline

#2 2013-02-22 00:37:32

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: Can't get canon LPB6300 printer to work on a second machine

Offline

#3 2013-02-24 22:47:13

Picoli
Member
Registered: 2010-06-29
Posts: 17

Re: Can't get canon LPB6300 printer to work on a second machine

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:

On the machine with working capt service:
http://pastebin.com/Fyif7zxz
http://pastebin.com/n0KQj14z


On the machine with defect capt service:
http://pastebin.com/rtUW5Gfm
http://pastebin.com/vh94E3Jv

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)

Offline

#4 2013-02-26 01:22:02

Picoli
Member
Registered: 2010-06-29
Posts: 17

Re: Can't get canon LPB6300 printer to work on a second machine

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.

Looked up already:
http://ubuntuforums.org/archive/index.p … 83091.html
http://forums.gentoo.org/viewtopic-t-92 … 3cd435e3a9
http://forum.lowyat.net/topic/2561866/all
with no success.

What causes this error? How can it be fixed?

Offline

Board footer

Powered by FluxBB