LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-16-2017, 02:46 PM   #1
gmartin69
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
Fresh installs of Slackware 14.2 and hp-setup is unable to add a printer .


On two fresh installs of 14.2, one on Dell laptop and one on desktop and on both systems hp-setup is unable to successfully add a network printer. I can add a printer inside of Cups and can print with no issues.


The gui starts and the printer is found on the network and properly identified but the add printer button timesout after a couple seconds and doesn't advance. Repeated clicks on the add printer button yields the same.

Output when using hp-setup as root from the command line:


Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)Traceback (most recent call last):

File "/usr/share/hplip/ui4/setupdialog.py", line 1305, in NextButton_clicked self.showAddPrinterPage()

File "/usr/share/hplip/ui4/setupdialog.py", line 731, in showAddPrinterPage self.readwriteFaxInformation()

File "/usr/share/hplip/ui4/setupdialog.py", line 1128, in readwriteFaxInformation self.fax_number = to_unicode(d.getPhoneNum())

File "/usr/share/hplip/fax/pmlfax.py", line 149, in getPhoneNum return utils.printable(self.getPML(pml.OID_FAX_LOCAL_PHONE_NUM)[1])

File "/usr/share/hplip/base/utils.py", line 956, in printable return s.translate(identity, unprintable)

AttributeError: 'NoneType' object has no attribute 'translate'

Thanks for any ideas...

Last edited by gmartin69; 03-16-2017 at 02:48 PM.
 
Old 03-16-2017, 06:12 PM   #2
X-LFS-2010
Member
 
Registered: Apr 2016
Posts: 510

Rep: Reputation: 58
is it USB connected ? if so make sure you have the correct kernel module loaded (there is a few kind)

GO TO http://www.linuxprinting.org they have all the know how of what printers work how much: and how to get them working.

try CUPS with another printer if you can - insure you don't blame the wrong thing (is it the printer, CUPS, your installation of your OS?)

expect the HP utility works for ONLY the 'nix it said it did (exact version and 'nix, and only basic install of - but correctly configured), that's how big companies usually release things. it's .py so it's human readable you might be able to "fix it" - time spent unk though.
 
Old 03-16-2017, 06:14 PM   #3
X-LFS-2010
Member
 
Registered: Apr 2016
Posts: 510

Rep: Reputation: 58
i rarely print so still use a dot matrix (pin impact) printer from the late 1980's

it's not high resolution but it doesn't need drivers to print text and never ever ever fails to print
 
Old 03-16-2017, 08:23 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,495
Blog Entries: 28

Rep: Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433
Did you try

Code:
hp-setup -i [printer ip address]
to pass the printer's ip address to hp-setup? I've had this work with discovery did not work. (It was suggested to me by someone in some other forum I stumbled over.)

(I give my network printers static ip addresses. It makes life much easier.)
 
1 members found this post helpful.
Old 03-17-2017, 09:06 AM   #5
gmartin69
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Original Poster
Rep: Reputation: 0
That was exactly what I needed. Thanks for your assistance...



Quote:
Originally Posted by frankbell View Post
Did you try

Code:
hp-setup -i [printer ip address]
to pass the printer's ip address to hp-setup? I've had this work with discovery did not work. (It was suggested to me by someone in some other forum I stumbled over.)

(I give my network printers static ip addresses. It makes life much easier.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: I use hp-setup to add my HP LaserJet 1020 printer to Debian Squeeze LXer Syndicated Linux News 0 03-16-2011 07:40 AM
Samba Network Printer setup. How to add them ? rbalaa Linux - Networking 1 06-07-2010 12:41 PM
How to setup/add printer? depam VectorLinux 1 08-03-2006 10:19 AM
How to add Hebrew support in fresh Slackware 10.0 installation? yonatan1 Slackware 8 10-04-2005 03:36 PM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:41 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