Canon LBP3010 worked with Mint 17.3, not anymore with 18.3? [SOLVED]

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
wotsch

Canon LBP3010 worked with Mint 17.3, not anymore with 18.3? [SOLVED]

Post by wotsch »

Hello Linux-Mint-Forum, it's me again!

I set up my Dell Precision M4600 with Linux Mint Cinnamon 18.3 64bit after using Cinnamon 17.3 64bit for several years. Everything works fine except my printer, a Canon i-Sensys LBP 3010. Here is what inxi puts out:

Code: Select all

System:    Host: wotsch-Precision-M4600 Kernel: 4.13.0-43-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.3 Sylvia
Machine:   System: Dell product: Precision M4600 v: 01
           Mobo: Dell model: 08V9YG v: A00 Bios: Dell v: A13 date: 08/09/2012
CPU:       Quad core Intel Core i7-2820QM (-HT-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 18359
           clock speeds: max: 3400 MHz 1: 867 MHz 2: 1205 MHz 3: 859 MHz
           4: 807 MHz 5: 1108 MHz 6: 896 MHz 7: 881 MHz 8: 802 MHz
Graphics:  Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           bus-ID: 00:02.0
           Card-2: NVIDIA GF106GLM [Quadro 2000M] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) FAILED: nouveau
           Resolution: 1920x1080@59.91hz
           GLX Renderer: Mesa DRI Intel Sandybridge Mobile
           GLX Version: 3.0 Mesa 17.2.8 Direct Rendering: Yes
Audio:     Card-1 NVIDIA GF106 High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 01:00.1
           Card-2 Intel 6 Series/C200 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.13.0-43-generic
Network:   Card-1: Intel 82579LM Gigabit Network Connection
           driver: e1000e v: 3.2.6-k port: 8080 bus-ID: 00:19.0
           IF: eno1 state: down mac: <filter>
           Card-2: Intel Centrino Ultimate-N 6300
           driver: iwlwifi bus-ID: 03:00.0
           IF: wlp3s0 state: up mac: <filter>
Drives:    HDD Total Size: 628.1GB (17.5% used)
           ID-1: /dev/sda model: SAMSUNG_HM500JJ size: 500.1GB
           ID-2: /dev/sdb model: SAMSUNG_SSD_PM81 size: 128.0GB
Partition: ID-1: / size: 118G used: 10G (9%) fs: ext4 dev: /dev/sdb1
           ID-2: /home size: 376G used: 12G (4%) fs: ext4 dev: /dev/sda1
           ID-3: swap-1 size: 90.51GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 49.0C mobo: N/A gpu: 39.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 245 Uptime: 1:09 Memory: 1311.0/15920.1MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
I followed the instructions from the CAPT Driver (v2.71) supported by Canon which worked fine with Mint 17.3. I don't get any error messages, the printer is installed, but the test page won't be printed. Any ideas?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: Canon LBP3010 worked with Mint 17.3, not anymore with 18.3?

Post by pdc_2 »

we have the CAPT driver working fine on 18.3;

do you have a single usb printer connected to your computer?

with the LBP turned on and plugged in;

what does

Code: Select all

lpinfo -v
give please?

__________________________

https://askubuntu.com/questions/983343/ ... 347#983347

what is posted here; in this type of format; is what you did?

you would direct the system to CNCUPSLBP3050CAPTK.ppd
wotsch

Re: Canon LBP3010 worked with Mint 17.3, not anymore with 18.3?

Post by wotsch »

Thanks for the fast reply! It's really good not to feel all alone with the problem...

Here's what lpinfo gives:

wotsch@wotsch-Precision-M4600 ~ $ lpinfo -v
direct ccp
network lpd
network https
direct hp
network socket
network ipp14
network beh
network ipps
network ipp
network http
serial serial:/dev/ttyS4?baud=115200
network smb
direct hpfax


And yes, that's basically what I did, with the changes to LBP3010 and the corresponding ppd file. Except that I get an error message here:

