Canon Printer installation

I Am tryin to install drivers for my Canon TS-5051 and went far but stuck with the python dependencies with pyqt4-dbus:

when I do a

> sudo apt install python-dev libcups2-dev libusb-1.0.0-dev libtool-bin libcupsimage2-dev libcrypto++-dev libssl-dev libsnmp-dev libsane-dev python-qt4 python-qt4-dbus python-pyqt5 python3-pyqt5 python-dbus.mainloop.pyqt5 python3-dbus.mainloop.pyqt5 python-notify xsane libdbus-1-dev

I get errors for packets that cant be found:

what do I have to do to be able to install all (python) packages that the canon (HP) driver ( needs ?

Thanks in advance.


Are you using USB?

There was an issue with another Canon printer that was cleared up with installing libusb-dev. If it's USB, give that a shot :+1:

installed libusb-dev:

sudo apt install libusb-dev~~

And started ./

The python packages keep missing:

at all I will need all that packages and I installed about 5 but stuck with the Python ...

Nothing with hplip or python - just install libusb-dev, reboot, then try printing again from USB.

installed libusb-dev rebooted ...

Now both scanner apps dont find the device anymore

and still stops with error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.

Going off your dependencies from the screenshots - most of them are not available, and I'm on Z16.3 Core.

I checked my install, and have hplip [installed, automatic] - do you have hplip installed already? Second one:
Screenshot from 2023-12-12 17-22-28

But, can't find those dependencies..

There are two hplip apps in the Software store as well:

They are Snap packages, so that may or may not impose an issue, but are more current than 3.20.

hplip is installed:

none from the software store:

Do you think installing from the Software store could help?
If yes, wich of both and should I better remove the installed packages with apt?

You could try the one in Software, for sure - they are listed as the same version, one is 'stable' branch, one is the 'latest / edge' branch; I would choose the stable one though.

The hplip package already installed can stay for now - don't see it causing any issues at the moment. It may or may not be removed with the newer install from Software (3.22.10-1).

them are both latest/stable latest/edge

wich on is the right choice. hplip-printer-app or ps-printer-app?

BTW: That's printer software! What I need the more at the moment is the scanner working :wink:

Sorry installed the one described with "3.22.10-1"

But that didnt make the system find the scanner. And I also can't use the printer allthough its installed:

But deleting and reinstalling the device made the Scanner apps find the device again :wink:

While both still can't read the device ...

Actually, updated version of what you were tying to install earlier -; also drivers.

Scanning - do you have xsane installed?

sudo apt-get install sane xsane xsane-common sane-utils libsane libsane-common libsane-dbg libsane-dev libsane-extras libsane-extras-common libsane-extras-dbg libsane-extras-dev

That's all the necessary packages for xsane and scanning.

xsane is installed and can find the device but not read it

gave back:

Those ones not found can be removed from the string and ran again - I'm looking for a driver now that may be of use.

(edit) Okay - found a driver:

That may help haha lemme take a look to see what it needs to install.. Just looks like a ./ file to run - pretty easy. That's the ScanGear software though, since scanning is the question right now.

Ok I looked thew Cannon halp pages and found out here that the scanner doesnt work when the cartridge ist empty.mine is empty.

To make that working I need to disable the ink detection. But the only howto I found is for windows :disappointed_relieved:

1 Like

Aaaahhhh... weeeeell I'd say that's the problem, heh.

Well, I guess that's somewhat of an easy fix! :wink:

Or, off the link you posted:

In all PIXMA models other than G-series PIXMA models, you can disable the ink detection system with the empty ink cartridges or tanks installed by pressing the Stop button on the printer for at least five (5) seconds and then releasing it. In G-series PIXMA models, you can do so by pressing and then immediately releasing the Start, OK, or Resume button, or by following the instructions on the printer’s LCD screen.[1]

Might be able to disable the checking :thinking:

that driver is installed, but it didn't help.

That greedy Intelligence beasts disable the scanner when the ink is empty :face_with_symbols_over_mouth:

Lol I'd say maybe the extra stuff installed wasn't even needed. But, disabling the tank checking sounds good till a refill is on-hand :grin:

Like Shaq says - don't have "Cartridge Conniption"! :laughing:

yes but that only works with cartridges.
Mine went broken long ago when refilling.

There seems to be no way around buying new cartridges :face_with_diagonal_mouth:

Greedy industry! That semi-heroes need to start working for humans or vanish

Ooohhhh.. The carts might have a chip on them; had experienced that before. Apparently there's a device you can use to reset the chip. It talks to the printer and then stores that info that says it's 'empty', then even after refilling it doesn't change.. That's another hurdle as well, darn..

I dumped the whole cartridges when I couldn't get them closed after refilling!

OK man!
Thanks for your attempts to help me!

I must open my wallet ... :money_mouth_face: :money_mouth_face: :money_mouth_face:

1 Like