Page 6 of 8
Re: HP Deskjet All-in-One Ink Advantage Colour Printer Compatibility
Posted: Tue Dec 22, 2020 8:15 pm
by mxmatrix
Amigo wrote: Tue Dec 22, 2020 11:27 am
Looking info about the hplip error. i found that it's seems to be related to phython
https://bugs.launchpad.net/hplip/+bug/1813768
"It appears that HPLIP needs Python 3, but Ubuntu defaults to the deprecated Python 2" <------ NOTE: Ubuntu
https://answers.launchpad.net/hplip/+question/691141
In the post# 7 someone is posting a solution (update "the symbolic link" of python inside /usr/bin/) <------ NOTE: Ubuntu
Maybe you can try it in lubuntu and see if that fixes it (if that work in lubuntu then i guess is easier to apply the equivalent method in MX linux).
My earlier HP printer also worked through HPLIP but never had this python problem.
Will check that thread but it gets frustrating as I can not even return this printer and buy a different one.
Re: HP Deskjet All-in-One Ink Advantage Colour Printer Compatibility
Posted: Tue Dec 22, 2020 8:20 pm
by mxmatrix
David P wrote: Tue Dec 22, 2020 12:27 pm
See here for the printer specification:
https://store.hp.com/in-en/default/hp-d ... fr21b.html
Under the specificatons tab, the section PRINTER SPECIFICATIONS, it says:
Print languages HP PCL 3 GUI; HP PCLm (HP Apps/UPD); URF (AirPrint).
So it looks as though the printer does support AirPrint.
You will find the application sane-airscan under the Debian Backports tab in the MX package installer.
What does this
Airprint does ? Is it some what like a direct wireless connection ? I have noticed in some kinds of wireless connections, data is routed through some servers. If that is the case then it is not a good way. I apologise, I have never used any kind of wireless connection for my printer. I always used USB connection. So do not have much knowledge about it.
Is there any article where it compares Direct wireless, Wifi / Network connection and Airprint ?
.
Re: HP Deskjet All-in-One Ink Advantage Colour Printer Compatibility
Posted: Wed Dec 23, 2020 6:32 am
by David P
AirPrint, or eSCL is a protocol (or language) that was developed by Apple. It was promoted by Apple as a way of scanning from a mobile device and any device that supports AirPrint version 1.4 (such as your printer/scanner) should support eSCL. The protocol is a vendor-neutral network protocol that allows driverless scanning with suitable SANE backends via ethernet, wireless and USB connected devices. The package should identify scanners connected on your home network. So if you connect your printer to your router, hopefully with sane-airscan installed you will find that your scanner shows up as a scanner on your home network.
See the article in:
https://wiki.debian.org/SaneOverNetwork ... L_Protocol.
There is also some useful information here:
https://wiki.archlinux.org/index.php/SANE
If you are connecting your printer via a usb connection, I believe you may also need to install the package ipp-usb.
Re: HP Deskjet All-in-One Ink Advantage Colour Printer Compatibility
Posted: Thu Dec 24, 2020 4:10 am
by mxmatrix
Amigo wrote: Tue Dec 22, 2020 11:27 am
Looking info about the hplip error. i found that it's seems to be related to phython
https://bugs.launchpad.net/hplip/+bug/1813768
"It appears that HPLIP needs Python 3, but Ubuntu defaults to the deprecated Python 2" <------ NOTE: Ubuntu
https://answers.launchpad.net/hplip/+question/691141
In the post# 7 someone is posting a solution (update "the symbolic link" of python inside /usr/bin/) <------ NOTE: Ubuntu
Maybe you can try it in lubuntu and see if that fixes it (if that work in lubuntu then i guess is easier to apply the equivalent method in MX linux).
Before I make any change wanted to confirm if it is related to Python or any missing dependency ?
Code: Select all
hp-plugin
HP Linux Imaging and Printing System (ver. 3.20.11)
Plugin Download and Install Utility ver. 2.1
Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
HP Linux Imaging and Printing System (ver. 3.20.11)
Plugin Download and Install Utility ver. 2.1
Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
(python3:1449): GLib-GIO-CRITICAL **: 08:12:56.838: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
(python3:1449): GLib-GIO-CRITICAL **: 08:12:56.838: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
(python3:1449): GLib-GIO-CRITICAL **: 08:12:56.838: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Checking for network connection...
Downloading plug-in from:
Receiving digital keys: /usr/bin/gpg --homedir /home/hontra/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A99894990E0673D770CDA59047B9
-^Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.11 Plugin Self Extracting Archive..............................................................
HP Linux Imaging and Printing System (ver. 3.20.11)
Plugin Installer ver. 3.0
Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Plug-in version: 3.20.11
Installed HPLIP version: 3.20.11
Number of files to install: 64
(python3:1804): GLib-GIO-CRITICAL **: 18:56:11.307: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
(python3:1804): GLib-GIO-CRITICAL **: 18:56:11.307: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
(python3:1804): GLib-GIO-CRITICAL **: 18:56:11.307: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed.
Re: HP Deskjet All-in-One Ink Advantage Colour Printer Compatibility
Posted: Thu Dec 24, 2020 4:50 am
by asqwerth
I thought mx19 /Debian 10 still had python2 coexisting with python3.
Unfortunately I can't really help you with HP since I use Brother printers.
Maybe change your thread title to clarify you are asking for help to get your hp printer up and running.
It's also hard because you don't want to connect wirelessly. It might be that you can set your printer with a static ip address in your network that won't require connections with outside sources to get it running? That's how my brother machine works. And the android app doesn't require registering personal details. .
Re: HP Deskjet All-in-One Ink Advantage Colour Printer Compatibility
Posted: Thu Dec 24, 2020 7:16 am
by David P
Just a thought. Did you run "sudo sh hplip-3.20.x-plugin.run" from the command line to install the plugin? (Replace the x with your particular version number)
Also, it might be worth running "hp-check" from the command line to see if there are any missing dependencies.
Re: HP Deskjet All-in-One Ink Advantage Colour Printer Compatibility
Posted: Thu Dec 24, 2020 9:10 am
by Amigo
What I see is that python it's complaining and according to the links mentioned before there are several people reporting the same error (related to phyton) and some of them proposing solutions.
It's up to you to try them or not. Anyway sooner or later you will have to try something in order to get the printer working.
A good idea also is
Maybe change your thread title to clarify you are asking for help to get your hp printer up and running.
asqwerth wrote: Thu Dec 24, 2020 4:50 am
Maybe there is someone that can share, propose more and better options or knows exactly how to set it up properly

