Quote Originally Posted by Knurpht View Post
@Budgie2 : This might be a better option:
su -
Hi and thanks for the suggestion. I tried running the command in terminal as root and this brought up the first window for selecting the printer connection. I selected the network connected option, with firewall stopped to keep thinks simple, and selected next. This is what I get in the terminal:-

AJBR-W530:~ # hp-setup

HP Linux Imaging and Printing System (ver. 3.19.6)
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'
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
Traceback (most recent call last):
  File "/usr/share/hplip/ui5/setupdialog.py", line 1305, in NextButton_clicked
  File "/usr/share/hplip/ui5/setupdialog.py", line 729, in showAddPrinterPage
  File "/usr/share/hplip/ui5/setupdialog.py", line 1128, in readwriteFaxInformation
    self.fax_number = to_unicode(d.getPhoneNum())
  File "/usr/share/hplip/fax/pmlfax.py", line 146, in getPhoneNum
    data = utils.printable(self.getPML(pml.OID_FAX_LOCAL_PHONE_NUM)[1])
  File "/usr/share/hplip/base/utils.py", line 958, in printable
    return s.translate(identity, unprintable)
TypeError: translate() takes exactly one argument (2 given)
Aborted (core dumped)
AJBR-W530:~ #
As I explained I can get the printer installed using method I used previously but is there a switch for hp-setup command to install scanner?
Finally there is also a "manual" way of installing the scanner but I need help with the entries required please.