LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-18-2016, 12:37 AM   #1
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,267
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Question Slackware-current 17-JAN-2016 HPLIP fails to set up printers


I've got this error today:
Code:
Printer queue setup failed.
error: successful-ok-ignored-or-substituted-attributes
with hplip-3.15.11 on Slackware-current-beta 17-JAN-2016 new install with my HP Officejet Pro 8620 (no plugin) and HP Laserjet Professional M1212nf (plugin needed). Also, hp-setup can't find the ppd files either. This all worked flawlessly with hplip-3.15.11 in an earlier current (since late November, I think) install on another laptop.

Running "hp-plugin" created the correct /var/lib/hp/hplip.state file but did not download any plugins since no printers where installed. Adding the Officejet via CUPS worked, but it does not show up in the hplip applet since the device URI was socket:/<ip address>. Changing to hp:/net/HP_Officejet_Pro_8620?ip=<ip address> allowed the HP device Manager applet to correctly display the printer. Edit: remembered "hp-makeuri <ip address>" to get correct device URI. Both printers now work.

I am not sure what has changed. At this point I have the Officejet working but not the Laserjet. Weird.

TL;DR summary:
1. Install printers via hp-setup GUI fails.
2. Run "hp-makeuri <ip address>"
3. CUPS localhost:631 to install local printer with above URI.
4. refresh HP Device Manager applet.

Advice, insights welcomed.

Last edited by kingbeowulf; 01-18-2016 at 01:26 AM. Reason: added/corrected information
 
Old 01-18-2016, 08:38 AM   #2
Chuck56
Member
 
Registered: Dec 2006
Location: Colorado, USA
Distribution: Slackware
Posts: 930

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
I've been running into the same error since early December with an HP Envy 5530 over wireless with -current. I thought it was something I did wrong along the way. Same symptoms, used to work now I get the same error. I want to try your method but can't get to the offending pc & printer until next week.
 
Old 01-18-2016, 08:43 AM   #3
roberto967
Member
 
Registered: Apr 2011
Location: Cagliari, Italy
Distribution: Slackware64-15.0 multilib
Posts: 117

Rep: Reputation: 36
I have a similar error here, on a fresh slackware-current 17Jan2016, trying to install HP OfficeJet 4500, which is a wireless printer

I manage to install when connected via USB, but when I disconnect the cable and start the wireless setup I get this error:

Code:
$ hp-setup 192.168.1.85

HP Linux Imaging and Printing System (ver. 3.15.11)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 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.

Searching for device...
Found device: hp:/net/Officejet_4500_G510n-z?ip=192.168.1.85
error: No PPD found for model officejet_4500_g510n-z using old algorithm.
error: No appropriate print PPD file found for model officejet_4500_g510n-z
error:  Printer queue setup failed.   Error : successful-ok-ignored-or-substituted-attributes
error:  Fax queue setup failed.  Error : successful-ok-ignored-or-substituted-attributes

Done.
It is not recognizing the cups' ppd file

Code:
/usr/share/cups/model/HP/hp-officejet_4500_g510n-z.ppd.gz
I googled for hours with no luck.
Thanks in advance for any help
 
Old 01-18-2016, 07:31 PM   #4
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,267

Original Poster
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
I've tried the Laserjet M1212nf now in Slackware64-current; same errors as in Slackware-current (and same as roberto967) EXCEPT now hp-setup offered to automatically download and install the plugin. Whacky. Its been so long since I've had issues with HPLIP/CUPS, that I can't think where to start looking - it has always "just worked" with various versions in 14.0/14.1. Now it seems to ignore the manually selected ppd. I have a laptop, where it wasn't a problem, that was set up with and earlier Current and upgraded through slackpkg since November - originally hplip-3.15.9 back then. I think I will try 3.15.11 on 14.1 and see what happens.
 
Old 01-18-2016, 09:50 PM   #5
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,267

Original Poster
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
So far I was able to reproduce the above problem on current and 14.1 with hplip-3.15.9 and -3.15.11. In all cases, the hp-setup GUI fails to automatically find the ppd and, if then manually selected, fails to set up the print queue. The work around is to use CUPS web interface and hp-makeuri to set up the printers. Once set up, subsequent package upgrades are ok. Something appears to be screwy with 3.15.x or some required dependency.

the newest version so far that works as expected is hplip-3.14.6. All tests were performed using:
HP Laserjet Professional M1212nf MFP (plugin required) - wired network
HP Officejet Pro 8620 (no plugin required) - wifi network
HP Photosmart 8250 (no plugin required) - USB

Update:
hplip-3.15.7 fails to install printers on current
hplip-3.14.10 succeeds in installing printers on current

Last edited by kingbeowulf; 01-18-2016 at 10:37 PM. Reason: updates
 
1 members found this post helpful.
Old 01-19-2016, 01:11 AM   #6
slackartist
Member
 
Registered: Oct 2015
Location: Where the buffalo's roam
Distribution: Slackware Current Multilib
Posts: 161
Blog Entries: 20

Rep: Reputation: 26
thats how it was with a driver on the aur .

good thing I didnt let go since I still use it sure there had to be record of it somewhere

ricoh printers have works smoothly so far ime
 
Old 02-08-2016, 02:32 AM   #7
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,267

Original Poster
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
I just updated to 14.2-current-03-Feb-2016. On 3 systems (1 full install, 2 updates), and on 14.1, I still can't get hplip-3.15.11 to install any printers. Going through http://localhost:631/admin CUPS interface works as long as you specify the correct URI using "hp-makeuri" command ad not one of the socket:/, ipp:/ etc. The URI needs to be "hp:/net/..." or hp:/net/..." (network or USB connection, respectively) in order to show up in the HPLIP Status tray icon and HP Device Manager GUIs.

I'm sifting through the hplip bug list and will file a report upstream. Since hplip-3.14.10 works as expected, I don't expect this to be a Slackware issue.
 
Old 07-03-2016, 12:04 PM   #8
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,267

Original Poster
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
With the release of Slackware-14.2, I can confirm that hplip-3.16.5 HP Device Manager will now properly scan for, find, and set up my two HP printers. This includes automatically download/install of any required plug-ins. Thank you Slackware devs and support team!
 
3 members found this post helpful.
  


Reply

Tags
hplip, printer



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] Slackware-current 17-JAN-2016 kernel naming conventions kingbeowulf Slackware 8 01-18-2016 07:16 PM
Update Current Sun Jan 17 07:24:08 UTC 2016 burdi01 Slackware 1 01-17-2016 11:14 PM
[SOLVED] setup fails on most current Slackware-current March 26, 2012 AlleyTrotter Slackware 15 04-09-2012 06:05 AM
HPlip woes on --current ; Sharing printer gets broken if the hplip gui is launched Old_Fogie Slackware 2 10-28-2010 10:23 AM
HPLIP Device manager unable to find printers on current? PJBrs Slackware 13 04-02-2008 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:52 PM.

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