Page 1 of 1
Linux Mint & Canon printers :-(
Posted: Wed Aug 29, 2018 4:34 am
by Finrod_s
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
destinazione 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)
Re: Linux Mint & Canon printers :-(
Posted: Wed Aug 29, 2018 4:44 am
by jimallyn
LBP3010 needs CAPT driver
Posted: Wed Aug 29, 2018 5:06 am
by pdc_2
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
Re: Linux Mint & Canon printers :-(
Posted: Wed Aug 29, 2018 6:09 am
by deepakdeshp
Re: Linux Mint & Canon printers :-(
Posted: Wed Aug 29, 2018 2:43 pm
by Finrod_s
thanks to everybody for the very detailed replies. Tomorrow I'll follow the instruction and I'll come back with the results
good night
Re: LBP3010 needs CAPT driver
Posted: Thu Aug 30, 2018 4:31 am
by Finrod_s
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!
Re: Linux Mint & Canon printers :-(
Posted: Thu Aug 30, 2018 3:06 pm
by Finrod_s
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...
LBP3050 Canon CAPT driver
Posted: Thu Aug 30, 2018 5:44 pm
by pdc_2
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
....... 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
Re: Linux Mint & Canon printers :-(
Posted: Thu Aug 30, 2018 9:23 pm
by Lord Boltar
Re: Linux Mint & Canon printers :-(
Posted: Fri Aug 31, 2018 3:08 am
by Finrod_s
@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
Re: Linux Mint & Canon printers :-(
Posted: Fri Aug 31, 2018 5:18 am
by pdc_2
what does
give from a terminal please?
Re: Linux Mint & Canon printers :-(
Posted: Fri Aug 31, 2018 7:44 am
by kukamuumuka
Are packages
libc6:i386
libpopt0:i386
installed?
.. 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
Re: Linux Mint & Canon printers :-(
Posted: Fri Aug 31, 2018 5:12 pm
by pdc_2
thanks administrollaattori; as always you bring depth and erudition to a topic;
when I do
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;