have somebody made printer Canon LBP3000 work in openSUSE 12.1 (Linux 3.3.4-1-desktop x86_64)? Can you please help me? I try to install Canon drivers. First time I try to install 64-bit rpm, I set printer in YaST. All looked fine. Printer was detected and driver was installed, but printer didn’t work. Printing test page failed.
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -I/usr/include/libxml2 -I../cnsktmodule -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -Wall -O2 -fPIC -g -O2 -MT ppapdata.o -MD -MP -MF .deps/ppapdata.Tpo -c -o ppapdata.o ppapdata.c
ppapdata.c:109:34: error: unknown type name 'ppd_size_t'
ppapdata.c: In function 'PrintPPAData':
ppapdata.c:165:2: error: unknown type name 'ppd_file_t'
ppapdata.c:166:2: error: unknown type name 'ppd_size_t'
ppapdata.c:180:2: warning: implicit declaration of function 'ppdOpenFile' -Wimplicit-function-declaration]
ppapdata.c:180:6: warning: assignment makes pointer from integer without a cast [enabled by default]
ppapdata.c:181:2: warning: implicit declaration of function 'ppdPageSize' -Wimplicit-function-declaration]
ppapdata.c:181:7: warning: assignment makes pointer from integer without a cast [enabled by default]
ppapdata.c:189:2: warning: implicit declaration of function 'MakePPAData' -Wimplicit-function-declaration]
ppapdata.c: At top level:
ppapdata.c:215:35: error: unknown type name 'ppd_size_t'
ppapdata.c:240:37: error: unknown type name 'ppd_size_t'
ppapdata.c:252:34: error: unknown type name 'ppd_size_t'
ppapdata.c:266:38: error: unknown type name 'ppd_size_t'
ppapdata.c:278:38: error: unknown type name 'ppd_size_t'
ppapdata.c:291:34: error: unknown type name 'ppd_size_t'
ppapdata.c:227:12: warning: 'WritePageEnd' defined but not used -Wunused-function]
ppapdata.c:233:12: warning: 'WriteFileEnd' defined but not used -Wunused-function]
make[3]: *** [ppapdata.o] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/cndrvcups-capt-2.40/statusui/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/cndrvcups-capt-2.40/statusui'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/packages/BUILD/cndrvcups-capt-2.40/statusui'
make: *** [all] Error 1
chyba: Špatný návratový kód z /var/tmp/rpm-tmp.Aq5qok (%build)
chyby sestavení RPM:
Špatný návratový kód z /var/tmp/rpm-tmp.Aq5qok (%build)
I try versions of driveres 1.60, 1.80, 1.90, 2.00, 2.20 and 2.40 stile with same error.
Own experience: printing test-page often fails on canons. Finishing the printer config, then trying from f.e. LibreOffice may still have a good result. Don’t ask me about the cause, but I have two working Canon machines (a LBP?? and a copier (with integrated LBP???) and they work. Knock on wood. I did use the g861enx.rpm, you might need a newer one.
Also, after installing the driver and configuring the printer, please post output of
I try remove the printer and configure it again. After configure lpstat -t:
tucnacek:/home/rada # lpstat -t
scheduler is running
system default destination: deskjet-5600
device for deskjet-5600: hp:/usb/deskjet_5600?serial=MY37U3K0FP89
device for lbp3000: usb://Canon/LBP3000
deskjet-5600 accepting requests since Pá 16. září 2011, 15:05:24 CEST
lbp3000 accepting requests since St 16. květen 2012, 18:45:40 CEST
printer deskjet-5600 disabled since Pá 16. září 2011, 15:05:24 CEST -
Unplugged or turned off
printer lbp3000 is idle. enabled since St 16. květen 2012, 18:45:40 CEST
I try to print something from LibreOffice, but nothing happened, lpstat -t:
tucnacek:/home/rada # lpstat -t
scheduler is running
system default destination: deskjet-5600
device for deskjet-5600: hp:/usb/deskjet_5600?serial=MY37U3K0FP89
device for lbp3000: usb://Canon/LBP3000
deskjet-5600 accepting requests since Pá 16. září 2011, 15:05:24 CEST
lbp3000 accepting requests since St 16. květen 2012, 18:48:28 CEST
printer deskjet-5600 disabled since Pá 16. září 2011, 15:05:24 CEST -
Unplugged or turned off
printer lbp3000 now printing lbp3000-67. enabled since St 16. květen 2012, 18:48:28 CEST
Printer is now connected.
lbp3000-67 rada 9216 St 16. květen 2012, 18:48:28 CEST
Hi socool2. I suspect you haven’t configured your printer correctly. This Canon model uses the Canon CAPT printer driver, which depends on the ccpd daemon running, and the print queue you have (from the lpstat command is not correctly configured). Have a read of this thread:
Once you unpack the tarball, you should end up with a folder containing the required RPMs. (I ignored the distro version list, and found no problem installing when trying to assist another user months back).
Thanks for your help. I have solved it and printer work now. The right way was remove installed packages with drivers and delete printer configuration. Next I install rpm packages with drivers again, exactly version 2.20 work me with openSUSE 12.1
I don’t think the problem is with the udev rule as such, but more so that the CAPT driver relies on the deprecated usblp driver to be loaded first. Try manually loading with
modprobe usblp
then plug your printer in, and make sure that /dev/usb/lp0 exists first
ls -l /dev/usb/lp*
dmesg|tail
If all is well, see if ccpd is running
ps -A|grep ccpd
You may need to make sure usblp is started at boot via YaST…