Tropenhitze

Kannst du das spüren?

Posts Tagged ‘error

Installing Canon LBP2900 on openSuSE 11.2

with 7 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