You are not logged in.

#1 2022-01-25 14:07:24

dynosaw
Member
Registered: 2018-07-12
Posts: 44

[SOLVED] HP-LJ P1102w printer installation unsuccessful

I'm in the process of installing a new Arch OS on brand new "tower" desktop PC.
Motherboard is ASUS 'Prime' H510M-E, on-board SSD 500GB, Intel chip set, UEFI Bios.
Arch is running under 5.15.16-1 LTS kernel.

CUPS and HPLIP installed; CUPS enabled and started (sudo sysctl enable cups  ... etc).
An HP-LJ P-1102w printer is connected via a USB port and powered ON.

An attempt to install the HP P-1102w printer using HPLIP utility hp-setp fails. The printer will not print.
hp-setup complains of an "unrecognised distro" and states that the installation may not be complete.
CUPS does recognise the P-1102w and it is shown in the list of printers.

Attempts to rectify the situation with hp-doctor are unsuccessful.
hp-doctor complains of missing python software packages, amongst others: 
python3-notify2, python-3-pyqt4-dbus and python3-reportlab.
None of these packages is to be found in the Arch Repo.

Where do I go from here to get a successful installation ???

Thanks in advance to anyone who can help

Dynosaw
--

Last edited by dynosaw (2022-02-02 19:33:14)

Offline

#2 2022-01-25 14:53:43

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,351

Re: [SOLVED] HP-LJ P1102w printer installation unsuccessful


Mike C

Offline

#3 2022-01-26 13:27:16

dynosaw
Member
Registered: 2018-07-12
Posts: 44

Re: [SOLVED] HP-LJ P1102w printer installation unsuccessful

Mike,
Thanks for your reply to my call for help.
I followed the link you provided but, unfortunately, it raised
only more questions.

A couple of years ago I installed the foomatic foo2zjs driver
and it worked well;  that is until the next system update, when
pacman wiped it out because I had installed from the foomatic
website. However foomatic advised against using packages
from repos and recommended using the package from its
own website at rkkda.com (which is now a cold link).

Let's start at the beginning So which driver package do I use?
hplip appears not to work since some python packages it needs
are not in the Arch repo and hplip appears to reject Arch.
And pacman objects to non-repo packages since they fall
ouside pacman's configuration control.

What must I do?? I'm confused and the documentation doesn't
seem to help and inexperienced user all that much.
Dynosaw
--

Offline

#4 2022-01-26 15:43:15

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,446

Re: [SOLVED] HP-LJ P1102w printer installation unsuccessful

I have an P1102w printer - mine works with the hplip-plugin (AUR: https://aur.archlinux.org/packages/hplip-plugin). Be sure to match the plugin version to hplip version from [extra].

Offline

#5 2022-01-26 15:52:27

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

Re: [SOLVED] HP-LJ P1102w printer installation unsuccessful

If you wish to use hplip, then you need the proprietary hplip-plugin package from the AUR.

As for using foomatic-db/foo2zjs, The foo2zjs upstream is not around anymore. In the AUR there is a foo2zjs-nightly package that someone seems to have recovered and is possibly still maintained. Another source would be debian: https://salsa.debian.org/printing-team/foo2zjs.git


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

Offline

#6 2022-01-26 16:51:15

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,351

Re: [SOLVED] HP-LJ P1102w printer installation unsuccessful

dynosaw wrote:

Mike,
Thanks for your reply to my call for help.
I followed the link you provided but, unfortunately, it raised
only more questions.

A couple of years ago I installed the foomatic foo2zjs driver
and it worked well;  that is until the next system update, when
pacman wiped it out because I had installed from the foomatic
website. However foomatic advised against using packages
from repos and recommended using the package from its
own website at rkkda.com (which is now a cold link).

Let's start at the beginning So which driver package do I use?
hplip appears not to work since some python packages it needs
are not in the Arch repo and hplip appears to reject Arch.
And pacman objects to non-repo packages since they fall
ouside pacman's configuration control.

What must I do?? I'm confused and the documentation doesn't
seem to help and inexperienced user all that much.
Dynosaw
--

The link I sent was intended to point to the 'driverless' print setup.  It is how I set my own printer up - no driver package, no manual adding of ppd files, and no use of foomatic drivers...  simply finding the ip address of the printer and using the command (as root):

# lpadmin -p AirPrint -E -v "ipp://10.0.1.25/ipp/print" -m everywhere    # Driverless queue (Apple AirPrint or IPP Everywhere)

where -p AirPrint can be any name you choose, and the ip address is changed for your specific printer.

was the single one line command that works with a lot of printers produced in recent years.  That command allows the printer itself to send the one .ppd file to the print queue setup, that is needed.  Did you try that approach or were you trying to onlyinstall drivers from one or more of the different packages for your printer? I too have an HP printer (networked on ethernet, but wireless will also work), but this approach has no need for the hplip package at all.

Last edited by mcloaked (2022-01-26 16:55:05)


Mike C

Offline

#7 2022-01-26 17:22:06

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

Re: [SOLVED] HP-LJ P1102w printer installation unsuccessful

mcloaked wrote:

was the single one line command that works with a lot of printers produced in recent years.  That command allows the printer itself to send the one .ppd file to the print queue setup, that is needed.  Did you try that approach or were you trying to onlyinstall drivers from one or more of the different packages for your printer? I too have an HP printer (networked on ethernet, but wireless will also work), but this approach has no need for the hplip package at all.

It appears that there is a firmware update for the P1102w that enables AirPrint/driverless support. If that has not been installed yet, you might have to do that with a windows system. You might also have to use hplip or a windows system to start the wireless setup or try ipp-usb.

Last edited by progandy (2022-01-26 17:23:31)


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

Offline

#8 2022-01-27 11:30:52

dynosaw
Member
Registered: 2018-07-12
Posts: 44

Re: [SOLVED] HP-LJ P1102w printer installation unsuccessful

Thanks for the help folks.
There will be a short break while I catch up on my reading
and then try, in the following order,  hplip-plugin and then
the lpadmin -p AirPrint approach. After that I'll report back.

However, I abandoned Windows ten years ago and have
not gone back. So updates via that route are not feasible.
Until later
Dynosaw
--

Offline

#9 2022-01-27 11:46:49

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,351

Re: [SOLVED] HP-LJ P1102w printer installation unsuccessful

Although I am not familiar with the details of your specific printer, quite a few HP Laserjet printers can update their firmware directly from the printer interface menu on the device:

https://support.hp.com/us-en/document/i … 1643972-16

If your printer is connected to your network, and this method is available, that would be the simplest way forward.  The HP website shows the latest firmware from July 2021 for the P1102W.


Mike C

Offline

#10 2022-01-27 13:48:17

dynosaw
Member
Registered: 2018-07-12
Posts: 44

Re: [SOLVED] HP-LJ P1102w printer installation unsuccessful

In short: I installed hplip-plugin from ARCH, ran hp-setup and the
installation was successful.
Again thanks to everyone who answered my call for help. Your
responses are all very much appreciated.
This action can now be closed out.

Offline

#11 2022-01-27 17:41:09

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,351

Re: [SOLVED] HP-LJ P1102w printer installation unsuccessful

You can mark this as solved by going to your first post and editing the subject line to include [SOLVED] at the beginning of the line.


Mike C

Offline

Board footer

Powered by FluxBB