#
Notes on installing Canon Laser Shot LBP-1120 on Debian sarge
##
#
#
# Searching on all the web's of canon I arived to this ftp: ftp://download.canon.jp/pub/driver/lasershot/linux/
# There I found a recent version of the driver's for linux.
# This version is newer than the one you can found in all the canon web's :). (now is 20/06/05).
#
# Well, I download cndrvcups-capt-1.10-1.i386.rpm and cndrvcups-common-1.10-1.i386.rpm....
#
# Then.....
# first convert the rpm's to deb's
alien -d cndrvcups-capt-1.10-1.i386.rpm
alien -d cndrvcups-common-1.10-1.i386.rpm
# then install
dpkg -i cndrvcups-common_1.10-2_i386.deb
dpkg -i cndrvcups-capt_1.10-2_i386.deb
# then follow this step from the docs/guide
/etc/init.d/cupsys restart
/usr/sbin/lpadmin -p LBP1120 -m CNCUPSLBP1120CAPTJ.PPD
# here is the "big" tip, I take this from the SPEC file of the rpm:
# Now run this command's:
mkdir /var/ccpd
mkfifo -m 600 /var/ccpd/fifo0
mkfifo -m 600 /var/ccpd/fifo1
mkfifo -m 600 /var/ccpd/fifo2
mkfifo -m 600 /var/ccpd/fifo3
mkfifo -m 600 /var/ccpd/fifo4
mkfifo -m 600 /var/ccpd/fifo5
mkfifo -m 600 /var/ccpd/fifo6
mkfifo -m 600 /var/ccpd/fifo7
chown lp.lp /var/ccpd/*
# continue with the guide step's
/etc/init.d/cupsys restart
/usr/sbin/lpadmin -p LBP1120 -m CNCUPSLBP1120CAPTJ.PPD -v ccp:/var/ccpd/fifo0 -E
/usr/sbin/ccpdadmin -p LBP1120 -o /dev/usb/lp0
#now edit ccpd, I add in the second line: "ccpd; exit;" # this is only a quick hack :)
vi /etc/init.d/ccpd
/etc/init.d/ccpd start
#by fede nuñez artigas - fna at internet.com.uy