You are not logged in.
Pages: 1
Topic closed
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
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
Offline
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
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
I created an account just to thank you. You are my savior 2.
Offline
Already had an account, but after deleting ~15 lines everyting works. (FYI: I use a HP ENVY 5010)
Offline
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
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
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
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
Pages: 1
Topic closed