Canon LBP-3050 laser printer in Ubuntu 8.10

First time buying laserjet printer in my office is buying Canon LBP-3050. With hope that the printer will be give us much of printing. We can download the driver in Canon website and hope perfectly well in linux.

But there’s a trouble. The driver only will not make the printer print. The source I read here said that need something else to be set.

The files needed for installation can be downloaded
1. CAPT driver here
2. insserv here

Installl them both by

#sudo dpkg -i *.deb

in the CAPT_Printer_Driver_for_Linux_Driver_V190_uk_EN/Driver/Debian/ directory for ubuntu

#sudo mkdir /var/ccpd/
#sudo mkfifo /var/ccpd/fifo0

in /etc/ccpd.conf add:
DevicePath /dev/usb/lp0

Restart cups
#sudo /etc/init.d/cups restart
restart ccpd
#sudo /etc/init.d/ccpd restart

Now for Ubuntu 9.04 above
Add the attachted init.d script here:

#sudo nano /etc/init.d/ccpd

Make sure you:

#sudo chmod a+x /etc/init.d/ccpd

Then install:

#sudo apt-get install insserv

Then run

#sudo insserv -v

If you have already tried to add it using update-rc.d this will have to be removed first:

#sudo update-rc.d -f ccpd remove

This uses the information from the ccpd file to set the correct run levels and start the daemon as it should be started. The monitor can be added into preferences->Startup Application. Use the command:

#sudo captstatusui -P LBP3010 -e

Changing the printer name to what ever you defined it as in the canon instructions. The -e keeps it hidden in the background until there is a problem.

#sudo /etc/init.d/cups restart
#sudo lpadmin -p LBP3050 -m CNCUPSLBP3050CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
#sudo ccpdadmin -p LBP3050 -o /dev/usb/lp0
#sudo /etc/init.d/ccpd start

in ubuntu 9.10 don’t forget to install libcups2 first before cndrv-common
and libcups2-devel missing
install ia32-libs_2.7ubuntu6.1_amd64.deb
or libstdc in here.

If captstatusui -P LBP3050 command result an error then change the next setting because the usb setting is dead.

#sudo echo Y > /sys/module/usbcore/parameters/old_scheme_first

and this one too

#sudo echo -1 >/sys/module/usbcore/parameters/autosuspend

change the cccpd script :

# ccpd startup script for Canon Printer Daemon for CUPS
# Modified for Debian GNU/Linux
# by Raphael Doursenaud .
DESC=”Canon Printer Daemon for CUPS”
test -f $DAEMON || exit 0
case $1 in
echo -n “Starting $DESC: $NAME”
start-stop-daemon –start –quiet –exec $DAEMON
echo “.”
echo -n “Stopping $DESC: $NAME”
start-stop-daemon –stop –quiet –oknodo –exec $DAEMON
echo “.”
echo “$DESC: $NAME:” `pidof $NAME`
echo -n “Restarting $DESC: $NAME”
start-stop-daemon –stop –quiet –oknodo –exec $DAEMON
sleep 1
start-stop-daemon –start –quiet –exec $DAEMON
echo “.”
echo “Usage: ccpd {start|stop|status}”
exit 1
exit 0

Now our Canon LBP 3050 can print normally.

Sources : microteknologias

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.