Last active
March 9, 2024 14:47
-
-
Save Mahedi-61/db8b222237149f870bfba84d11f25556 to your computer and use it in GitHub Desktop.
canon_LBP3300_printer_driver_installation_on_ubuntu_18.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## This gist contains step by step instructions of installing canon LBP3300 printer driver on ubuntu 18.04 machine | |
## After a couple of months painful trying, i finally got it successfully installed on my 18.04 ubuntu machine. | |
## Here is the requirement | |
# 1) For 64 bit linux version install necessary the libraries | |
# 2) install the official CAPT drivers | |
# 3) register the printer with lpadmin | |
# 4) register the printer with the ccpd daemon | |
### step-1 | |
sudo apt-get install libglade2 libpopt0:i386 libxml2:i386 libjpeg62:i386 libstdc++6:i386 | |
# for libglade2. manually download and install it form here https://packages.debian.org/wheezy/libglade2-0 | |
wget http://ftp.cn.debian.org/debian/pool/main/libg/libglade2/libglade2-0_2.6.4-1_amd64.deb | |
sudo dpkg -i libglade2-0_2.6.4-1_amd64.deb | |
### step-2 | |
# download official CAPT driver | |
# for south asian region download it from here http://support-in.canon-asia.com/contents/ASIA/EN/0100459601.html | |
# first install the common module for CUPS driver | |
sudo dpkg -i cndrvcups-common_3.21-1_amd64.deb | |
# then install Install the CAPT printer driver module. | |
sudo dpkg -i cndrvcups-capt_2.71-1_amd64.deb | |
# for broken packages | |
sudo apt install -f | |
### step-3 | |
# restart cups | |
sudo /etc/init.d/cups restart | |
# now register the LBP3300 printer (PPD) with the print spooler. | |
# sudo /usr/sbin/lpadmin -p LBP3300 -m CNCUPSLBP3300CAPTK.ppd -v ccp://localhost:59687 –E | |
sudo /usr/sbin/lpadmin -p LBP3300 -P /usr/share/cups/model/CNCUPSLBP3300CAPTK.ppd -v ccp://localhost:59687 -E | |
### step-4 | |
# register the printer in the ccpd daemon setup file for first printer (lp0) | |
sudo /usr/sbin/ccpdadmin -p LBP3300 -o /dev/usb/lp0 | |
# finaly restart the ccpd daemon | |
sudo /etc/init.d/ccpd restart | |
# for successful installation check | |
# ask capt for a status report on the LBP3300 | |
captstatusui -P LBP3300 | |
# try to print a test page. and | |
# if it print then !!!! BOOM !!!! | |
# start ccpd daemon by | |
sudo /etc/init.d/ccpd start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all thank you so much sir for the instructions, it seriously helped me a lot. I've installed the common module for CUPS driver and the CAPT printer driver module and after that the Canon LBP 3300 printer get added to the ubuntu 18.04. But while I'm running "captstatusui -P LBP3300", a pop-up window opened where it shows the error message as "printer error" and "Check the DevicePath of /etc/ccpd.conf" and after closing it, I get an error message as follows:
**(captstatusui:8610): GLib-CRITICAL : 13:05:40.772: Source ID 36 was not found when attempting to remove it
Sir, what to do next to overcome this error? Please help me.