Package Details: hplip-plugin 3.25.2-1

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
Keywords: fax hp printer scanner
Licenses: LicenseRef-HPLIP-LICENSE
Submitter: pyropeter
Maintainer: ZhangHua
Last Packager: ZhangHua
Votes: 402
Popularity: 0.026613
First Submitted: 2010-12-21 00:32 (UTC)
Last Updated: 2025-03-31 12:08 (UTC)

Pinned Comments

ZhangHua commented on 2025-03-31 03:44 (UTC) (edited on 2025-04-01 01:28 (UTC) by ZhangHua)

Please ensure your working directory is in the repository, because we use a custom download agent to download sources, this download agent is a curl wrapper with UA set to firefox's. We call curl directly, using config file to provide User Agent with space.

As for why not set UA in command directly, please check https://wiki.archlinux.org/title/Nonfree_applications_package_guidelines#Custom_DLAGENTS for more info.

I tested paru and it seems can work without any change. But I am not sure if other AUR helpers also can work.

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 9 10 .. 36 Next › Last »

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.

<deleted-account> commented on 2021-01-24 18:31 (UTC)

@Gotit: I presume you are on Arch Linux and have base-devel group installed? How did you build the package? The snapshot with "makepkg -si" or any AUR-helpers?

Gotit commented on 2021-01-24 17:10 (UTC)

Trying to install the plugin and getting:

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