LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   HP LaserJet Professional P1102w (https://www.linuxquestions.org/questions/linux-hardware-18/hp-laserjet-professional-p1102w-4175688776/)

dwhb 01-17-2021 08:43 PM

HP LaserJet Professional P1102w
 
Printer on Mint 19.3 failed to work suddenly yesterday, without warning. I have installed latest hplip 3.20.11. Device setup cannot discover printer ("No installed HP devices found")

I cannot understand why it said the printer is not HPLIP installed either. It was downloaded from HP and installed accrding to its instructions for automatic installation. The printer was added in CUPS and showing up in the HP Device Manager.

The following was exracted from hp-check:
Code:

Printer
-------
Type: Unknown
Device URI: usb://HP/LaserJet%20Professional%20P1102w?serial=000000000Q91GJ7VPR1a
PPD: /etc/cups/ppd/Printer.ppd
warning: Failed to read /etc/cups/ppd/Printer.ppd ppd file
PPD Description:
Printer status: printer Printer is idle.  enabled since Mon 18 Jan 2021 10:06:17 ACDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

--------------
| PERMISSION |
--------------

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
None


Total Errors: 0
Total Warnings: 1


I tried to install the hp-plugin but
Code:

Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed.

Please help to get me printing again would be much appreciated.
Thanks in advance

ferrari 01-17-2021 10:54 PM

I had a quick search of the error reported, and this was one of the results....
https://h30434.www3.hp.com/t5/LaserJ...t/td-p/7460765

dwhb 01-18-2021 01:09 AM

Setup still fails to find printer
 
Followed the steps in link you kindly provided. However when running setup,the printer is still not found. I will try again later today.

Thank you so much. At least this time everything installed except hplip 3.19.12 does not support my LaserJet Professional P1102w. Installed latest 3.20.11 instead

ferrari 01-18-2021 01:26 AM

I had a look at your opening post output, and noticed the printer URI is using the CUPS 'usb' backend...
Code:

Device URI: usb://HP/LaserJet%20Professional%20P1102w?serial=000000000Q91GJ7VPR1a
and the following is also reported...
Quote:

Printer status: printer Printer is idle. enabled since Mon 18 Jan 2021 10:06:17 ACDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
HPLIP uses it's own 'hp' backend, so the URI should look more like
Code:

hp:/usb/HP_LaserJet_Professional_P1102w?....
Did you use 'hp-setup' to install the printer?

ferrari 01-18-2021 01:27 AM

This Linux Mint thread may also be of value to you...
https://forums.linuxmint.com/viewtopic.php?t=285481

business_kid 01-18-2021 01:09 PM

Haha, someone else has one of those pieces of <expletive deleted>. I had one too. Join the club.

Bottom line is:
  1. You need a version of M$ windows to give that heap an IP. You might manage a usb cable setup, but you might not.
  2. It isn't worth the effort because the cartridge costs more than the printer.
  3. HP should have paid you (and me) to take that printer.

Recommend you spend on a HP printer over $100, and check replacement cartridge prices. I paid €170 (=$190) for a scanner/printer with replacement toner cartridges around €35, and no issues setting up. It quickly pays for itself. I hugely resisted using M$ windows, and confessed my infidelity on the megathread I had started about installing it (About 4 years ago). 1st reply was from a moderator, who admitted there was no other way. Even then it never worked right. If the sun went behind a cloud it would go dead. I would have to dive into the Cups web interface, pause the printer & resume it. If the sun came out again - same thing. Return it if you can, junk it if you can't.

dwhb 01-19-2021 12:41 AM

When I start the HP device manager, it won’t go any further because it says no HP devices installed. I added the printer in CUPS web interface. The connection in CUPS is showing
Code:

usb://HP/LaserJet%20Professional%20P1102w?serial=000000000Q91GJ7VPR1a
Using hp-setup returned an error “No devices found on bus: USB”
Printer was added in CUPS but does not show up in HP Device Manager. CUPS says one thing and HP Device Manager refuses to acknowledge that the printer was installed via hplip-3.20.11.run.

In reply to business kid, that piece of <ahem> worked without a hitch for many years. It went soothly through SuSE pre-IBM(?) days and the various versions of Mint. 19.3 Cinnamon worked without the installation of hplip until 2 days ago. The printer's size sits perfectly in the little space carved out for my other stuff in the study. I’ve still got several generic cartridges bought on special @ about a third of real thing. Can you recommend a reasonably priced Linux compatible printer?

Thanks so much for both ferrari & business kid's help.

ferrari 01-19-2021 12:58 AM

Try running the backend manually like this
Code:

sudo /usr/lib/cups/backend/hp
I would expect to see the printer detected and enumerated here if connected.

Edit: It is USB-connected right?

dwhb 01-19-2021 01:13 AM

Yes. Its USB connected.
Running the code produces this result:
Code:

direct hp "Unknown" "HP Printer (HPLIP)"
The mind boggles. Why isn't the HP printer recognised? I installed the Signal desktop before this happened. Could it be the culprit??

dwhb 01-19-2021 01:22 AM

When I send something to print. Error message "3.19.12 (Linux Mint 19.3):Plugin installation failed.
A stupid question, how do I uninstall hplip 3.19.12?
Thanks

ferrari 01-19-2021 01:33 AM

Quote:

Running the code produces this result:

Code:

direct hp "Unknown" "HP Printer (HPLIP)"
The mind boggles. Why isn't the HP printer recognised? I installed the Signal desktop before this happened. Could it be the culprit??
Try running 'hp-doctor' and see if that can identify/resolve any issues.

ferrari 01-19-2021 01:36 AM

Quote:

When I send something to print. Error message "3.19.12 (Linux Mint 19.3):Plugin installation failed.
I wouldn't even attempt to print until you have the HPLIP backend in use.

Quote:

A stupid question, how do I uninstall hplip 3.19.12?
Thanks
Did you install via a deb package (with package manager), or via a .run file?

ferrari 01-19-2021 01:39 AM

If a .run file was used to install, then this approach to remove....

https://fossies.org/linux/hplip/doc/uninstalling.html

business_kid 01-19-2021 05:15 AM

Quote:

In reply to business kid, that piece of <ahem> worked without a hitch for many years. It went soothly through SuSE pre-IBM(?) days and the various versions of Mint. 19.3 Cinnamon worked without the installation of hplip until 2 days ago. The printer's size sits perfectly in the little space carved out for my other stuff in the study. I’ve still got several generic cartridges bought on special @ about a third of real thing. Can you recommend a reasonably priced Linux compatible printer?
That's funny, I got a few years and a few distros out of mine too. Always had the 'going out to lunch' problem. The printer cost €50ish and the cartridges €80ish from HP unless you used questionable quality 3rd party toner. If they do good replacements that you can buy cheap, I'm happy for you. When I needed roller & cartridge, I was looking at a €150 bill for that €50 piece of <excrement>, I could not do it. I have an MFP130 Printer/scanner now. It's great.

computersavvy 01-19-2021 09:00 AM

I am using a HP color laserjet MFP M277cw that I got for about $200 about 5 years ago. It has been supported with HPLIP since I got it. Cartridges are ~$85 each from HP but only ~$85 for the full set of 4 on ebay.

One thing I have found is that when you update HPLIP to a newer version it automatically does the update and replaces the older version. I have never been required to uninstall the earlier version because it autodetects that the earlier version is already installed and asks if it should be uninstalled before it finishes the install. By answering "yes" I have never had problems.

It does not update the plugin (which is only needed for support of the scanner function) during install and you have to do that when running hp-setup or manually by simply downloading the plugin.run file and running it to install the new plugin. You do have to be certain that the version numbers of HPLIP and the plugin match.


All times are GMT -5. The time now is 01:18 AM.