Use the CanoniR5055N printer in Ubuntu64 bit

Source: Internet
Author: User
Tags automake
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)

  1. $ Sudo apt-get install ghostscript
$ sudo apt-get install ghostscript

1. First install the common module

  1. $ Cd/tmp
  2. $ Tar xzvf cndrvcups-common-2.20-1.tar.gz
  3. $ 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:

  1. $ 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:

  1. $ Make gen
  2. $ 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:

  1. $ Cd/tmp
  2. $ Tar xzvf cndrvcups-lips4-2.20-1.tar.gz
  3. $ 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:

  1. Diff-ur cndrvcups-lips4-2.20/allgen. sh cndrvcups-lips4-2.20.new/allgen. sh
  2. --- Cndrvcups-lips4-2.20/allgen. sh 15:12:45. 000000000 + 0900
  3. ++ Cndrvcups-lips4-2.20.new/allgen. sh 04:20:25. 816086627 + 0900
  4. @-+ @@
  5. Cd cpca/cnpklib
  6. Cd ..
  7. -./Autogen. sh -- prefix =$ {_ prefix} -- enable-static -- disable-shared
  8. +./Autogen. sh -- prefix =$ {_ prefix} # -- enable-static -- disable-shared
  9. Make
  10. Make install
  11. Diff-ur cndrvcups-lips4-2.20/cngplp/autogen. sh cndrvcups-lips4-2.20.new/cngplp/autogen. sh
  12. --- Cndrvcups-lips4-2.20/cngplp/autogen. sh 18:30:49. 000000000 + 0900
  13. + + Cndrvcups-lips4-2.20.new/cngplp/autogen. sh 04:20:48. 616086625 + 0900
  14. @-135, 6 + 135, 7 @@
  15. Automake -- add-missing -- gnu $ am_opt
  16. Echo "Running autoconf ..."
  17. Autoconf
  18. + Autoreconf-ifv
  19. )
  20. Fi
  21. 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)

  1. $ Sudo./allgen. sh-deb
  2. $ 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.