Heres a procedure for Fedora 14 (FC14) 64 bit x86_64
using the latest Canon printer drivers version 2.20.
Thanks to http://www.linuxquestions.in/tips-tr...nter-lbp-3250/
# vim /etc/sysconfig/selinux
you need to reboot so that the* kernel is aware of SELINUX is disabled.
Now connect the printer
this should show /dev/usb/lp0 ( the printer is detected at this port )
# vim /etc/ccpd.conf
This file will be blank.
# vim /etc/cups/printers.conf
This file will also be blank.
Stop Haldaemon service - apparently this stops the Canon rpm's from installing correctly!
# service haldaemon stop
Check ghost-script is installed.
# rpm -qa |grep ghost
# ghostscript –version
you can also check it by typing the following command on the terminal.
# gs -h | grep opvp
If the Ghostscript has the OpenPrinting Driver Interface, you can see the text includes both "opvp" and "oprp" as following.
lj5mono ljet2p ljet3 ljet3d ljet4 ljet4d ljetplus nullpage opvp oprp
Note if ghostscript is not installed please install it before moving forward.
# yum install cups-libs popt compat-libstdc++-33
# yum install cups-libs.i686 popt.i686 compat-libstdc++-33.i686
install the RPMS from canons download Version 2.20 Released on 26-01-2011
This will be a tarball - untar and then untar the two tarballs inside that and find the rpms for your system:
# rpm -ivh cndrvcups-common-2.20-1.x86_64.rpm
# rpm -ivh cndrvcups-capt-2.20-1.x86_64.rpm
# /etc/init.d/cups restart
Register the printer with the Print Spooler
# ls /var/ccpd/fifo*
if nothing exists
chmod a+rw /var/ccpd/fifo*
Check the symlinks are in place – ie you should not need to do the following because they are there already (the install without disabling haldaemon doesnt create these – if you dont have these you should remove ccpd and restart the install)
ln -vs /usr/lib64/cups/backend/ccp /usr/lib/cups/backend/ccp
ln -vs /usr/lib64/cups/filter/pstocapt /usr/lib/cups/filter/pstocapt
ln -vs /usr/lib64/cups/filter/pstocapt2 /usr/lib/cups/filter/pstocapt2
ln -vs /usr/lib64/cups/filter/pstocapt3 /usr/lib/cups/filter/pstocapt3
# lpadmin -p LBP5050n -m CNCUPSLBP5050CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
register the printer with the daemon setup file
# /usr/sbin/ccpdadmin -p LBP5050n -o /dev/usb/lp0
this will show you something like this
CUPS_ConfigPath = /etc/cups/
LOG Path = None
UI Port = 59787
Entry Num : Spooler : Backend : FIFO path : Device Path : Status
 : LBP5050n : ccp : /var/ccpd/fifo0 : /dev/usb/lp0 : New!!
confirm it by viewing the following file
# more /etc/ccpd.conf
it should contain something like this
restart ccpd daemon
# /etc/init.d/ccpd restart
make the ccpd service bootable
add the following below the first 2 lines:
### BEGIN INIT INFO
# Provides: ccpd
# Required-Start: $local_fs $remote_fs $syslog $network $named
# Should-Start: $ALL
# Required-Stop: $syslog $remote_fs
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Description: Start Canon Printer Daemon for CUPS
### END INIT INFO
# chkconfig --add ccpd
# chkconfig --level 345 ccpd on
check cups starts every time you boot your machine
# chkconfig --level 35 cups on
To solve the following error seen in /var/log/cups/error_log:
Unable to bind socket for address 0.0.0.0:631 - Address already in use.
E [03/May/2011:13:48:59 +0100] Unable to bind socket for address :::631 - Address already in use.
# vi /etc/cups/cupsd.conf
/etc/cups/cupsd.conf.default should be adapted too.
(Actually, I don't know why localhost wouldn't be ok.)
set default printer
# lpadmin -d LBP5050n
# if you want to set the paper size to stop the printer hanging on wrong size (in this case I use Legal size you might use A4 instead)
# lpadmin -p LBP5050n -o media=Legal
# lpr /etc/fedora-release
You should get a printout.
# cat /var/log/cups/error_log
You should see no errors in the log
# vi /etc/sysconfig/selinux