Newbie here. Install RPM driver for my Canon Pixma G3020 printer?

I just switched from Ubuntu to Tumbleweed a few days ago. I’ve got a Canon Pixma G3020 printer. I found some RPM driver packages here:

UPDATE: I’m unable to remove the incorrect DYMO printer driver. How to remove it?

As only you know the name of the package…search for the driver name in YaST software and remove it. And you also didn’t tell how you tried to uninstall the driver, and how DYMO is related to the Pixma…

1 Like

I’m no longer able to edit my own posts here. Any idea why that would be?

This forum (software) allows only edits for 10 minutes after inital post…

1 Like

I have a Canon Pixma MG4250 for which I needed to install the driver package.
If your printer doesn’t support driverless printing you need to install a driver.

I downloaded the driver archive package from the official Canon Asia homepage (for your model here: IJ Printer Driver Ver. 6.10 for Linux (rpm Packagearchive)), extracted it and ran the install.sh shell script that is in the folder. The script uses CUPS to install the printer (in my case I could chose during the install if I want to use it via wifi or USB).
If your system has the needed dependencies installed it should run fine.

1 Like

I downloaded the driver. Anyway I can check if these dependencies are installed before installing the driver? If the dependencies are missing I’m worried the install will fail and maybe cause corruption.

No. When deps are missing you get informed about it. But if you use zypper for installation, deps get pulled automatically when available.
E.g.
sudo zypper in /path/to/your/package.rpm

1 Like

I extracted the files. Should I double click on install.sh? Or do sudo zypper in … .rpm?

The install.sh has the advantage that it has a guided setup for the printer as well.

You should open it from the terminal.
Just open the terminal and instert /the/path/to/install.sh

you might need to make it executable before by chmod +x /the/path/to/install.sh though

You can install it via zypper as well and set your printer up with cups afterwards

1 Like

It is already executable -rwxr-xr-x (755)

2 Likes

Thanks, I didn’t check that

1 Like

So just copy this: /home/advait/Downloads/cnijfilter2-6.10-1-rpm/ into the terminal and hit enter?

Will I get the same results if I just double click on the file?

/home/advait/Downloads/cnijfilter2-6.10-1-rpm/install.sh

Terminal is always prefered as it is more verbose…

1 Like

Ok, thx, I’ll run it soon and report back.

Failed. /home/advait/Downloads/cnijfilter2-6.10-1-rpm/install.sh Failed.

Failure details below. I ran the install.sh and it never detected my printer. Printer was USB connected and turned on. Anyway to fix this? I’d really like to get this printer working. Looks like setting up printers is a struggle in Tumbleweed. Sigh.

advait@localhost:~> sudo /home/advait/Downloads/cnijfilter2-6.10-1-rpm/install.sh
[sudo] password for root: 
==================================================

Canon Inkjet Printer Driver
Version 6.10
Copyright CANON INC. 2001-2020

==================================================
Command executed = rpm -Uvh /home/advait/Downloads/cnijfilter2-6.10-1-rpm/packages/cnijfilter2-6.10-1.x86_64.rpm
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
Updating / installing...
   1:cnijfilter2-6.10-1               ################################# [100%]

#=========================================================#
#  Register Printer
#=========================================================#
Next, register the printer to the computer.
Connect the printer, and then turn on the power.
To use the printer on the network, connect the printer to the network.
When the printer is ready, press the Enter key.
> 

#=========================================================#
#  Connection Method
#=========================================================#
 1) USB
 2) Network
Select the connection method.[1]1

Searching for printers...
/home/advait/Downloads/cnijfilter2-6.10-1-rpm/install.sh: line 507: cnijlgmon3: command not found


#=========================================================#
#  Select Printer
#=========================================================#
Select the printer.
If the printer you want to use is not listed, select Update [0] to search again.
To cancel the process, enter [Q].
-----------------------------------------------------------
 0) Update
-----------------------------------------------------------
Could not detect the target printer.
-----------------------------------------------------------
Currently selected:[0] Update
Enter the value. [0]0

Connect the printer, and then turn on the power.
To use the printer on the network, connect the printer to the network.
When the printer is ready, press the Enter key.
> 

Searching for printers...
/home/advait/Downloads/cnijfilter2-6.10-1-rpm/install.sh: line 507: cnijlgmon3: command not found


#=========================================================#
#  Select Printer
#=========================================================#
Select the printer.
If the printer you want to use is not listed, select Update [0] to search again.
To cancel the process, enter [Q].
-----------------------------------------------------------
 0) Update
-----------------------------------------------------------
Could not detect the target printer.
-----------------------------------------------------------
Currently selected:[0] Update
Enter the value. [0]0

Connect the printer, and then turn on the power.
To use the printer on the network, connect the printer to the network.
When the printer is ready, press the Enter key.
> 

Searching for printers...
/home/advait/Downloads/cnijfilter2-6.10-1-rpm/install.sh: line 507: cnijlgmon3: command not found


#=========================================================#
#  Select Printer
#=========================================================#
Select the printer.
If the printer you want to use is not listed, select Update [0] to search again.
To cancel the process, enter [Q].
-----------------------------------------------------------
 0) Update
-----------------------------------------------------------
Could not detect the target printer.
-----------------------------------------------------------
Currently selected:[0] Update
Enter the value. [0]0

Connect the printer, and then turn on the power.
To use the printer on the network, connect the printer to the network.
When the printer is ready, press the Enter key.
>  

Searching for printers...
/home/advait/Downloads/cnijfilter2-6.10-1-rpm/install.sh: line 507: cnijlgmon3: command not found


#=========================================================#
#  Select Printer
#=========================================================#
Select the printer.
If the printer you want to use is not listed, select Update [0] to search again.
To cancel the process, enter [Q].
-----------------------------------------------------------
 0) Update
-----------------------------------------------------------
Could not detect the target printer.
-----------------------------------------------------------
Currently selected:[0] Update
Enter the value. [0]q
The printer registration has not been completed.
Register the printer manually by using the lpadmin command.
advait@localhost:~> 


UPDATE. I got it working. On a hunch and lark I went to Printer Setting and did Unlock and Add Printer. This time it did not install the incorrect DYMO printer but instead installed the correct Canon G3020 printer! I successfully printed a document. Yay! The system must have somehow recognized that I downloaded the correct printer driver.

It was purely a guess to do this. This must mean I’m starting to develop an intuition for Linux stuff.

Issue resolved. Please mark this thread as SOLVED. Thanks.

Why is this G3020 driver not in the kernel? This is a popular printer.

It is probably not an open source driver, at a guess. openSUSE only includes open code in its kernel builds - though to be clear, printer drivers aren’t part of the system kernel, generally.

No need - we do not do this here, as is covered in the forums FAQ. :slight_smile:

1 Like

CUPS printer drivers run in user space.

2 Likes

I’ve heard this term “user space” but don’t really know what it means. I’ll google.