Linux Mint & Canon printers :-(

Forum rules
Before you post please read this
Post Reply
Finrod_s
Level 1
Level 1
Posts: 5
Joined: Wed Aug 29, 2018 2:55 am

Linux Mint & Canon printers :-(

Post by Finrod_s » Wed Aug 29, 2018 4:34 am

dear all,
I convinced my father to have a new Linux machine instead of the Mac Mini he wanted to change as had now some hw issues.
The shop where he got the new machine (a Lenovo desktop with i5, os on a ssd, 8 GB Ram...) installed the latest Linux Mint (not very familiar with it, my machines have Manjaro).
Now, Mint works fine,,, except that printers, a Canon LBP3010 and a huge photographic Canon PRO 9000 don't print... the system seem to see both, but then printing doesn't start :-(
With lpinfo -v I get:

Code: Select all

direct ccp
network socket
network https
direct cnusb:/dev/usb/lp0
network lpd
file cups-brf:/
network beh
direct hp
network ipp
network http
network ipps
direct usb://Canon/LBP3010/LBP3018/LBP3050?serial=0000B186E9Gu
serial serial:/dev/ttyS0?baud=115200
direct hpfax
With lpstat -p -d:

Code: Select all

la stampante Canon-LBP3010-LBP3018-LBP3050 è inattiva.  è stata abilitata da dom 26 ago 2018 22:01:14 CEST
**** predefinita del sistema: Canon-LBP3010-LBP3018-LBP3050
Meaning the printer is inactive, enabled since... and the default target.
Any idea? I had a look around the internet but everything I found was not terribly meaningful (old infos, targeting different printers and on Ubuntu...).

thanks :-)
have a nice day (going up in the mountains now, reading eventual answers in the afternoon)
:-)

User avatar
jimallyn
Level 18
Level 18
Posts: 8455
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Linux Mint & Canon printers :-(

Post by jimallyn » Wed Aug 29, 2018 4:44 am

Image

“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan

pdc_2
Level 8
Level 8
Posts: 2411
Joined: Mon May 11, 2009 1:21 am

LBP3010 needs CAPT driver

Post by pdc_2 » Wed Aug 29, 2018 5:06 am

so finrod; welcome to the Mint forums;

the LBP needs Canon's CAPT driver so go here https://support-asia.canon-asia.com/con ... 59601.html and click to download what will be linux-capt-drv-v271-uken.tar.gz

I posted a how-to on this forum https://askubuntu.com/questions/983343/ ... untu-16-04

for the 3010 you need to point to the CNCUPSLBP3050CAPTK.ppd

so to register the printer, it should be

Code: Select all

sudo /usr/sbin/lpadmin -p LBP3010 -m CNCUPSLBP3050CAPTK.ppd -v ccp://localhost:59787 -E
but otherwise it should work: it has on our systems

maybe we see if we can get that LBP working first; but I will be pointing you towards turboprint for the Pro9000

buona giornata in montagna
Last edited by pdc_2 on Fri Aug 31, 2018 12:35 am, edited 1 time in total.

deepakdeshp
Level 11
Level 11
Posts: 3808
Joined: Sun Aug 09, 2015 10:00 am

Re: Linux Mint & Canon printers :-(

Post by deepakdeshp » Wed Aug 29, 2018 6:09 am

General idea on printer installation
https://sites.google.com/site/easylinuxtipsproject/17
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

Finrod_s
Level 1
Level 1
Posts: 5
Joined: Wed Aug 29, 2018 2:55 am

Re: Linux Mint & Canon printers :-(

Post by Finrod_s » Wed Aug 29, 2018 2:43 pm

thanks to everybody for the very detailed replies. Tomorrow I'll follow the instruction and I'll come back with the results :-)

good night :-)

Finrod_s
Level 1
Level 1
Posts: 5
Joined: Wed Aug 29, 2018 2:55 am

Re: LBP3010 needs CAPT driver

Post by Finrod_s » Thu Aug 30, 2018 4:31 am

pdc_2 wrote:
Wed Aug 29, 2018 5:06 am

so to register the printer, it should be

Code: Select all

sudo /usr/sbin/lpadmin -p LBP3010 -m CNCUPSLBP3050CAPTK.ppd -v ccp://localhost:59787 –E
hi pdc_2, following your instructions, when I arrive to this point I get this error message:
lpadmin: argomento sconosciuto "–E".
(argomento sconosciuto = unknown argument).
Thanks!

Finrod_s
Level 1
Level 1
Posts: 5
Joined: Wed Aug 29, 2018 2:55 am

Re: Linux Mint & Canon printers :-(

Post by Finrod_s » Thu Aug 30, 2018 3:06 pm

just realized that I had written 2 and not 1 "-" before E.
Procedure ended,
It still doesn't work :-(
Status (of the print): "trattenuto" (I guess in this case the best translation is: delayed).
It has been like that for 8 minutes...
:-(

pdc_2
Level 8
Level 8
Posts: 2411
Joined: Mon May 11, 2009 1:21 am

LBP3050 Canon CAPT driver

Post by pdc_2 » Thu Aug 30, 2018 5:44 pm

so when I linked you to the AskUbuntu reference https://askubuntu.com/questions/983343/ ... untu-16-04

I am wondering if you
1) installed the drivers

2) Registered the printer

Code: Select all

sudo /usr/sbin/lpadmin -p LBP3010 -m CNCUPSLBP3050CAPTK.ppd -v ccp://localhost:59787 -E
(NB: you said
just realized that I had written 2 and not 1
.. please .. I recommend COPY and PASTE into the terminal ..)

3) registered with ccpd daemon

Code: Select all

sudo /usr/sbin/ccpdadmin -p LBP3050 -o /dev/usb/lp0
4) restarted the ccpd daemon

