@chandra
try installing ia32-libs from synaptic package manager/USC and also ubuntu restricted extras from software centre before following these instructions.
@chandra
try installing ia32-libs from synaptic package manager/USC and also ubuntu restricted extras from software centre before following these instructions.
Hi, some days ago I decided to upgrade my Ubuntu 10.04 to the newer Ubuntu 12.04. Everything went very well, and after some configuration I felt satisfied. Only a thing created some head scratching: my Canon printer LBP3010 could not print!
After some unsuccessfully attempts to make the driver functioning I decided to make some researches in Google. I tried all possible drivers, deb packages and following strictly all posts that I fount in the Internet, but... nothing, my printer seems to be dead!
My last chance was to recompile from source. First with unsuccessful results, due to many error that occurred during the compilation procedure. Again, after some head scratching and a few sleepless nights analyzing the source code, I get the right solution and now I have my LBP3010 fully functioning.
Note that the following procedure is valid for a 64 bit machine.
uname -a gives
Linux toni-laptop 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
In the following I will show the procedure that I followed in order to get the printer working.
First I downloaded the last driver package I found at the Canon web page:
Linux_CAPT_PrinterDriver_V240_uk_EN.tar.gz.
Now the procedure to compile.
First step
1) extract the tar.gz package to a folder of Your choice;
2) cd Linux_CAPT_PrinterDriver_V240_uk_EN/Src/
3) untar cndrvcups-capt-2.40-1.tar.gz and cndrvcups-common-2.40-1.tar.gz
4) cd cndrvcups-common-2.40/
5) gedit debian/control and change "i386" with "amd64" al line 9, save and close file
6) dpkg-buildpackage.
At the end of operation 6) You will find cndrvcups-common_2.40-1_amd64.deb package in Src directory.
7) install it (required for the next compilation steps) with the common
sudo dpkg -i cndrvcups-common_2.40-1_amd64.deb
Second step
1) cd cndrvcups-capt-2.40/
2) gedit debian/control and change "i386" with "amd64" al line 9, save and close file
3) gedit debian/rules and uncomment line 172 which will results, then, in
# dh_shlibdeps
Save and close
4) gedit statusui/src/ppapdata.c and add the header (this is to define variable ppd_size_t)
#include <cups/ppd.h>
save and close file.
5) gedit cngplp/configure.in and add "AC_CONFIG_MACRO_DIR([m4])" at line 9, save and close
6) gedit cngplp/Makefile.am and add "ACLOCAL_AMFLAGS=-I m4" at line 5, save and close
7) run the following commands in the cngplp directory:
libtoolize
aclocal
automake
8) cd ..
9) dpkg-buildpackage
At the end of operation 9) You will find cndrvcups-capt_2.40-1_amd64.deb package in Src directory.
10) install it with
sudo dpkg -i cndrvcups-capt_2.40-1_amd64.deb
End of procedure.
From this point You should follow the printer configuration steps as stated in the previous posts.
I hope this will help the Ubuntu Community.
Kind regards
Please help. When I double click on the "reset-printer.sh" it opens up to gedit automatically even after doing the chmod step. It doesn't give me the option to run it to the terminal.
please have a read at post #2 here
http://ubuntuforums.org/showthread.p...ighlight=canon
...........see if you can follow the instructions ........
...........if not, tell me how I can make them more clear ....
........lastly, subscribe to the thread: top right: thread tools then you can keep in touch ..........
@ tonidito
Many thanks for your procedure. Since Ubuntu 10.10 and Canon driver v2.00, I failed to compile cndrvcups-capt for 64bits and I'm not enough expert to find the files to be modified.
I try it on 12.04-64bits (same kernel version).
Compilation cndrvcups-common still works.
Compilation cndrvcups-capt works and at the end my LBP5000 works too, but on step#7 when running automake command I have this message :
An other issue is that :user1@allusers-System:~/Linux_CAPT_PrinterDriver_V240_uk_EN/Src/
cndrvcups-capt-2.40/cngplp$ automake
configure.in:39: required file `./config.guess' not found
configure.in:39: `automake --add-missing' can install `config.guess'
configure.in:39: required file `./config.sub' not found
configure.in:39: `automake --add-missing' can install `config.sub'
configure.in:5: required file `./install-sh' not found
configure.in:5: `automake --add-missing' can install `install-sh'
configure.in:5: required file `./missing' not found
configure.in:5: `automake --add-missing' can install `missing'
cngplpmod/Makefile.am: required file `./depcomp' not found
cngplpmod/Makefile.am: `automake --add-missing' can install `depcomp'
Makefile.am: required file `./INSTALL' not found
Makefile.am: `automake --add-missing' can install `INSTALL'
Makefile.am: required file `./COPYING' not found
Makefile.am: `automake --add-missing' can install `COPYING'
doesn’t open the Status Monitor. I have a "buffer overflow" error.captstatusui -P LBP5000
Have you any idea about that ?
Kind regards
Sivella
EDIT : Canon driver version 2.50 is now available. I try your compilation procedure on 12.10-64bits.
The printer works. Same issues as mentioned for 12.04-64bits.
Last edited by Sivella; November 2nd, 2012 at 03:37 PM.
Hi Sivella,
did You try the commands as super user (i.e. with sudo?)? Anyway the important thing is that You don't have errors.
Regarding the "buffer overflow" error in captstatusui probably it depends on a bug with a pointer (or some pointers). I tried to check the code but I have no much time. I hope somebody could help me. Really, I do not miss this program; as amatter of fact I noted that the printer works perfectly even without it.
Kind regards
Hi Tonidito,
Thanks for your answer.
I tried the commands as root (sudo) and non-root, I had the same message when running automake.
But anyway, my printer still printing on 12.04 and 12.10 with Canon drivers v2.4 and/or v2.5 compiled following your instructions.
Kind regards
Thank you for the help.
Hi Steve,
thank you very much for your detailed instruntions!! It works.....it prints!
Bookmarks