[SOLVED] Canon Printer LBP3100

[SOLVED] Canon Printer LBP3100

Postby joecoeur » Jun 24th, '11, 13:54

Hi All,
I have been trying to get my Canon printer to work with Mageia.
I have been using the CAPT drivers from Canon site and the ubuntu forum guide. However, this printer does not seem to work with Mageia.
Can someone please help me with the set up?
That's the only thing which keeps me from going to Windows. Otherwise all other drivers are perfect in Mageia.
Thank you!!
joecoeur
 
Posts: 36
Joined: Jun 24th, '11, 13:50

Re: Canon Printer LBP3100

Postby isadora » Jun 24th, '11, 14:25

Very welcome to the Mageia-forum joecoeur!!!!!

This reminds me of the days i was struggling in Mandriva to get any output from my Canon LBP5000.
It made me pull my hair out, which never came back actually.

However, in the end i sold my nearly new printer, and bought the HP CP1515N.
Connected it to the computer, and after some package-installs, nearly automagically, i could print within minutes.

I can not give you real advise other than a link to:
http://72.167.1.205/drivers/canon-i-sen ... 30527.html

And like to wish you lots of success!!!
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2744
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Canon Printer LBP3100

Postby Germ » Jun 24th, '11, 15:12

Starting in 1999: Mandrake > Mandriva > Mageia
Linux User #274693
User avatar
Germ
 
Posts: 582
Joined: Mar 30th, '11, 13:16
Location: Chelsea, Oklahoma USA

Re: Canon Printer LBP3100

Postby joecoeur » Jun 29th, '11, 15:13

I have been trying all sorts of manipulations but still no success. The strange thing is that I made it work with Fedora and Open SUSE.
Basically the steps I have followed are as follows:

1.Download the package .
2. Double click the 2 rpms to install them.
3. Restart cups

sudo /etc/init.d/cupsys restart ( THIS IS MY FIRST PROBLEM SINCE init.d IS NOT FOUND!!!)


4. Register the ppd with the print spooler
Enter the following command:

# sudo /usr/sbin/lpadmin -p LBP3100 -m CNCUPSLBP3150CAPTK.ppd -v ccp://localhost:59687 -E

5.Register the printer in the ccpd daemon setup file.
USB Connection.
Enter the following rpm command:

# sudo /usr/sbin/ccpdadmin -p LBP3100 -o /dev/usb/lp0

6.Auto Start ccpd
In a terminal you have to run:

sudo update-rc.d ccpd defaults 50

7.Configuring CUPS

sudo /usr/sbin/lpadmin -p LBP3100 -m CNCUPSLBP3150CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E

8.Configuring Canon services

$ sudo /etc/init.d/ccpd restart
$ sudo /etc/init.d/ccpd status
Canon Printer Daemon for CUPS: ccpd: 8956 8954 ( AT THIS POINT I SEE THE 2 NUMBERS)

If you see only one number at the end of line, edit /etc/cccpd.conf and add this:
<Printer LBP3100>
DevicePath /dev/usblp0
</Printer>
Instead you may try this:

$ sudo /usr/sbin/ccpdadmin -p LBP3100 -o /dev/usblp0

Next, check for record in /etc/cccpd.conf
Now, restart canon services:

$ sudo /etc/init.d/ccpd restart
$ sudo /etc/init.d/ccpd status
Canon Printer Daemon for CUPS: ccpd: 8956 8954

9.Starting/stopping on USB add/Remove
Fill /etc/udev/rules.d/85-canon-capt.rules with your preferred editor

$ gksudo gedit /etc/udev/rules.d/85-canon-capt.rules ( I HAVE NOT FOUND THIS FILE !!!!!!!!!!!!!!)
with this:

KERNEL=="lp*", SUBSYSTEMS=="usb", ACTION=="add", SYSFS{idVendor}=="04a9", RUN+="/bin/bash
/etc/init.d/ccpd start"
KERNEL=="lp*", SUBSYSTEMS=="usb", ACTION=="remove", RUN+="/bin/bash /etc/init.d/ccpd stop"

Next, reload UDEV config:
$ sudo udevadm control --reload-rules

Now, using
$ sudo /etc/init.d/ccpd status

check that printer started/stopped on adding/removing it from USB.

10.Restart and Verify
After you login open a terminal and run:
sudo /etc/init.d/ccpd status
Canon Printer Daemon for CUPS: ccpd: 1135 1131


11. Status Monitor
The Canon status monitor can alert you to any issues with your printer. This can be run directly on the termial by issuing this
command:
captstatusui -P <Your printer name as specified in cups>
My printers example: captstatusui -P LBP3100

Can someone please help on what I have done wrong or what is missing?
Thanks!!!!!
joecoeur
 
Posts: 36
Joined: Jun 24th, '11, 13:50

Re: Canon Printer LBP3100

Postby doktor5000 » Jun 29th, '11, 16:49

joecoeur wrote:3. Restart cups