Re: HP Deskjet All-in-One Ink Advantage Colour Printer Compatibility
Posted: Fri Dec 25, 2020 11:47 am
by mxmatrix
David P wrote: Thu Dec 24, 2020 7:16 am
Just a thought. Did you run "sudo sh hplip-3.20.x-plugin.run" from the command line to install the plugin? (Replace the x with your particular version number)
Also, it might be worth running "hp-check" from the command line to see if there are any missing dependencies.
I will try running
hp-check and get back.
Re: HP Deskjet All-in-One Ink Advantage Colour Printer Compatibility
Posted: Fri Dec 25, 2020 11:52 am
by mxmatrix
asqwerth wrote: Thu Dec 24, 2020 4:50 am
I thought mx19 /Debian 10 still had python2 coexisting with python3.
Unfortunately I can't really help you with HP since I use Brother printers.
Maybe change your thread title to clarify you are asking for help to get your hp printer up and running.
It's also hard because you don't want to connect wirelessly. It might be that you can set your printer with a static ip address in your network that won't require connections with outside sources to get it running? That's how my brother machine works. And the android app doesn't require registering personal details. .
Changed the thread title.
Well . . . just asking you about the wireless option. Some one wrote, it is just a wireless way of connecting the printer, we will anyway need the drivers. So in that case how does it helps more, compared to the wired option ? Also I am sort of concerned about safety and privacy aspect when connecting through the wireless option. What do you suggest about that ?
Re: HP Deskjet All-in-One Ink Advantage Colour Printer Compatibility
Posted: Fri Dec 25, 2020 11:56 am
by mxmatrix
Amigo wrote: Thu Dec 24, 2020 9:10 am
What I see is that python it's complaining and according to the links mentioned before there are several people reporting the same error (related to phyton) and some of them proposing solutions.
It's up to you to try them or not. Anyway sooner or later you will have to try something in order to get the printer working.
I noticed about that symbolic link thread. A bit scared in messing up the system.
That is why first experimenting all this on Lubuntu and what ever finally works, I will apply on Mx.