Canon lbp 2900

Hi all!
I nave openSUSE 11.1 and Canon LBP2900 printer.
I try to install official drivers from Official Canon Drivers and Software and unpack rpm:

rpm -ivh cndrvcups-capt-1.80-1.i386.rpm
libpopt.so.0 is needed by cndrvcups-capt-1.80-1.i386

But popt-1.7-20.3.x86_64.rpm is already installed

these rpms are written assuming a 32bit system;

likely you have to make what is called a symbolic link; or make a copy of file canon wants; and move to where it wants;

ln -s /usr/lib/@#$%^ /usr/lib64/@#$%^

should be the language; where

@#$%^

just means name of wanted file;

HOWEVER: check where

libpopt.so.0

is; it could be in a sub-folder of /usr/lib and you would need those details in the above command

and of course you will need your root password: OK on that?

we are away for a few days but let the forum know how you get along

make sure spa

i can’t find libpopt.so.0 )))

find / libpopt.so.0
find: `libpopt.so.0’: No such file or directory

try running the symbolic link that I give below: copy and paste it into a terminal; use the menu bar in the terminal to paste, as control-v does not work;

open a terminal

sudo ln -s /usr/lib64/libpopt.so.0 /usr/lib/libpopt.so.0

it will ask you for your root password;enter that;

then see if your installing goes any better

su
passsword:

ln -vs /usr/lib64/libpopt.so.0 /usr/lib/libpopt.so.0
/usr/lib/libpopt.so.0' -> /usr/lib64/libpopt.so.0’

rpm -ivh cndrvcups-capt-1.80-1.i386.rpm
error: Failed dependencies:
libpopt.so.0 is needed by cndrvcupscapt-1.80-1.i386

there is no file “libpopt.so.0” in /usr/lib64. how i can get it? or maybe i can copy/paste it from somewhere?

popt
Popt is a C library for parsing command line parameters. Popt was heavily influenced by the getopt() and getopt_long() functions. It improves on them by allowing more powerful argument expansion. Popt can parse arbitrary argv] style arrays and automatically set variables based on command line arguments. Popt allows command line arguments to be aliased via configuration files and includes utility functions for parsing arbitrary strings into argv] arrays using shell-like rules.

if you open YaST; click on software management; click on skip autofresh; and click again if it asks you to confirm;

when the software screen opens; click on “Installed”;

type in libpopt: in response to that on our 11.0 system, we get that popt has been installed, from the main repository;

we are trying to check if libpopt has been installed; if it has not, if you click on the available button and again type libpopt, it should surely offer you as an option from the main repository;and you can then go ahead and install it …

did you install your 64bit system from a liveCD?

i installed “popt-32bit” using yast. it allowed me unpack driver:

rpm -ivh cndrvcups-capt-1.80-1.i386.rpm

after that i add new printer in yast. but printer doesn’t work

perhaps we remind that you installed a 64bit OpenSuse system; the drivers that Canon releases are intended for 32bit systems;

so if we advise you to now try to carry out the advice offered in post #4:

sudo ln -s /usr/lib64/libpopt.so.0 /usr/lib/libpopt.so.0

try YaST again after that;

if no joy, open CUPS; common unix printing system;

http://localhost:631/

this is in your web browser, but only runs locally so no security issues;

open the Add printer section here; see if you can configure from here;

you could also usefully do some homework;

have a read at this from Ubuntu;

https://help.ubuntu.com/community/HardwareSupportComponentsPrinters/CanonPrinters/Canon_LBP_2900

Ubuntu uses debian packages, not rpm packages, but some learning here for you

LBP printers seem to give install problems

If I ask some further questions: in your first post, you said

I try to install official drivers from Official Canon Drivers and Software and unpack rpm:

rpm -ivh cndrvcups-capt-1.80-1.i386.rpm

when I go back to read the Canon instructions

Canon CAPT Printer Driver for Linux

I note several things;

  1. they say it has been tested, and works, in OpenSuse 11, as well as earlier versions

  2. as with their inkjet printers, they talk of installing two rpms

firstly

cndrvcups-common-1.80-x.i386.rpm

(Installation package for the CUPS driver common module used by the Canon CAPT Printer Driver for Linux.)

then

cndrvcups-capt-1.80-x.i386.rpm

(Installation package for the Canon CAPT Printer Driver for Linux)

… so did you install both?

I think you can see both are i386 drivers …it may mean installing them on a 64bit system will not work …

I note also in the instructions that it says:

Ghostscript which includes common API is required to use this printer driver.
Make sure to install Ghostscript before installing this printer driver.
Refer to the following URL to find out how to get Ghostscript.
opfc - Development of Common Open Printing System

can you check in YaST that you have Ghostscript installed?

My final discovery is that before doing any installing of software, one should read through

Manual guide-capt-1.8xE.tar.gz 271.19 Kb.

that one can download from

Canon CAPT Printer Driver for Linux

I copied it out to my desktop, and used “File Roller” to extract it; Canon have done a wonderful job of a description of howto install the printer driver;it really is a marvellous piece of work; anyone critical of Canon first needs to read this beautifully put-together installation guide;

but it needs careful working through; anyone should print out what they can of it; and then having understood it, start to work through the install;

Canon advise such things after installing the drivers as:
Restart CUPS.
Register the printer (PPD) with the print spooler.
Register the printer in the ccpd daemon setup file.

As larry finger would say: it is homework but it seems you need to do it if you want to install a Canon LBP printer.

i fixed my problem after more careful reading canon’s manual and adding some links:

/usr/lib64/cups/backend/ccp -> /usr/lib/cups/backend/ccp
/usr/lib64/cups/filter/pstocapt -> /usr/lib/cups/filter/pstocapt
/usr/lib64/cups/filter/pstocapt2 -> /usr/lib/cups/filter/pstocapt2
/usr/lib64/cups/filter/pstocapt3 -> /usr/lib/cups/filter/pstocapt3

aftet all i restarted my system and printer began to work!!!

thank you!

well done; delighted to hear it is working; I think you are the first seeking help with LBP who has got one working! Maybe you can find the time to keep an eye on the hardware forum and help others!

so you did a symbolic link did you?

Can you spell out exactly what you did in your final post; so others coming after you can follow exactly what you did; and maybe speed up the process for them to install;

The way to make priner work with opensuse 11.1 (64bit):

  1. Follow the Canon’s instruction. Did all step by step.
  2. Add these symbolic links:

/usr/lib64/cups/backend/ccp -> /usr/lib/cups/backend/ccp
/usr/lib64/cups/filter/pstocapt -> /usr/lib/cups/filter/pstocapt
/usr/lib64/cups/filter/pstocapt2 -> /usr/lib/cups/filter/pstocapt2
/usr/lib64/cups/filter/pstocapt3 -> /usr/lib/cups/filter/pstocapt3

  1. Add printer using yast (yast->hardware->printer->add)
  2. Restart computer

That’s all!

thanks very much;

you might be interested in this thread that ran recently

Canon LBB5100 Capt Driver x86_64 - openSUSE Forums

oldcraft discussed installing the source files for his LBP5100 and it seemed to work too; so good to have the howto for the 64bit Suse users;

previous threads did not work eg

Canon/CUPS problem - openSUSE Forums