You are not logged in.

#1 2021-08-26 08:30:51

phrog
Member
Registered: 2021-08-26
Posts: 3

[SOLVED] Printer connected but failing to print

Hello, I'm having trouble using my printer over WiFi. My kernel is 5.12.11-arch1-1 and I'm running KDE plasma. My printer is a Canon Pixma MG5760. The steps I took to set it up follow.

Downloaded the driver set for the 5700 series found below
https://aur.archlinux.org/packages/cano … -complete/
(also tried this driver set when the above one didn't work)
https://aur.archlinux.org/packages/cano … -complete/

Then I followed the instructions here to get the printer to show in the CUPS web interface.
https://wiki.archlinux.org/title/CUPS/P … cnijfilter

For .ppd part of the command I used the official ppd files found in the IJ Printer Driver linux (source file) below, since CUPS doesn't have my printer models ppd files.
https://www.canon.com.au/printers/pixma-mg5760/support

After this the printer shows up in the CUPS web interface and I can select it and attempt to print something.

Now for the problem, I cannot print anything. When I try to print something the "Printing" status will show up in the CUPS interface and also shows up on the display of my printer. However all that happens is that the paper is fed through the printer until the part where it's meant to start putting ink on paper. It'll then hang at this point forever until I manually cancel it through CUPS or my printer, where it will then spit out a blank page. No errors are displayed on the printer or CUPS interface so I'm at a loss.

Should also mention that scanning through SANE works. I know for a fact that the printer works because I can print on my Windows system and on my Android phone. I have also tried updating the printer firmware yet it still doesn't want to print on Arch linux.

Please help.

Last edited by phrog (2021-08-26 16:11:54)

Offline

#2 2021-08-26 08:59:59

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [SOLVED] Printer connected but failing to print

I think you can also try this driver: https://aur.archlinux.org/packages/cnijfilter2/
The precompiled versions for other systems might cause problems if libraries are different on arch.

Since the printer support Apple AirPrint, you can also use the driverless installation method. Either with automatic detection if you configure avahi or manual setup as an Internet Printing Protocol printer with the Generic/Generic IPP Everywhere PPD.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2021-08-26 09:18:26

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,348

Re: [SOLVED] Printer connected but failing to print

That printer uses cnijfilter2 driver for printing and scangearmp2 for scanning .

Based on my experience with maintaining the aur package for canon UFRII driver,  canon targets enterprise / LTS linux distros .
Due to archlinux rolling release the tools printing tools on those distros are often years older then the ones on arch.

The best chance to get canon printers to work on archlinux is to use the latest version canon has available .
Only if the latest version doesn't work you should try older versions.

Try https://aur.archlinux.org/packages/cnijfilter2/ for printing and https://aur.archlinux.org/packages/scangearmp2/ for scanning support .

Edit : or the airprint method mentioned by progandy.

Last edited by Lone_Wolf (2021-08-26 09:19:09)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2021-08-26 11:18:08

phrog
Member
Registered: 2021-08-26
Posts: 3

Re: [SOLVED] Printer connected but failing to print

Ok thanks for the replies, I gave what you guys suggested a try

I installed the driver you linked (cnijfilter2) and I just want to make sure I'm doing this right because it didn't work

I ran "cnijlgmon3", it returned the this "cnijbe2://Canon/?port=net&serial=60-12-8B-35-1C-56".

Then I run "lpadmin -p Canon-MG5760 -P /usr/share/cups/model/canonmg5700.ppd -v "cnijbe2://Canon/?port=net&serial=60-12-8B-35-1C-56" -E" and it says
"lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS."

Then it adds the printer to the CUPS interface where I can print a test page. If I'm not missing something then this still doesn't work and gives the same issue where it will feed the paper and get stuck printing until I cancel it manually.

Now for the second method. I installed avahi, started the service and it detected my printer in the CUPS interface "Find new printers" option. It gives 3 results for my printer (I'll also give the connection it defaults to),
Canon MG5700 series (Canon MG5700 series). connection dnssd://Canon%20MG5700%20series._ipp._tcp.local/?uuid=00000000-0000-1000-8000-60128B351C56
Canon MG5700 series (Canon MG5700 series (driverless)). connection: ipps://Canon%20MG5700%20series._ipps._tcp.local/
Canon MG5700 series (Canon-MG5700-series_mymacaddress). connection: cnijbe2://Canon/?port=net&serial=60-12-8B-35-1C-56

The first two options always give me "Unable to locate printer "351C56000000.local" on CUPS when trying to print." No matter what ppd file I choose, but gives me the option for IPP everywhere. And the third option doesn't show the option for "current_make_and_model IPP everywhere", which means I have to choose a PPD file by CUPS or the one I downloaded from canon, which leaves us with the same issue again of not printing.

Please tell me I'm doing something wrong.

Offline

#5 2021-08-26 11:29:25

phrog
Member
Registered: 2021-08-26
Posts: 3

Re: [SOLVED] Printer connected but failing to print

AAAAA I should have read the Wiki first before saying the avahi method didn't work. Disabling my VPN and doing the fix for avahi located below actually worked and I managed to print a page.
https://wiki.archlinux.org/title/CUPS/T … te_printer

Thanks again.

Offline

Board footer

Powered by FluxBB