• Home
  • Linux
  • How to install printers for Canon Pixma G2000 on Ubuntu (Printer function)

How to install printers for Canon Pixma G2000 on Ubuntu (Printer function)

Canon Pixma G1000 and 2000 do not have official drivers for Linux. So we need to install drivers from Gutenprint, or buy drivers from Turboprint. Turbiprint has excellent drivers which provide almost equivalent functionality as Windows. I said almost because they do not proivide a scanner utility or drivers. [Update: Scanning now works on Linux with sane drivers. Check my post.]

I’ll be installing gutenprint (available free) on Ubuntu Xenial.
Before proceeding, switch off your printer, and delete any existing non-functional drivers for G2000.
First add the following lines to your /etc/apt/sources.list if you dont have it:

deb http://jp.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse 
deb-src http://jp.archive.ubuntu.com/ubuntu/ xenial-proposed main restricted universe multiverse 

Install required dependencies:

sudo apt-get build-dep cups-common gimp-gutenprint libgutenprint-dev

On official xenial release and a virgin sources.list, if you’re facing issues getting cups-common source to install, change your sources.list to the following:

###### Ubuntu Main Repos
deb http://in.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse 
deb-src http://in.archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse 

###### Ubuntu Update Repos
deb http://in.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse 
deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse 
deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse 
deb-src http://in.archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse 

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner

Now download the source release package (version >=5.2.13) from sourceforge or the git repo:

wget https://sourceforge.net/projects/gimp-print/files/gutenprint-5.2/5.2.13/gutenprint-5.2.13.tar.bz2/download
tar xvf download
cd gutenprint-5.2.13

Or:

git clone https://git.code.sf.net/p/gimp-print/source gimp-print-source

Now configure and make everything.

./configure
make 
sudo make install

After running configure, it should like this:

Configuration Summary:
------------- --------

If you have any problems, please report the information below to
[email protected]

================================================================
  Release: gutenprint 5.2.13 generated on 16 Jul 2017

  Features:
    Build CUPS:                                 yes, installing in /usr
        Build CUPS 1.2 enhancements:            yes
        Build CUPS PPD files:                   no
        Generate PS level 3 CUPS PPD files:     yes
        Build genppd statically:                yes
        Build CUPS dyesub USB backend:          yes
    Build EPSON inkjet utility:                 yes
    Build enhanced Print plugin for GIMP:       yes
        GIMP plugin will be named:              gutenprint
        Install plugin(s) in home directory:    no
    Build test programs:                        yes
    Build testpattern generator:                yes

  Installation summary:
    Installation prefix:                        /usr/local
    Exec prefix:                                /usr/local (${prefix})
    Data directory:                             /usr/local/share/gutenprint
    Library directory:                          /usr/local/lib/gutenprint (/usr/local/lib/gutenprint)
    XML data directory:                         /usr/local/share/gutenprint/5.2/xml
    Module directory:                           /usr/local/lib/gutenprint/5.2/modules (/usr/local/lib/gutenprint/5.2/modules)
    Install sample images:                      yes

  General configuration:
    Compiler options:                           -Disfinite=finite  -O6  -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings -Werror-implicit-function-declaration -Winline -Wformat=2 -finline-limit=131072
    Build static libraries:                     yes
    Build shared libraries:                     yes
    Maintainer mode:                            no
    Use i18n:                                   yes
    Generate profiling information:             no
    Generate debugging symbols:                 no
    Use modules:                                static
    Use readline libraries:                     yes, extra arguments: -ltermcap
    uname -a output:                            Linux hp 4.10.0-30-generic #34~16.04.1-Ubuntu SMP Wed Aug 2 02:13:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
================================================================

Once make install is completed, switch on your printer. Ubuntu will show a notification that the printer G2000 was added successfully.

To get the scanner function working, install Vuescan, a paid software. Unfortunately, I wasnt able to get it to work with sane or scangearmp2. If you come across a non-paid solution, do share it with me.
I’ve now successfully got the scanner function too working with the help of the dev behind scangearmp. Check this post for details.

Post your comments below. Did it work for you? If it did, would you like to show your thanks by donating?

Joel G Mathew

Joel G Mathew, known in tech circles by the pseudonym Droidzone, is an Android and Linux enthusiast. His favorite pastime is grappling with GNU compilers, discovering newer Linux secrets, writing scripts, hacking roms, and programs (nothing illegal), reading, blogging. and testing out the latest gadgets. When away from the tech world, Joel is a practising ENT Surgeon.

2 Replies to “How to install printers for Canon Pixma G2000 on Ubuntu (Printer function)”

  1. Hi,

    i have an error for this command:
    sudo apt-get build-dep cups-common gimp-gutenprint libgutenprint-dev
    Reading package lists… Done
    Picking ‘cups’ as source package instead of ‘cups-common’
    Picking ‘gutenprint’ as source package instead of ‘gimp-gutenprint’
    E: Unable to find a source package for gimp-gutenprint

    please help.
    thanks

Comments are closed.