Making Canon LBP3300 Work with Ubuntu
Problem: In my office I have a Canon LBP3300 with a network card configured. It used to run with a Windows machine as a print server and now that it has a network card, I would like to print to it. Apparently. it is not as simple as I think it would be on Ubuntu.
Solution: The installation steps for those who are interested:
- Is easier to do everything as root
$ sudo -i - Get the driver from Canon
# wget http://software.canon-europe.com/files/soft31118/software/CAPTDRV180.tar.gz - Untar and install the driver
# tar xf CAPTDRV180.tar.gz
# cd CANON_UK/Driver/Debian
# dpkg -i cndrvcups-capt_1.80-1_i386.deb cndrvcups-common_1.80-1_i386.deb
# /etc/init.d/cups stop
# mkdir /var/ccpd
# mkdir /var/captmon
# mkfifo /var/ccpd/fifo0
# chmod 777 /var/ccpd/fifo0
# chown root /var/ccpd/fifo0
# chmod -R a+rX /usr/share/cups/model
# /usr/sbin/lpadmin -p LBP3300 -m CNCUPSLBP3300CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
# /usr/sbin/ccpdadmin -p LBP3300 -o net:192.168.1.200 - Now apparmour in Ubuntu create a bit of problem for the driver and need to be addressed:
# vi /etc/apparmor.d/usr.sbin.cupsd----- /etc/apparmor.d/usr.sbin.cupsd -----
/var/run/cups/ rw,
/var/run/cups/** rw,
/var/spool/cups/ rw,
/var/spool/cups/** rw,
# needed for Canon CAPT driver ### <-----insert
/var/ccpd/** rw, ### <-----insert
# third-party printer drivers; no known structure here
/opt/** rix,
----- /etc/apparmor.d/usr.sbin.cupsd ----- - Start the services which we stopped before
# /etc/init.d/cups start
# /etc/init.d/ccpd start
# /etc/init.d/apparmor restart - You should be fine from here.
March 17th, 2009 at 2:08 pm
Just in case you don’t use the network card, you might need to change the last line for step (3) to /usr/sbin/ccpdadmin -p LBP3300 -o /dev/usblp0
June 30th, 2009 at 1:33 pm
/usr/sbin/lpadmin -p LBP3300 -m needs a parameter to define the model.
Which argument did you passed to lpadmin?
G
June 30th, 2009 at 3:59 pm
Sorry Giorgio, I noticed that I didn’t put in the command properly on the lpadmin. Just modified the post.