Code: Select all

sudo /etc/init.d/ccpd start
....... I have changed the symbol before the E: it seems "Turns out that the character in Canon's docs before the E is not a hyphon "-".Replacing it with the legal hyphon character fixed this error." you learn something new every day
Last edited by pdc_2 on Fri Aug 31, 2018 12:37 am, edited 1 time in total.


Finrod_s
Level 1
Level 1
Posts: 5
Joined: Wed Aug 29, 2018 2:55 am

Re: Linux Mint & Canon printers :-(

Post by Finrod_s » Fri Aug 31, 2018 3:08 am

@pdc_2
many thanks for your reply.
Yes to 1) 2) 3) & 4)
:-(
My bad I first didn't copy & paste, However doing it correctly changed nothing.
I'll try again once more with the updated command with that "legal hyphon" and then if it doesn't work I'll boot from Windows, if the printers work I'll just, sadly, forget Linux on this machine and keep Windows (I'm leaving from my parents house in a couple of days and my father needs a working machine...).
Thanks, thanks, thanks a lot anyway :-)

ADDENDUM: tried & failed :-(

pdc_2
Level 8
Level 8
Posts: 2411
Joined: Mon May 11, 2009 1:21 am

Re: Linux Mint & Canon printers :-(

Post by pdc_2 » Fri Aug 31, 2018 5:18 am

what does

Code: Select all

dpkg -l cndrvcups*
give from a terminal please?

User avatar
administrollaattori
Level 14
Level 14
Posts: 5332
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: Linux Mint & Canon printers :-(

Post by administrollaattori » Fri Aug 31, 2018 7:44 am

Are packages libc6:i386 libpopt0:i386 installed?

Code: Select all

ldd /usr/bin/captfilter
.. if not, run

Code: Select all

apt install libc6:i386 libpopt0:i386
https://help.ubuntu.com/community/CanonCaptDrv190
Known Issues
64-bit Systems
Canon CAPT Printer Driver for 64-bit architecture include the proprietary closed-source 32-bit executable captfilter (called by pstocapt CUPS filter, used to convert PostScript data to CAPT data stream) which depends on 32-bit libraries libc6 and libpopt0. The libraries are not installed as dependencies. You can use the following commands to check whether the captfilter is working:

$ ldd /usr/bin/captfilter

pdc_2
Level 8
Level 8
Posts: 2411
Joined: Mon May 11, 2009 1:21 am

Re: Linux Mint & Canon printers :-(

Post by pdc_2 » Fri Aug 31, 2018 5:12 pm

thanks administrollaattori; as always you bring depth and erudition to a topic;

when I do

Code: Select all

ldd /usr/bin/captfilter
on our 64bit Mint 18, I get

Code: Select all

linux-gate.so.1 =>  (0xf7795000)
	libpopt.so.0 => not found
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf75b7000)
	/lib/ld-linux.so.2 (0xf7796000)
so our system works fine without the libpopt;

the link you quote does stretch back to when Canon only supplied a 32bit CAPT driver; and various "fixes" were applied by a french researcher for 64bit installs; (who sadly dropped out of the ubuntu forums);

Canon introduced a 64bit CAPT upon request; and it has worked fine since: and I don't know all its dependencies;

all I can say is that with a 64bit Mint 18; and the 64bit CAPT: I have done several installs as I describe; and it seems to go quickly and well .. (and I don't need to specify any imports ... maybe the CAPT drags stuff in whilst installing the drivers; I didn't spot such things in the terminal;

Post Reply

Return to “Printers & Scanners”