Package Details: hplip-plugin 3.23.12-3

Git Clone URL: https://aur.archlinux.org/hplip-plugin.git (read-only, click to copy)
Package Base: hplip-plugin
Description: Binary plugin for HPs hplip printer driver library
Upstream URL: https://developers.hp.com/hp-linux-imaging-and-printing/binary_plugin.html
Licenses: LicenseRef-HPLIP-LICENSE
Submitter: pyropeter
Maintainer: carsme
Last Packager: carsme
Votes: 404
Popularity: 2.78
First Submitted: 2010-12-21 00:32 (UTC)
Last Updated: 2024-01-28 22:37 (UTC)

Pinned Comments

carsme commented on 2024-01-15 16:53 (UTC) (edited on 2024-02-04 14:15 (UTC) by carsme)

Hey, I've adopted this package and applied some of the suggestions:

  • Add missing dependencies, notably libusb-compat and sane (cred @ZhandHua).
  • Depend on exact version of hplip (cred @jsn42).

In addition, the PGP-signature of the artifact is now checked, which means you need to fetch upstream's key:

gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 4ABA2F66DBD5A95894910E0673D770CDA59047B9

Unfortunately, I have no HP printer at home so my testing ability is limited to running hp-diagnose_plugin. If someone has better opportunity to test and is interested in maintaining, let me know and I'll handover the package or add you as a co-maintainer. Cheers!

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 34 Next › Last »

wanderer93 commented on 2022-12-24 11:38 (UTC)

/var/tmp/pamac-build-sorcerer/hplip-plugin/PKGBUILD: line 23: cd: /var/tmp/pamac-build-sorcerer/hplip-plugin/src/hplip-3.22.10-plugin: No such file or directory

'hplip-plugin': 3.22.10-1 'hplip' itself: 3.22.10-1

gerson commented on 2022-11-03 13:38 (UTC)

For those running Manjaro:

Manjaro's hplip is always delayed with respect to Arch, and this hplip-plugin follows the Arch version. It's a bummer. However, the unstable branch of Manjaro usually have the updated hplip version there.

So, if you want to keep it synced, try using the downgrade tool to actually upgrade to the package in the unstable branch. This is not recommended in general, but hplip does not have deep dependencies, so it works fine. Here's the command:

sudo downgrade hplip --ala-only

From the list of versions, select the one that matches the hplip-plugin version.

@andmars, please consider pinning this comment. It might be helpful for others. Or adding part of this message to your pinned comment.

BunchOfAtoms commented on 2022-03-04 11:03 (UTC)

prepare() fails on my Manjaro machine, I have to add "--nox11" to make it work, like this:

prepare() { sh "hplip-$pkgver-plugin.run" --target "$srcdir/hplip-$pkgver-plugin" --noexec --nox11 }

ploffie commented on 2022-01-17 12:48 (UTC)

@argymeg: many thanks. My printer is working now. I was indeed using pamac.

argymeg commented on 2022-01-17 12:34 (UTC)

@ploffie: You can see just further down on the page, the same error was reported around this time last year. No resolution was posted but, based on the discussion at the time, are you using pamac by any chance? If so, try building the package manually and see if that works.

ploffie commented on 2022-01-17 12:12 (UTC) (edited on 2022-01-17 12:13 (UTC) by ploffie)

Installation gives the error:

==> Extracting sources...
==> Starting prepare()...
hplip-3.21.12-plugin.run: line 314: exec: -t: invalid option
exec: usage: exec [-cl] [-a name] [command [argument ...]] [redirection ...]
==> ERROR: A failure occurred in prepare().
    Aborting...

hplip 3.21.12 is installed

mokos commented on 2021-08-22 15:33 (UTC)

when i try to send a fax it crashes on a first step: choose the file to send!! --this is the error-- `` [linux@Linux ~]$ hp-sendfax -p Fax

HP Linux Imaging and Printing System (ver. 3.21.6) PC Sendfax Utility ver. 9.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.

warning: Reportlab not installed. Fax coverpages disabled. warning: Please install version 2.0+ of Reportlab for coverpage support. Traceback (most recent call last): File "/usr/share/hplip/ui5/sendfaxdialog.py", line 375, in FilesTable_fileListChanged self.toggleCoverPage(self.FilesTable.isMIMETypeInList(MIME_TYPE_COVERPAGE)) File "/usr/share/hplip/ui5/sendfaxdialog.py", line 328, in toggleCoverPage self.CoverPageGroupBox.toggled[bool].disconnect(self.CoverPageGroupBox_toggled) TypeError: 'method' object is not connected Aborted (core dumped)``

when i Comment out the line: "/usr/share/hplip/ui5/sendfaxdialog.py", line 375 as the error prompts everything works!!!!

Anty0 commented on 2021-03-19 19:33 (UTC)

@jsn42 I agree, it would be great, to find solution for this, but problem is, when you do that, you will have to uninstall hplip-plugin before every hplip update, as pacman will not allow you to update hplip without removing hplip-plugin first due to version mismatch... :/

jsn42 commented on 2021-03-19 19:10 (UTC) (edited on 2021-03-19 19:11 (UTC) by jsn42)

I think it would help to change line 12 of PKGBUILD from

depends=("hplip>=$pkgver")

to

depends=("hplip=$pkgver")

As others have mentioned, the hplip-plugin package doesn't seem to work unless the hplip and hplip-plugin versions match exactly.

This probably isn't much of a problem for archlinux users, since the versions generally agree. But it reeks havoc in manjaro, where the stable version of hplip is often behind the current arch version. Getting an error when updating hplip-plugin from AUR would be better than the current situation. Currently, the update installs without any issues, but then the scanning, etc., functions of your printer simply fail to work.

In fact, the binary blobs in in the hplip-plugin rarely seem to change at all. Most of the time, all that updating hplip-plugin does is to change the version number in the file /var/lib/hp/hplip.state (Despite it's generic-sounding name, this file only has information about the plugin state.) I've found that it is often possible to just edit this file, instead of downloading the blobs, but it wouldn't be a good idea to automate that. Perhaps a simple readme suggesting this fix could be included, for times when hplip has been updated but hplip-plugin's version is slightly newer or older.

Gotit commented on 2021-01-25 15:25 (UTC)

@andmars Yes I'm on Arch (mostly, was Antergos but switched most packages to Arch). I've built many packages via Pamac so I must have the base-devel. I was trying to install via Pamac from AUR.