sudo /etc/init.d/cupsys restart ( THIS IS MY FIRST PROBLEM SINCE init.d IS NOT FOUND!!!)
[...]

Can someone please help on what I have done wrong or what is missing?


You can restart cups by
Code: Select all
service cups restart

after you made sure cups is installed. What does rpm -qa | grep cups show?

EDIT: If /etc/init.d is missing on your system, then something is badly broken.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Canon Printer LBP3100

Postby joecoeur » Jun 30th, '11, 05:23

hello Doktor5000,
rpm -qa | grep cups gives
cups-drivers-lbp660-0.3.1-5.mga1
python-cups-1.9.55-1.mga1
cndrvcups-common-2.20-1
cups-drivers-lxx74-0.8.4.2-9.mga1
cups-common-1.4.6-3.mga1
cups-drivers-magicolor5430dl-1.8.1-12.mga1
cups-drivers-bjnp-0.5.4-2.mga1
cups-drivers-foo2zjs-0.0-0.20101208.1.mga1
cndrvcups-capt-2.20-1
cups-drivers-pegg-0.23-9.mga1
libcups2-1.4.6-3.mga1
cups-drivers-splix-2.0.0-4.mga1
cups-windows-6.0-4.mga1
cups-drivers-2008-4.mga1
gutenprint-cups-5.2.6-1.mga1
cups-1.4.6-3.mga1
cups-drivers-magicolor2430dl-1.6.1-12.mga1
libcups2-devel-1.4.6-3.mga1
cups-drivers-capt-0.1-10.mga1
cups-pdf-2.5.1-1.mga1
cups-drivers-magicolor5440dl-1.2.1-12.mga1
cups-serial-1.4.6-3.mga1

i have installed cups ok i suppose..
joecoeur
 
Posts: 36
Joined: Jun 24th, '11, 13:50

Re: Canon Printer LBP3100

Postby doktor5000 » Jun 30th, '11, 09:07

So which of the installation steps you posted don't work?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Canon Printer LBP3100

Postby joecoeur » Jun 30th, '11, 11:13

on doing the last part and doing
captstatusui -P LBP3100
I get a monitoring window which pops up but which says:
Message - Communication Error
Check the following:
- Is the printer turned on?
- Is the cable properly connected?

I have followed the steps and it still says this?
joecoeur
 
Posts: 36
Joined: Jun 24th, '11, 13:50

Re: Canon Printer LBP3100

Postby doktor5000 » Jun 30th, '11, 15:49

Ok, so the status applet doesn't seem to work. But more importantly - what about printing?
Do you see the printer in the cups printer management and can you print a test page?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Canon Printer LBP3100

Postby joecoeur » Jul 1st, '11, 07:21

nothing comes out of the printer!! I see the document sent for printing, it keeps saying "Processing"
joecoeur
 
Posts: 36
Joined: Jun 24th, '11, 13:50

Re: Canon Printer LBP3100

Postby joecoeur » Jul 4th, '11, 14:10

I think the number at the last bit 59687 could be wrong.. someone can help please ?
sudo /usr/sbin/lpadmin -p LBP3100 -m CNCUPSLBP3150CAPTK.ppd -v ccp://localhost:59687 -E
joecoeur
 
Posts: 36
Joined: Jun 24th, '11, 13:50

Re: Canon Printer LBP3100

Postby joecoeur » Jul 6th, '11, 18:24

I finally give up!!!! in mandriva wiki it says:
Canon printers

Canon is not very faithful to Linux. Prefer HP.
If you want Canon, then prefer Linux distributions Fedora (free) or RedHat (you have to pay for it) to Mandriva.
Mandriva 2009 Spring includes drivers for Canon printers, but they don't all work.
Canon has provided Linux drivers for free under the General public licence (i.e. free drivers) for a few years. But usually these drivers are for the 32 bits architecture only, and are not designed specially for Mandriva Linux. They are not included in Mandriva.
If your Canon printer is recognised by Mandriva, Mandriva will install drivers automatically. You just have to allow that with the super-user ("root") password when asked.
If it doesn't work, try one of the following.

if mageia forks from mandriva, then either i sell my canon or go to fedora!
joecoeur
 
Posts: 36
Joined: Jun 24th, '11, 13:50

Re: Canon Printer LBP3100

Postby doktor5000 » Jul 6th, '11, 22:44

joecoeur wrote:if mageia forks from mandriva, then either i sell my canon or go to fedora!

Maybe i misunderstood, but:

Mageia is already a fork from Mandriva. Else it wouldn't exist.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Canon Printer LBP3100

Postby joecoeur » Jul 7th, '11, 06:25

Mageia forks from Mandriva but it is now way much better than Mandriva!
however, with mandriva 2011 and the ROSA labs it does have serious competition.
I would be so much happy if Canon printers could be supported by Mageia, i seriously dont wanna go to fedora for that matter... i tried an hp printer this matter and it works like a charm :D
joecoeur
 
Posts: 36
Joined: Jun 24th, '11, 13:50

