Finally I installed my Canon printer LBP6000 on my Fedora 24 X64 bit ! All previous efforts failed !
Canon released new version of driver for this printer. It is available here:
Download compressed folder. Then extract it by Archive manager or command line.
Resulted folder from extraction contains: packages for Debian & Debian based distro. & packages for RPM based ditro. (each type in separated sub-folder). Also, it contain sub-folder for documentations (user manual). More interestingly it contain other sub-folder which containing SOURCE CODE for driver binary packages !
Yes, Canon printer drivers for Linux become open source ! I found this on GitHub:
Now let we deal with installation process. Apply the following steps, one by one:
1) Install the common module for CUPS driver.
It need the following dependencies:
sudo dnf install /path/to/cndrvcups-common-3.21-1.x86_64.rpm
2) Install the CAPT printer driver module.
It need the following dependencies:
sudo dnf install /path/to/cndrvcups-capt-2.71-1.x86_64.rpm
3) Restart CUPS.
sudo service cups restart
4) Register the printer (PPD) with the print spooler.
sudo /usr/sbin/lpadmin -p LBP6000 -P /usr/share/cups/model/CNCUPSLBP6018CAPTK.ppd -v ccp://localhost:59687 -E
5) Register the printer in the ccpd daemon setup file.
sudo /usr/sbin/ccpdadmin -p LBP6000 -o /dev/usb/lp0
7) Start ccpd daemon.
8) Now you can connect the printer to PC & switch it ON. Be patient & wait some seconds, till a “second” printer added: “LBP6000-LBP6018”. Please ignore second printer & do not use it at all. Use only 1st printer “LBP6000” for printing.
9) Configure your system to start the Canon ccpd daemon automatically (very very important):
We have 2 methods for this. Use only one of them:
a- either adding chkconfig support to ccpd script [recommended]:
then add following 2 header lines, conveniently just bellow 1st line of original script which contain "#!/bin/sh":
# chkconfig: 345 99 01
# description: ccpd script
b- or <For a distribution, like Fedora, with a /usr/bin/systemctl command> create a /etc/rc.d/rc.local file in the editor [NOT recommended - see note 3 in 3rd post in this guide "Problems"]:
sudo chkconfig --add ccpd
sudo vi /etc/rc.d/rc.local
enter insert mode of VIM by typing, for example, “I”, then add the following:
press “Esc” to return to command mode of VIM
save file & exit vim by “:wq” then “enter”
Next, update the version of the /etc/rc.d/rc.local file:
sudo chmod 777 /etc/rc.d/rc.local
10) Status Monitor (Optional):
A) Manually Running Monitor:
The Canon status monitor can alert you to any issues with your printer. This can be run directly on the terminal by issuing this command:
captstatusui -P <Your printer name as specified in cups>
You will be presented with the User Interface and it should say ready to print. If not make sure the printer is switched on.
b) Running Monitor on Startup:
If we want the monitor to run each time the computer is switched on we can add it to the as a startup applications by:
- searching for and running "Startup Applciations" from system setting.
- click the Add button. & enter the following entry:
: Canon Printing Status Monitor
: captstatusui -P <Your printer name as specified in cups> -e
captstatusui -P LBP6000 -e
: Hidden until error occurs
The -e option causes the monitor to stay hidden until an error occurs like when you run out of paper.
11) To launch Canon Driver GUI, where you can modify setting of Canon printer(s), open terminal & type, as a regular user, cngplp
More elegant, is to create entry for driver GUI in applications menu. On Cinnamon DE:
- right click on applications menu
- click on “Configure...”
- click on “Menu”
- click on “Open menu editor”
- select, for example, “Preferences”
- add new entry, for example:
: Canon Printer’s Driver UI
: Setting Control of Canon Printer
Please notice the following:
A) the key point here which make installation easy without problems, are:
- use of DNF for installation of local .rpm packages. DNF will check for needed dependencies according to version of your Fedora !
- automation of starting ccpd daemon on system boot by using systemV (step no. 9)
B) I used name of LBP6000 while PPD file has "LBP6018" within it. This is normal for Canon.
If you go to install LBP6018 printer, then use same PPD (which contain "LBP6018), but use LBP6018 as name for printer in step 4 instead of LBP6000, as following:
sudo /usr/sbin/lpadmin -p LBP6018 -P /usr/share/cups/model/CNCUPSLBP6018CAPTK.ppd -v ccp://localhost:59687 -E
C) this guide written specifically for Fedora. It may be be not suitable for other distro. in many aspects other than DNF. For instance, in command example in point (B) above, Fedora 24 & above need to use "-P" while in other distros. it should be "-m".
D) I used in 1st 2 steps of this guide (step 1 & step 2) .x86_64 packages because my system is x64 bit. If your system is x32 bit, then you should use, instead, x32 bit (.i386)
E) at time of writing this guide, driver packages versions were: cndrvcups-common-3.21-1
. So, please notice that you need to change version numbers
to that of higher versions of driver packages that may released in future.
F) Canon printer driver, in this guide, is a user level driver (NOT kernel level driver). This mean that kernel upgrading by system update or system upgrade should not block this driver from it's work.
G) this guide may be useful in assisting you to install other Canon printers model ......