LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-19-2021, 01:39 PM   #16
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322

Quote:
Originally Posted by dwhb View Post
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
Hplip is a package, which goes out in the appropriate manner for your distro. May I remind you of this
Code:
Bottom line is:

    You need a version of M$ windows to give that heap an IP. You might manage a usb cable setup, but you might not.
which was learned the hard way. I realised I was being obstinate. I think you're avoiding rearranging your desk or cables.
 
Old 01-21-2021, 07:10 AM   #17
dwhb
Member
 
Registered: Jul 2012
Location: Down Under
Distribution: Mint 19 Tara
Posts: 138

Original Poster
Rep: Reputation: Disabled
Question

I installed hplip 3.20.11 using run The printer is listed as fully supported and according to the HPLIP, no plugin is required. Yet set-up now says that the printer is not supported.If I remember correctly, printing was straight out of the box with Mint 19.3 even without hplip. So ferrari's suggestion to run the 'hp-doctor' command returned "not found, but can be installed with sudo apt install hplip".

If I select 'Add printer' from System Settings, HP LaserJet Professional P1102w was there for selection and can be added. It was shown as connected to localhost. However, it can't 'Print Test Page' but is "Processing- Sending data to printer" in CUPS. Any ideas??

Thanks
 
Old 01-21-2021, 09:15 AM   #18
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Remove all printer definitions for that printer in the system settings panel

Reboot

Use hp-setup to define the printer and print a test page

Should work.

The bottom line is that setup for printers in cups and in hplip use different .ppd files and that does not often work. The one that is installed with hplip is the most reliable for HP printers.

Last edited by computersavvy; 01-21-2021 at 09:18 AM.
 
Old 01-21-2021, 10:54 AM   #19
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,802

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
Originally Posted by dwhb View Post
If I select 'Add printer' from System Settings, HP LaserJet Professional P1102w was there for selection and can be added. It was shown as connected to localhost. However, it can't 'Print Test Page' but is "Processing- Sending data to printer" in CUPS. Any ideas??