wotsch@wotsch-Precision-M4600 ~/Downloads/linux-capt-drv-v271-uken/64-bit_Driver/Debian $ /usr/sbin/lpadmin -p LBP3010 -m CNCUPSLBP3050CAPTK.ppd -v ccp://localhost:59687 –E
lpadmin: unbekanntes Argument "–E".
unknown argument "-E". Can this be a problem? I go on with the same command just leaving the -E option out. Same problem occured with 17.3, installation worked without the argument.

Maybe that's of interest as well:

wotsch@wotsch-Precision-M4600 ~ $ sudo /etc/init.d/ccpd status
/usr/sbin/ccpd: 5035 4918 4903 4893 4888 4878 4874 4843 4826 4814 4809 4804 4799 4794 4784 4754 4749 4744 4739 4734 4725 4716 4711 4706 4699 4694 4684 4679 4653 4648 4641 4630 4608 4599 4598


when the printer worked with 17.3, there were only 2 4-digit numbers, not the multiple output I get now.

And yes, I have a single usb printer connected to my computer. Is it of any importance to have the printer switched on at a certain point of the installation process?
Thank you so much for your support!!!
wotsch

Re: Canon LBP3010 worked with Mint 17.3, not anymore with 18.3?

Post by wotsch »

oh, lpvinfo gives a different result with the printer connected... sorry!

wotsch@wotsch-Precision-M4600 /dev $ lpinfo -v
network lpd
direct ccp
direct hp
network https
network socket
network beh
network ipps
network http
direct cnusb:/dev/usb/lp0
network ipp14
network ipp
serial serial:/dev/ttyS4?baud=115200
direct usb://Canon/LBP3010/LBP3018/LBP3050?serial=0000B3A38HQ8
network smb
direct hpfax


Additional information:

wotsch@wotsch-Precision-M4600 /dev $ sudo ls /dev/usb/
lp0
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Canon LBP3010

Post by pdc_2 »

so if you went to the PRINTERS folder and deleted any entries there for the 3010; (I find that even with a correct CAPT icon that I have set up; that Mint creates another ........ I ignore that one: it re-creates it at startup if deleted ......)

...... so assuming the drivers are installed but if you tell us what

Code: Select all

dpkg -l cndrv*
gives please;

to set up the printer

1) Register the printer (PPD) with the print spooler.

Code: Select all

sudo usr/sbin/lpadmin -p LBP3010 -m CNCUPSLBP3050CAPTK.ppd -v ccp://localhost:59787 –E
... please copy this command and paste into a terminal

2) Register the printer in the ccpd daemon setup file.

Code: Select all

sudo /usr/sbin/ccpdadmin -p LBP3010 -o /dev/usb/lp0
3) Start ccpd daemon.

Code: Select all

sudo /etc/init.d/ccpd start
........... can you print now?
wotsch

Re: Canon LBP3010 worked with Mint 17.3, not anymore with 18.3?

Post by wotsch »

I'm not sure what you mean with the PRINTERS folder? I deleted the printers in the settings-->printer area as I couldn't find any printers folder in my file system.

Here is what dpkg-l gives:

wotsch@wotsch-Precision-M4600 ~ $ LC_ALL=C dpkg -l cndrv*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii cndrvcups-capt 2.71-1 amd64 Canon CAPT Printer Driver for Lin
ii cndrvcups-comm 3.21-1 amd64 Canon Printer Driver Common Modul
un cndrvcups-lips <none> <none> (no description available)
un cndrvcups-ufr2 <none> <none> (no description available)
un cndrvcups-ufr2 <none> <none> (no description available)


As mentioned below, -E is an unknown argument with
wotsch@wotsch-Precision-M4600 ~ $ LC_ALL=C sudo /usr/sbin/lpadmin -p LBP3010 -m CNCUPSLBP3050CAPTK.ppd -v ccp://localhost:59787 –E
lpadmin: Unknown argument "–E".


Unfortunately, I still can't print after following your instructions. The printer is detected, an when printing the test page there is no error message, it says "printing completed" but the printer remains idle. :(

I'm confused because following the instructions worked with 17.3...
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: Canon LBP3010

Post by pdc_2 »

Oh dear;

a couple of posts back I meant to advise one thing;

but I got it wrong;

as Homer Simpson might say . Dooooooooooooooooooooooooooooh ..