Re: Canon Printer LBP3100

Postby joecoeur » Jul 7th, '11, 07:34

Just a quick thought : Can I use the Windows driver for this printer?
And how should I do then?
Thanks!
joecoeur
 
Posts: 36
Joined: Jun 24th, '11, 13:50

Re: Canon Printer LBP3100

Postby doktor5000 » Jul 7th, '11, 09:23

No, you can't.
But after searching a bit, i found a wiki article at mandrivauser.de
for a Canon LBP 3200 under Mandriva 2010.1, this is as close as it gets.
Buy maybe you should try this under a fresh installation, just to be sure:
http://translate.google.de/translate?js=n&prev=_t&hl=de&ie=UTF-8&layout=2&eotf=1&sl=de&tl=en&u=http%3A%2F%2Fwww.mandrivauser.de%2Fdoku%2Fdoku.php%3Fid%3Dhardware%3Aperipherie%3Ahowto_canon

Just remembered that, one of our mandrivauser.de members also had problems
with such a CANON printer and the same driver. But that is not the problem,
the problem is, that the usblp kernel module is missing, so no connection to the printer.
Even if you have done the installation correct.

So follow that howto and you should be good to print :)
If you have problems understanding or don't know what to do at some of the steps, just ask!
Last edited by doktor5000 on Jul 7th, '11, 09:34, edited 1 time in total.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Canon Printer LBP3100

Postby doktor5000 » Jul 7th, '11, 09:33

Well, this will not work, too, as the usblp kernel module won't load due to Invalid module format.
So you should file a package request for usblp kernel module via https://bugs.mageia.org/enter_bug.cgi?product=Mageia&format=guided
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Canon Printer LBP3100

Postby doktor5000 » Jul 7th, '11, 17:49

Wait before you file a bug report:
If you tell me what kernel you use, i can send you the usblp kernel module by mail.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Canon Printer LBP3100

Postby joecoeur » Jul 9th, '11, 18:24

Thanks so much for taking time to sort out this Printer issue.
I believe it is a general case with Canon and Mandriva/Mageia.
Can you tell me quickly how how i can find the kernel i'm using?
I have the system updated to the latest ones automatically..
joecoeur
 
Posts: 36
Joined: Jun 24th, '11, 13:50

Re: Canon Printer LBP3100

Postby joecoeur » Jul 9th, '11, 20:10

by doing lspcidrake I got :
hub : Linux 2.6.38.7-desktop586-1.mga ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub]
hub : Intel Corp.|Integrated Rate Matching Hub [Hub|Unused|Full speed (or root) hub]
option : AnyDATA Corporation|AnyDATA CDMA Products
btusb : Ralink Technology, Corp.|Unknown [Wireless|Radio Frequency|Bluetooth]
hub : Linux 2.6.38.7-desktop586-1.mga ehci_hcd|EHCI Host Controller [Hub|Unused|Full speed (or root) hub]

I suppose the kernel is linux 2.6.38.7-desktop586-1.mga, can you send me the usblp kernel module?
joecoeur
 
Posts: 36
Joined: Jun 24th, '11, 13:50

Re: Canon Printer LBP3100

Postby doktor5000 » Jul 10th, '11, 10:19

With uname -a or uname -r you can find out which kernel you're running at the moment.
Will send you the module later this day or tomorrow.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Canon Printer LBP3100

Postby joecoeur » Jul 16th, '11, 17:13

Hello Doktor5000,
Regret to say that with the kernel module you gave and the steps (mine or those from the mandriva user),
my canon still does not want to work.. I have to a new printer HP at the moment, I'll have to shift to Win7 for printing...
the module does not work by the way:
modprobe usblp
FATAL: Error inserting usblp (/lib/modules/2.6.38.7-desktop586-1.mga/kernel/drivers/usb/class/usblp.ko): Invalid module format
joecoeur
 
Posts: 36
Joined: Jun 24th, '11, 13:50

Re: Canon Printer LBP3100

Postby doktor5000 » Jul 16th, '11, 18:23

Well, i think i know that one.
The problem is, i just copied the kernel module after it has been installed in the virtual machine.
Only thing you can try as root is:
Code: Select all
gzip /lib/modules/2.6.38.7-desktop586-1.mga/kernel/drivers/usb/class/usblp.ko

And then try again. Otherwise maybe the kernel specialists have an idea ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Canon Printer LBP3100

Postby joecoeur » Jul 16th, '11, 19:52

copied the gz to the new kernel of mageia still
modprobe usblp
FATAL: Error inserting usblp (/lib/modules/2.6.38.8-desktop586-4.mga/kernel/drivers/usb/class/usblp.ko.gz): Invalid module format
joecoeur
 
Posts: 36
Joined: Jun 24th, '11, 13:50

Re: Canon Printer LBP3100

Postby doktor5000 » Jul 16th, '11, 20:05

I sent Mageia kernel maintainer Thomas Backlund an email, let's hope he finds some time to help us with this problem.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Next

Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest