Finally, we installed the CanoniR5055N printer driver in the Ubuntu system of the company's computer. Record the method so that you do not forget it next time. I searched on Google and found that the content of the CanoniR5055N printer is basically in Japanese. Maybe this model is mainly used in Japan. Finally find the reliable article, the key point translation record: On the Canon web page find iR5055N drive web page: http://cweb.canon.jp/drv-upd/las
Finally, we have installed the Canon iR5055N printer driver in the Ubuntu system of the company's computer. Record the method so that you do not forget it next time.
I searched on Google and found that the content about the Canon iR5055N printer is basically in Japanese. Maybe this model is mainly used in Japan.
Finally, find a reliable article and record the key points:
Find the iR5055N driver webpage on the Canon webpage: http://cweb.canon.jp/drv-upd/lasershot/linux/lips4linux.html
Rpm has 32 and 64-bit values, but deb only has 32-bit values. You cannot install a 32-bit driver on Ubuntu 64-bit. So we need to start installation from the source code.
The web page just now has a source code link: http://cweb.canon.jp/drv-upd/lasershot/linux/lipssource.html
Install ghostscript (I did not install this, it seems OK)
- $ Sudo apt-get install ghostscript
$ sudo apt-get install ghostscript
1. First install the common module
- $ Cd/tmp
- $ Tar xzvf cndrvcups-common-2.20-1.tar.gz
- $ Cd cndrvcups-common-2.20/
$ cd /tmp$ tar xzvf cndrvcups-common-2.20-1.tar.gz$ cd cndrvcups-common-2.20/
Based on README, We need to install several dependent packages:
- $ Sudo apt-get install automake libgtk2.0-dev libcups2-dev libxml2-dev libglade2-dev libglib2.0-dev libtool
$ sudo apt-get install automake libgtk2.0-dev libcups2-dev libxml2-dev libglade2-dev libglib2.0-dev libtool
Compile and install:
- $ Make gen
- $ Sudo make install
$ make gen$ sudo make install
The common module has been installed.
2. Install the driver Ontology
In the original article, I first talked about the installation of the LIPSLX version, and then remembered that the LIPSLX version is not supported after Ubuntu 10.10, so this section is skipped.
Directly install LIPS4:
- $ Cd/tmp
- $ Tar xzvf cndrvcups-lips4-2.20-1.tar.gz
- $ Cd cndrvcups-lips4-2.20/
$ cd /tmp$ tar xzvf cndrvcups-lips4-2.20-1.tar.gz$ cd cndrvcups-lips4-2.20/
In this case, if you run the installation script directly, the author made changes to the script file and gave the diff file: http://www.linuxidc.com/Linux/2012-10/72059p2.htm
Diff file content:
- Diff-ur cndrvcups-lips4-2.20/allgen. sh cndrvcups-lips4-2.20.new/allgen. sh
- --- Cndrvcups-lips4-2.20/allgen. sh 15:12:45. 000000000 + 0900
- ++ Cndrvcups-lips4-2.20.new/allgen. sh 04:20:25. 816086627 + 0900
- @-+ @@
- Cd cpca/cnpklib
- Cd ..
- -./Autogen. sh -- prefix =$ {_ prefix} -- enable-static -- disable-shared
- +./Autogen. sh -- prefix =$ {_ prefix} # -- enable-static -- disable-shared
- Make
- Make install
- Diff-ur cndrvcups-lips4-2.20/cngplp/autogen. sh cndrvcups-lips4-2.20.new/cngplp/autogen. sh
- --- Cndrvcups-lips4-2.20/cngplp/autogen. sh 18:30:49. 000000000 + 0900
- + + Cndrvcups-lips4-2.20.new/cngplp/autogen. sh 04:20:48. 616086625 + 0900
- @-135, 6 + 135, 7 @@
- Automake -- add-missing -- gnu $ am_opt
- Echo "Running autoconf ..."
- Autoconf
- + Autoreconf-ifv
- )
- Fi
- Done
diff -ur cndrvcups-lips4-2.20/allgen.sh cndrvcups-lips4-2.20.new/allgen.sh--- cndrvcups-lips4-2.20/allgen.sh2010-10-14 15:12:45.000000000 +0900+++ cndrvcups-lips4-2.20.new/allgen.sh2011-05-31 04:20:25.816086627 +0900@@ -12,7 +12,7 @@ cd cpca/cnpklib cd ..-./autogen.sh --prefix=${_prefix} --enable-static --disable-shared+./autogen.sh --prefix=${_prefix} ## --enable-static --disable-shared make make install diff -ur cndrvcups-lips4-2.20/cngplp/autogen.sh cndrvcups-lips4-2.20.new/cngplp/autogen.sh--- cndrvcups-lips4-2.20/cngplp/autogen.sh2010-07-08 18:30:49.000000000 +0900+++ cndrvcups-lips4-2.20.new/cngplp/autogen.sh2011-05-31 04:20:48.616086625 +0900@@ -135,6 +135,7 @@ automake --add-missing --gnu $am_opt echo "Running autoconf ..." autoconf+ autoreconf -ifv ) fi done
We can see that there are two changes:
(1) In the allgen. sh file, remove the -- enable-static -- disable-shared parameters when calling autogen. sh.
(2) Add autoreconf-ifv at the end of the cngplp/autogen. sh File
After modification, compile and install: (Note sudo)
- $ Sudo./allgen. sh-deb
- $ Sudo make install
$ sudo ./allgen.sh -deb$ sudo make install
The driver is installed.
Note: The installation of the driver is not complete yet. When adding a printer, you should also note that when selecting the machine model after Canon, you should select the one of the lips iv, instead of the existing iR5055/iR5065.