Using Canon printers in Mageia 4

Using Canon printers in Mageia 4

Postby Palewolf » May 9th, '14, 21:54

After a long time without printing, i plugged in my Canon LBP2900 to print a few documents. Linux support for Canon drivers has always been pretty bad, but this time it took me quite a while to get to print anything on Mageia 4, so i'm posting this in order to help other Canon users searching for help.

So, after following the instructions on the driver's manual and other sources like the LBP3100 thread on this forum, Ubuntu's wiki, Arch's wiki, etc... the printer still didn't print. The problem lies with /dev/usb/lp0 not being created, which is weird because Mageia 4 doesn't blacklist usblp like othes.
After a bit of digging dmesg's messages i noticed that lp0 is in fact briefly created, but destroyed right away for lack of proper driver detection. A bit of searching led me to https://bugzilla.redhat.com/show_bug.cgi?id=873123 an luckily that solved my problem.

Long story short: after you've added your printer like stated in the driver's manual, you must execute this 2 commands:
lpadmin -p <printer> -R usb-unidir-default
lpadmin -p <printer> -o usb-no-reattach-default=true


Maybe this should be on the wiki somewhere to better help other users?
Palewolf
 
Posts: 3
Joined: Nov 23rd, '13, 19:17

Re: Using Canon printers in Mageia 4

Postby doktor5000 » May 10th, '14, 11:08

Well, if it's a bug that can be fixed best report it at our bugzilla. In the meantime feel free to add it to the Errata for Mageia 4 in the wiki, as there doesn't seem to be a dedicated page for Canon printers.
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: 14678
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Using Canon printers in Mageia 4

Postby duncangareth » Jun 24th, '14, 23:00

I have found that Canon's software works fine if you download the source code from the Canon website and then compile it on the Mageia system.
The process is rather tedious, but if one perseveres, the compiled binaries do in fact work.(Sometimes a bit of fiddling is required in order to put the relevant files in the right places within CUPS.

Canon has always been somewhat lacking when it comes to Linux driver support.

When in doubt, hack the source.
duncangareth
 
Posts: 53
Joined: Oct 24th, '13, 21:05

Re: Using Canon printers in Mageia 4

Postby pdmartin » Aug 24th, '15, 16:01

Do you have a link for the source code and are there any tutorials anywhere on how to do that?
pdmartin
 
Posts: 5
Joined: Aug 24th, '15, 16:00

Re: Using Canon printers in Mageia 4

Postby doktor5000 » Aug 24th, '15, 19:36

That is absolutely not necessary. But anyways, please have a look at the age of this thread, last reply was from over a year ago.
And please do not cross-post. Continued in your thread: viewtopic.php?f=24&t=10198
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: 14678
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Using Canon printers in Mageia 4

Postby salish » Oct 7th, '15, 06:17

Having a problem with a Canon PIXMA mg5520 wireless printer/scanner in Mageia 5. Unit works fine using Linux Mint Debian Edition but after inserting the exact config info in Mageia the "Cannot find printer" msg pops up. Can't spot what is different so need help.

Best regards,
salish
 
Posts: 2
Joined: Jun 2nd, '13, 04:52

Re: Using Canon printers in Mageia 4

Postby doktor5000 » Oct 7th, '15, 11:45

Please at the very least open a separate thread and provide some basic information, like how is the printer connected (USB,wifi, ...)
Also please pay atention to the firewall settings: viewtopic.php?f=24&t=9986
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: 14678
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Using Canon printers in Mageia 4

Postby salish » Oct 7th, '15, 20:10

Forget it I'l just go back to LMDE
salish
 
Posts: 2
Joined: Jun 2nd, '13, 04:52


Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest

cron