Thanks
Yes, I've already told you that won't work if using the generic CUPS usb backend (as the URI you've posted already shows). It needs to be using the HPLIP 'hp' backend, and of course as has already been mentioned, selection of the appropriate 'driver' reflects the ppd chosen, which is then added to /etc/cups/ppd/.

As we've already mentioned, 'hp-setup' is the config utility to to use. The 'hp-doctor'
utility should be able to help identify the underlying problem with the HPLIP environment.

Last edited by ferrari; 01-21-2021 at 10:57 AM.
 
Old 01-21-2021, 12:08 PM   #20
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by dwhb View Post
I installed hplip 3.20.11 using run The printer is listed as fully supported and according to the HPLIP, no plugin is required. Yet set-up now says that the printer is not supported.If I remember correctly, printing was straight out of the box with Mint 19.3 even without hplip. So ferrari's suggestion to run the 'hp-doctor' command returned "not found, but can be installed with sudo apt install hplip".

If I select 'Add printer' from System Settings, HP LaserJet Professional P1102w was there for selection and can be added. It was shown as connected to localhost. However, it can't 'Print Test Page' but is "Processing- Sending data to printer" in CUPS. Any ideas??

Thanks
I told you. Use M$ windows and the install cd. THEN set up linux.
 
Old 01-21-2021, 01:37 PM   #21
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by business_kid View Post
I told you. Use M$ windows and the install cd. THEN set up linux.
What does that have to do with getting a printer set up in linux?.

The OP said that he can see and print to it from windows. The install CD only works in and for windows anyway and has nothing to do with the setup in linux. The printer gets its IP from dhcp or manually configured so windows is immaterial for that.

Plus, he said it already has the IP you seem determined to focus on. Yes, he needs to know the IP if hplip has a problem in finding it automatically (I sometimes have that) because you can tell hp-setup where to find it, but the proper approach is to focus on what needs done and not go off on a tangent with a totally different OS.

Last edited by computersavvy; 01-21-2021 at 01:44 PM.
 
Old 01-21-2021, 03:39 PM   #22
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,802

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
The information supplied by the OP to date suggests a USB-connected printer. If trying to detect on the network, firewalling might be preventing discovery.
 
Old 01-21-2021, 04:52 PM   #23
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by ferrari View Post
The information supplied by the OP to date suggests a USB-connected printer. If trying to detect on the network, firewalling might be preventing discovery.
He posted this in his data at the beginning
Code:
Device URI: usb://HP/LaserJet%20Professional%20P1102w?serial=000000000Q91GJ7VPR1a
so the device is definitely USB

However all his posts to date indicate a reluctance to wipe out the cups config for the printer and go with the hplip and hp-setup config.

Last edited by computersavvy; 01-21-2021 at 04:55 PM.
 
Old 01-22-2021, 12:06 AM   #24
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,802

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
Originally Posted by computersavvy View Post
He posted this in his data at the beginning
Code:
Device URI: usb://HP/LaserJet%20Professional%20P1102w?serial=000000000Q91GJ7VPR1a
so the device is definitely USB
Yes, exactly ....and hence all my subsequent replies.

Quote:
However all his posts to date indicate a reluctance to wipe out the cups config for the printer and go with the hplip and hp-setup config.
Agreed. However, one concerning fact is that running the hp backend manually should have caused the printer to be reported (and for some reason yet to be determined it didn't).
 
Old 01-22-2021, 03:47 AM   #25
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by business_kid View Post
I told you. Use M$ windows and the install cd. THEN set up linux.
What does that have to do with getting a printer set up in linux?.
That sucky printer is congenitally incapable of setting an IP except using the driver on the install disk under windows. I know. I had one. Hp-setup & hplip python scripts don't do it, and nobody at hplip cares. I went through a Megathread like this one, and had to resort to windows. I said all this in post #6. I think it might be possible to get it printing on the other end of a usb cable, but not on wifi. Your install procedure is:

1. Set an IP under windows.
2. Run hp-setup <IP> & follow the prompts.

But I'm going away because nobody is listening.
 
Old 01-22-2021, 02:59 PM   #26
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,802

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
@business kid:The printer is USB-connected (refer posts #2 thru #4), not connected to the network, so IP addresses are irrelevant here.

Last edited by ferrari; 01-22-2021 at 03:01 PM.
 
Old 01-23-2021, 07:32 PM   #27
dwhb
Member
 
Registered: Jul 2012
Location: Down Under
Distribution: Mint 19 Tara
Posts: 138

Original Poster
Rep: Reputation: Disabled
Thanks to all who have replied to my post. However, I still cannot print even after installing the latest hplip-3.20.11.

Plugin was successfully downloaded during but upon running hp-setup the printer cannot be discovered at all. Previously added printer in CUPS have all been deleted prior to running hplip. The printer was listed under 'Manage Printers' automatically after hplip install.

'lpinfo -v' showed that the printer's connection is "direct usb". On the System Settings\Printers, it showed as "connected to local host". But why does hp-setup failed to discover the printer which is plugged in to USB? I went into System Settings\Printers\Properties to change the Device URI to USB but it doesn't seem to make any difference. Test Page job was stuck at "Processing - rendering complete". It never printed.

What have I done wrong? I'm just a novice and am at wit's end. Any help to get the printer to print would be much appreciated. Thanks in advance

Last edited by dwhb; 01-23-2021 at 08:04 PM.
 
Old 01-23-2021, 08:50 PM   #28
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,802

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
Originally Posted by dwhb View Post
Thanks to all who have replied to my post. However, I still cannot print even after installing the latest hplip-3.20.11.

Plugin was successfully downloaded during but upon running hp-setup the printer cannot be discovered at all.
This is the crux of it, and the 'hp' backend (that you previously ran manually) should have detected it when attached.

Here's the HPLIP troubleshooting guide...
https://developers.hp.com/hp-linux-i...roubleshooting

I haven't seen any output from you regarding 'hp-doctor' or 'hp-check'. These are HPLIP utilities provided to help drill down into problems like this.
Code:
hp-check
 
Old 01-23-2021, 09:01 PM   #29
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,802

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Now, after some further searching, I recalled that "HP Smart Install" could prevent device detection and configuration. Here's one of several threads on the subject

https://itectec.com/ubuntu/ubuntu-hp...all-duplicate/
https://askubuntu.com/questions/8963...-smart-install

However, I'm not sure that SmartInstallDisable-Tool.run is available any longer. You may be better to disable this 'feature' via a Windows host if you can. Then you should be able to proceed with configuring using 'hp-setup'

HP Article...
https://h30434.www3.hp.com/t5/Printe...262825#M116965
 
Old 01-23-2021, 09:03 PM   #30
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,802

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
...and here's an old thread (same printer model) I found and participated in....
https://www.linuxquestions.org/quest...er-4175620542/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing an HP laserjet p1102w printer in Linux Mint beefman Linux - Newbie 12 04-30-2022 08:30 PM
[SOLVED] HP LaserJet Professional P1102w stopped working dwhb Linux - Hardware 2 08-18-2021 10:14 AM
Down load a driver for hp laserjet printer P1102W lmbaca Linux - Newbie 2 04-03-2013 08:42 PM
HP LaserJet P1102w jfmarg2011 Linux - Newbie 3 08-06-2011 01:52 AM
hp p1102w laserjet does not print through suse 11.2 jimonlinux Linux - Hardware 3 07-04-2010 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration