You are not logged in.

#1 2019-09-17 22:43:17

mobaradev
Member
Registered: 2019-06-11
Posts: 11

Hplip error "successful-ok-ignored-or-substituted-attributes"

Hello,
I have installed cups and hplip but I can't add printer.
My printer is HP DeskJet 5075


$ hp-setup
HP Linux Imaging and Printing System (ver. 3.19.8)
Printer/Fax Setup 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.

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Found device: hp:/net/DeskJet_5000_series?ip=192.168.0.213
error:  Printer queue setup failed.   Error : successful-ok-ignored-or-substituted-attributes



I always get this error "successful-ok-ignored-or-substituted-attributes" after "Add printer" on this window:

https://i.imgur.com/4XZJ1XR.png

I checked hp-doctor and only gs is misiing but I don't know how to install it on ArchLinux (I installed ghostscript)
error: gs            GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            -               MISSING    'gs needs to be installed'

I remember that a few month ago I also had problem with it but I solved it. I can't do this now, I tried for a week a lot of ways (for example installing from hplip from hp page) but without success. I have no idea more.


moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by 2ManyDogs (2019-09-17 22:46:09)

Offline

#2 2019-09-21 04:48:19

mlyean
Member
From: London
Registered: 2019-09-21
Posts: 1

Re: Hplip error "successful-ok-ignored-or-substituted-attributes"

I have had the same error ("successful-ok-ignored-or-substituted-attributes") recently, after trying to re-setup my HP Deskjet 2676 which stopped working (maybe an update?).

From trying to add it via CUPS, I figured it had something to do with a PPD file, which is stored at "/usr/share/ppd/HP/something.ppd.gz". Unzip it via gunzip, then running "cupstestppd" on it showed some errors. Removing the lines which it shows errors on then using this PPD file instead of the original worked for me.

Hope this helps smile

Offline

#3 2019-09-24 19:46:24

Alphanumerix
Member
Registered: 2013-12-07
Posts: 2

Re: Hplip error "successful-ok-ignored-or-substituted-attributes"

Sir, you are my Savior...

Printer HP DeskJet InkAdventage 5275 - stopped working after cups update to 2.3 or Kernel update to 5.3.

Offline

#4 2019-09-28 16:55:30

Kinark
Member
Registered: 2019-09-28
Posts: 1

Re: Hplip error "successful-ok-ignored-or-substituted-attributes"

mlyean wrote:

I have had the same error ("successful-ok-ignored-or-substituted-attributes") recently, after trying to re-setup my HP Deskjet 2676 which stopped working (maybe an update?).

From trying to add it via CUPS, I figured it had something to do with a PPD file, which is stored at "/usr/share/ppd/HP/something.ppd.gz". Unzip it via gunzip, then running "cupstestppd" on it showed some errors. Removing the lines which it shows errors on then using this PPD file instead of the original worked for me.

Hope this helps smile

I created an account just to thank you. You are my savior 2.

Offline

#5 2019-11-04 09:48:42

neur0
Member
Registered: 2015-10-06
Posts: 3

Re: Hplip error "successful-ok-ignored-or-substituted-attributes"

Already had an account, but after deleting ~15 lines everyting works. (FYI: I use a HP ENVY 5010)

Offline

#6 2020-07-21 20:48:03

rwank
Member
Registered: 2020-07-21
Posts: 1

Re: Hplip error "successful-ok-ignored-or-substituted-attributes"

solution ?

from contrasutra in

https://www.linuxquestions.org/question … rd-156986/

It's looking for your root password.

The username should be exactly "root" and the password should be your normal root password.

I was personnaly annoyed with the permanent logins and followed Geremia's (same page) repply to remove them:

Change some things in your /etc/cups/cupsd.conf file:

Change the authentication type to "None".
Remove any lines that have "@SYSTEM" in it.
Restart the CUPS daemon

the password prompt was removed yet the printer, initially communicating, was no longer :

I uninstalled hplip completely,
reinstalled hplip completely
uninstalled cups completely
reinstalled cups completely

AND MOST OF ALL : I installed priniter-driver-pxljr (for the hp3630 and some others)  AND printer-driver-hpijs (for most other hp printers) from synaptic (apt-repo) packages.

NOW WORKING (still, as in my experience I have to press the down arrow on the printer from times to times  to confirm my willingness to print, absolutely unrelated problematic, though).



Cheers,
rwank:)

Last edited by rwank (2020-07-21 22:20:47)

Offline

#7 2021-01-18 20:05:00

wilmerhenao
Member
From: Ann Arbor, MI
Registered: 2012-10-15
Posts: 38
Website

Re: Hplip error "successful-ok-ignored-or-substituted-attributes"

I just had this problem on my wife's computer. It turns out that I had not given her permission to print stuff. Just type:

sudo usermod -a -G lpadmin your-username

and try again. No need to reinstall anything

Offline

#8 2022-02-15 17:51:04

tmayala
Member
Registered: 2022-02-15
Posts: 1

Re: Hplip error "successful-ok-ignored-or-substituted-attributes"

The problem is caused by insufficient privileges as hp-setup is being run with insufficient permissions. It is expected to be run as root.

Cups daemon status/error log would provide this detail:

Feb 15 09:25:42 localhost.localdomain cupsd[1661]: REQUEST localhost - - "POST /admin/ HTTP/1.1" 401 350 CUPS-Add-Modify-Printer successful-ok
Feb 15 09:25:55 localhost.localdomain cupsd[1661]: [Client 28] Returning HTTP Forbidden for CUPS-Add-Modify-Printer (ipp://localhost/printers/HP_OfficeJet_Pro_8720) from localhost
Feb 15 09:25:55 localhost.localdomain cupsd[1661]: REQUEST localhost - tmayala "POST /admin/ HTTP/1.1" 403 350 CUPS-Add-Modify-Printer successful-ok
Feb 15 09:26:28 localhost.localdomain cupsd[1661]: [Client 30] Returning HTTP Forbidden for CUPS-Add-Modify-Printer (ipp://localhost/printers/HP_OfficeJet_Pro_8720_fax) from localhost
Feb 15 09:26:28 localhost.localdomain cupsd[1661]: REQUEST localhost - tmayala "POST /admin/ HTTP/1.1" 403 1244 CUPS-Add-Modify-Printer successful-ok
Feb 15 09:28:45 localhost.localdomain cupsd[1661]: REQUEST localhost - - "POST / HTTP/1.1" 200 3233513 CUPS-Get-PPDs -
Feb 15 09:28:54 localhost.localdomain cupsd[1661]: REQUEST localhost - - "POST /admin/ HTTP/1.1" 401 350 CUPS-Add-Modify-Printer successful-ok
Feb 15 09:29:03 localhost.localdomain cupsd[1661]: [Client 41] Returning HTTP Forbidden for CUPS-Add-Modify-Printer (ipp://localhost/printers/HP_OfficeJet_Pro_8720) from localhost
Feb 15 09:29:03 localhost.localdomain cupsd[1661]: REQUEST localhost - tmayala "POST /admin/ HTTP/1.1" 403 350 CUPS-Add-Modify-Printer successful-ok

Offline

#9 2022-02-15 19:02:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,326

Re: Hplip error "successful-ok-ignored-or-substituted-attributes"

Please don't necrobump 4 year old threads, as established, it doesn't "expect to be ran" as root, but as an user that the CUPS server is allowed to add printers for which can be configured in various ways.

https://wiki.archlinux.org/title/CUPS#Permissions

https://wiki.archlinux.org/title/Genera … bumping%22

Side note, localhost.localdomain can lead to all sorts of issues, fix your hostname

Closing this old thread.

Offline

Board footer

Powered by FluxBB