so let's try

Code: Select all

sudo /usr/sbin/lpadmin -p LBP3010 -P /usr/share/cups/model/CNCUPSLBP3050CAPTK.ppd -v ccp://localhost:59787 -E
according to Canon, that is to the way
To specify an absolute path
....... you will know it has been accepted if the terminal just goes quiet .........

then do the next two commands from the sequence listed a couple of posts above; ie Register the printer in the ccpd daemon setup file. and then start the ccpd daemon .....
wotsch

Re: Canon LBP3010 worked with Mint 17.3, not anymore with 18.3?

Post by wotsch »

Dear pdc_2,

thank you so much for your help, your time and your patience! I tried the commands you suggested and everything works without any error message - but the printer still won't work/print... Do you have any ideas left? Firewall settings? No matter if things work out or not, I really appreciate your help!
wotsch

Re: Canon LBP3010 worked with Mint 17.3, not anymore with 18.3?

Post by wotsch »

Dead pdc_2,

could you please tell me what

/etc/init.d/ccpd status

gives on your system with the working printer? I just don't understand why there are so many numbers given as a result of this command, maybe there's a problem.

Thanks a lot!
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: Canon LBP3010 worked with Mint 17.3, not anymore with 18.3?

Post by pdc_2 »

so after turning the printer on; and remembering to start the ccpd daemon; I get
/usr/sbin/ccpd: 7170 7169
(You must have started the ccpd daemon to get numbers: I say that as without starting the ccpd daemon, I just get
/usr/sbin/ccpd
and then with

Code: Select all

sudo /etc/init.d/ccpd start
I get
/usr/sbin/ccpd: 7170 7169
wotsch

Re: Canon LBP3010 worked with Mint 17.3, not anymore with 18.3?

Post by wotsch »

So, I'm back - with both good and bad news...

the good part first: I managed to install the printer correctly! I get
wotsch@wotsch-Precision-M4600 ~ $ sudo /etc/init.d/ccpd status
/usr/sbin/ccpd: 1332 1242

for the status. What made it work was that I deleted the automatically detected printer before running the installation process ( the printer was detected every time I switched it on during the installation).

But the bad part: the printer still won't work :( any ideas? It still says "printing completed", but the printer does nothing...
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: Canon LBP3010 worked with Mint 17.3

Post by pdc_2 »

at a bit of a loss;

I installed the CAPT driver twice on Mint 18 systems here; it just goes fine;

you MUST start the ccpd daemon each time you turn the computer off: you must run

Code: Select all

sudo /etc/init.d/ccpd start
before attempting to print; apart from that, I can only think of endless googling;

_____________

the reverse of install ..... to remove ......... is done by

Delete the registered printer from the ccpd daemon setup file.

Code: Select all

sudo /usr/sbin/ccpdadmin -x LBP3010
Delete the printer's spooler registration.

Code: Select all

sudo /usr/sbin/lpadmin -x LBP3010
all I can suggest is you try that;

then do

Code: Select all

sudo /usr/sbin/lpadmin -p LBP3010 -P /usr/share/cups/model/CNCUPSLBP3050CAPTK.ppd -v ccp://localhost:59787 -E
then

Code: Select all

sudo /usr/sbin/ccpdadmin -p LBP3010 -o /dev/usb/lp0
then (crucially)

Code: Select all

sudo /etc/init.d/ccpd start
......... any joy?

Mint will keep on trying to help: it keeps offering its own driver; ours Mint offering shows as LBP3100-LBP-3108-LBP-3150 and I just leave it alone .... if I delete it, Mint will put it back!!
wotsch

Re: Canon LBP3010 worked with Mint 17.3, not anymore with 18.3?

Post by wotsch »

no joy, I'm sorry...

I tried

sudo captstatusui -P LBP3010

and it says "Check the DevicePath of /etc/ccpd.conf"

here's the content of ccpd.conf, which seems to be correct (to me):

Code: Select all

# Canon Printer Daemon for CUPS Configuration Data

<Path>
# CUPS configuration file path.
#  Default  /etc/cups/

CUPS_ConfigPath   /etc/cups/

# Log directory path.
#  LogDirectoryPath /var/log/CCPD/

</Path>

# Printer entries.
#  Mapping each "Printer Name" to each "Printer Device Port".
#  The "Printer Name" has to be identical to the CUPS printer queue name.
#  
#  For example, if you prepare a printer named "LBP3200" as a CUPS printer
#  queue name, and the printer is connected to the USB port "/dev/usb/lp0",
#  you can use the following three lines example just by removing the
#  comment symbol "#" of each line.
#<Printer  LBP3200>
#DevicePath  /dev/usb/lp0
#</Printer>

<Printer LBP3010>
DevicePath /dev/usb/lp0
</Printer>

<Ports>
# Status monitoring socket port.
#  Default 59787
UI_Port  59787
PDATA_Port  59687
</Ports>
What do you say to that?
pdc_2
Level 10
Level 10
Posts: 3019
Joined: Mon May 11, 2009 1:21 am

Re: Canon LBP3010 worked with Mint 17.3, not anymore with 18.3?

Post by pdc_2 »

if it says check Device Path; then yours says
DevicePath /dev/usb/lp0
and it does not seem happy with that; if we just check again; you have only one usb printer connected; it is the LBP3010

let's do
lsusb
with all plugged in and turned on;

and

Code: Select all

lpinfo -v
and

Code: Select all

lpstat -v
I enclose a snapshot of the captsui command on our system; it was happily printing in the last few days; I do run the start ccpd daemon command each time I turn the computer on
captstatusui.png
wotsch

Re: Canon LBP3010 worked with Mint 17.3, not anymore with 18.3?

Post by wotsch »

Hey there,

so here is what the commands give:

wotsch@wotsch-Precision-M4600 ~ $ lsusb
Bus 002 Device 004: ID 0a5c:5800 Broadcom Corp. BCM5880 Secure Applications Processor
Bus 002 Device 003: ID 046d:c01a Logitech, Inc. M-BQ85 Optical Wheel Mouse
Bus 002 Device 005: ID 04a9:26da Canon, Inc. LBP3010B printer
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 1bcf:2b83 Sunplus Innovation Technology Inc. Laptop Integrated Webcam FHD
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


then

wotsch@wotsch-Precision-M4600 ~ $ lpinfo -v
direct ccp
network socket
direct hp
network https
network ipps
network http
network ipp14
network ipp
network beh
serial serial:/dev/ttyS4?baud=115200
direct cnusb:/dev/usb/lp0
network lpd
direct usb://Canon/LBP3010/LBP3018/LBP3050?serial=0000B3A38HQ8
network smb
direct hpfax


and

wotsch@wotsch-Precision-M4600 ~ $ lpstat -v
device for LBP3010: ccp://localhost:59787
device for LBP3010-LBP3018-LBP3050: usb://Canon/LBP3010/LBP3018/LBP3050?serial=0000B3A38HQ8


I also tried to add a screenshot of my captstatsui status monitor, but I failed embedding it... it says printer error and the check Device Path.

Is some of that information helpful?
wotsch

Re: Canon LBP3010 worked with Mint 17.3, not anymore with 18.3?

Post by wotsch »

Hey there, dear pdc_2,

now it's working, the printer does what it's supposed to do - print! I'm not sure what did the trick, I followed the instructions found here:
http://forums.debian.net/viewtopic.php?f=7&t=109825

this part was new/different:

Code: Select all

2. sudo apt-get install ia32-libs libglade2-0 libpopt0:i386 // is because those are listed as the 'Depends:' prerequisites of the Canon '.deb' //
IF it give error in 64bit machines then do
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs

3.sudo mkdir /var/ccpd // not mentioned in Canon installation guide but it is required as it creates the spool directory and the spool service socket for the Canon rasterizer daemon 'ccpd'//
4.sudo mkfifo /var/ccpd/fifo0 // not mentioned in Canon installation guide but it is required as it creates the spool directory and the spool service socket for the Canon rasterizer daemon 'ccpd'//

5.sudo chown -R lp:lp /var/ccpd
Thank you again for your support and your patience! Without you, I wouldn't have lasted as long, would have lost my hope on the way!
Locked

Return to “Printers & Scanners”