Tropenhitze

Kannst du das spüren?

Installing Canon LBP2900 on openSuSE 11.2

with 6 comments

This tutorial helps you with installing Canon LBP2900 (or any other LBP series) printer on openSuSE 11.2 (or any other version of openSuSE). Note that you need to install Ghostscript before you may proceed with this installation. Open YaST, search with the keyword ghostscript and install the package. After the installation of Ghostscript is over, proceed to the below steps. Before you begin the installation you need to disable auto-configuration of USB printers in YaST. To do this, open YaST > Printer > Autoconfig Settings and select No Automatic Configuration and select OK.

  • Download the driver file for Canon LBP printers from here (scroll down to the bottom and you can see a .gz file)
  • Let us assume that you have downloaded this file to your home folder. Extract the zip file.
  • Execute the following commands in the same order
# Enter the root password when prompted
sudo su -
# The names of the RPM files may vary depending
# upon the version. The Exact name of the rpm files
# given below may vary depending upon the version
# you have downloaded
rpm -ivh cndrvcups-common-1.90-1.i386.rpm
rpm -ivh cndrvcups-capt-1.90-1.i386.rpm
  • Restart CUPS
/etc/init.d/cups restart
  • The next step is to register the printer (PPD) with the spooler. But before going to this step some symbolic links needs to be created and this was not mentioned in the tutorials. Please follow the steps given below.
# shut down CUPS
/etc/init.d/cups stop
# Makes fifo0 accessible to all
chmod 777 /var/ccpf/fifo0
# Make root the owner of fifo0
chown root /var/ccpd/fifo0
# start CUPS
/etc/init.d/cups start
# If you attempt to register the PPD files without creating symbolic
# links as mentioned below, you might get this error.
# "bad device-uri "ccp:/var/ccpd/fifo0"!"
# create symbolic links in lib64 to the folders backend and filter
# in /user/lib/cups
ln -s /usr/lib/cups/backend/ccp /usr/lib64/cups/backend/
ln -s /usr/lib/cups/filter/* /usr/lib64/cups/filter/
# !!! Important !!! Note that you enter the appropriate PPD file name
# in the below mentioned command. If your model is Canon LBP3200,
# enter CNCUPSLBP2900CAPTK.ppd in the below command and
# register the PPD
/usr/sbin/lpadmin -p LBP2900 -m CNCUPSLBP2900CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
# If you get the error "bad device-uri "ccp:/var/ccpd/fifo0"!" while registering,
# make sure that you created symbolic links as mentioned above
  • Connect the printer on the USB port and turn it on. Do this before you proceed to the next step
  • Find out the Printer Device path by typing
ls /dev/usb/
  • Please note that only if you had connected your printer to the USB port and turned it on will you be able to find the device path
  • Now register the printer in the CCPD daemon setup file by typing
# Enter the name of your printer and the right device path.
/usr/sbin/ccpdadmin -p LBP2900 -o /dev/usb/lp0
# and start the CCPD daemon
/etc/init.d/ccpd start
  • Congratulations. Your printer has been configured successfully now . You need to do the following to start the CCPD daemon at the time of boot. Open /etc/init.d/ccpd and add the following comments to the third line of the file and save it.
### 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
  • Register the printer in the CCPD daemon
insserv ccpd
About these ads

6 Responses

Subscribe to comments with RSS.

  1. Thanks for this great Howto i search anythinks many weeks ago

    Suse Linux Newbie

    November 29, 2010 at 7:15 PM

  2. Ich habe schon seit längerer Zeit vergeblich versucht meinen Canon LBP 6000 unter OpenSuSe 11.2 zu installieren. Erst Ihr Blog Eintrag brachte die richtige Lösung.

    Ich möchte mich daher für die einfache Struktur und die gute Aufbereitung der Information bedanken.

    Es hat mir wirklich sehr geholfen !!!!

    Bouncer

    January 22, 2011 at 4:25 AM

  3. Sorry, I wrote my text in german.

    Some weeks ago a bought a Canon LBP6000 and I didn’t get it working on my OpenSuSe 11.2 system until now. Then I found the right solution in your blog.

    So I want to say THANK YOU for the excellent information and the way you provieded it.

    It really helped me !!!

    Bouncer

    January 22, 2011 at 4:32 AM

    • Es freut mich sehr! Ich kann gut Deutsch :-) Übrigens, vielen Dank für Ihren Kommentar :)

      Ragavan N

      January 22, 2011 at 6:03 AM

  4. Hello. The Canon LBP 2900 is a tragedy for Linux.I’ve tried a lot of solutions but no one work with OpenSuse 11.3 64bit. So, your solution works with 64bit systems? Thank you.

    Santo

    March 19, 2011 at 11:17 PM

    • It’s really a disaster. I wish these stupid developers grow up someday and realize that windows isn’t the only operating system.

      Ragavan N

      March 20, 2011 at 10:30 AM


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: