You are not logged in.
Hello I am trying to install an hp network printer on arch but I am having no luck doing so.
I have installed hplib and here is the output of hp-setup -i
# hp-setup -i
HP Linux Imaging and Printing System (ver. 3.15.9)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-15 Hewlett-Packard 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.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
2 par Parallel Port (LPT:)
Enter number 0...2 for connection type (q=quit, enter=usb*) ? 1
Using connection type: net
Setting up device: hp:/net/HP_Color_LaserJet_M553?ip=192.168.0.20
---------------------
| PRINT QUEUE SETUP |
---------------------
Please enter a name for this print queue (m=use model name:'HP_Color_LaserJet_M553'*, q=quit) ?
Using queue name: HP_Color_LaserJet_M553
Locating PPD file... Please wait.
error: No PPD found for model color_laserjet_m553 using old algorithm.
error: Unable to find an appropriate PPD file.
Would you like to specify the path to the correct PPD file to use (y=yes, n=no*, q=quit) ? y
Please enter the full filesystem path to the PPD file to use (q=quit) :/usr/share/ppd/HP/hp-color_laserjet_m553-ps.ppd
Traceback (most recent call last):
File "/usr/bin/hp-setup", line 533, in <module>
nickname = open(file_path, 'r').read(4096)
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0x8b in position 1: ordinal not in range(128)
here is the output of hp-check
$ hp-check
Saving output in log file: /usr/share/ppd/HP/hp-check.log
HP Linux Imaging and Printing System (ver. 3.15.9)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 2001-15 Hewlett-Packard 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.
Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the
proper dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP
supplied tarball has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time
dependencies).
Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION
Status Types:
OK
MISSING - Missing Dependency or Permission or Plug-in
INCOMPAT - Incompatible dependency-version or Plugin-version
warning: arch distro is not found in AUTH_TYPES
|
(process:950): Gdk-WARNING **: locale not supported by C library
(process:950): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
warning: unknown- version is not supported. Using unknown-0 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 GNU/Linux
Host: comp
Proc: 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 GNU/Linux
Distribution: unknown
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.15.9
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for unknown distro version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.15.9
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.15.9
html=/usr/share/doc/hplip-3.15.9
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=yes
internal-tag=3.15.9
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory
Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
latest_available_version = 3.15.9
[last_used]
device_uri = hp:/net/HP_Color_LaserJet_M553?ip=192.168.0.20
[installation]
date_time = 11/06/15 11:02:02
version = 3.15.9
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
--------------------------
| External Dependencies |
--------------------------
(process:1042): Gdk-WARNING **: locale not supported by C library
(process:1042): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(process:1043): Gdk-WARNING **: locale not supported by C library
(process:1043): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.32 OK -
cups CUPS - Common Unix Printing System REQUIRED 1.1 2.1.0 OK 'CUPS Scheduler is running'
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.18 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.113 OK -
dbus DBus - Message bus system REQUIRED - 1.10.2 OK -
network network -wget OPTIONAL - 1.16.3 OK -
-------------------------
| General Dependencies |
-------------------------
libjpeg libjpeg - JPEG library REQUIRED - - OK -
python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.11.4 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.1.0 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 OK -
sane-devel SANE - Scanning library development files REQUIRED - 1.0.25 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.2.0 OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.4 OK -
python3-devel Python devel - Python development files REQUIRED 2.2 3.5.0 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
sane SANE - Scanning library REQUIRED - 1.0.25 OK -
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
python3-xml Python XML libraries REQUIRED - 2.1.0 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.5.0 OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.1.0 OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.22' OK -
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.0 OK -
---------------
| COMPILEDEP |
---------------
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 5.2.0 OK -
----------------------
| Python Extentions |
----------------------
hpmudext IO-Extension REQUIRED - 3.15.9 OK -
cupsext CUPS-Extension REQUIRED - 3.15.9 OK -
-----------------------
| Scan Configuration |
-----------------------
scanext Scan-SANE-Extension REQUIRED - 3.15.9 OK -
hpaio HPLIP-SANE-Backend REQUIRED - 3.15.9 OK 'hpaio found in /etc/sane.d/dll.conf'
-----------------------
| Other Dependencies |
-----------------------
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
device `v4l:/dev/video0' is a Noname Hauppauge WinTV-HVR1255 virtual device
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
/usr/bin/lpstat
---------------
Type: Unknown
Device URI: Error - add '/version=1.1' to server name.
--------------
| PERMISSION |
--------------
error: Unsupported model: v125w
No errors or warnings.
Done.
Can someone please tell me what I am doing wrong?
Thanks in advance
Last edited by everydaydiesel (2015-11-06 23:21:02)
Offline
What is the output of
file /usr/share/ppd/HP/hp-color_laserjet_m553-ps.ppd
Offline
Thanks for the reply. You were right it was compressed. I am further but still unable to install
here is hte output of hp-setup -i
$ hp-setup -i
HP Linux Imaging and Printing System (ver. 3.15.9)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-15 Hewlett-Packard 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.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
2 par Parallel Port (LPT:)
Enter number 0...2 for connection type (q=quit, enter=usb*) ? 1
Using connection type: net
Setting up device: hp:/net/HP_Color_LaserJet_M553?ip=192.168.0.20
---------------------
| PRINT QUEUE SETUP |
---------------------
Please enter a name for this print queue (m=use model name:'HP_Color_LaserJet_M553'*, q=quit) ?m
Using queue name: HP_Color_LaserJet_M553
Locating PPD file... Please wait.
error: No PPD found for model color_laserjet_m553 using old algorithm.
error: Unable to find an appropriate PPD file.
Would you like to specify the path to the correct PPD file to use (y=yes, n=no*, q=quit) ? y
Please enter the full filesystem path to the PPD file to use (q=quit) :/usr/share/ppd/HP/hp-color_laserjet_m553-ps.ppd
Description for the file: HP Color LaserJet M553 Postscript (recommended)
Use this file (y=yes*, n=no, q=quit) ? y
Enter a location description for this printer (q=quit) ?none
Enter additonal information or notes for this printer (q=quit) ?none
Adding print queue to CUPS:
Device URI: hp:/net/HP_Color_LaserJet_M553?ip=192.168.0.20
Queue name: HP_Color_LaserJet_M553
PPD file: /usr/share/ppd/HP/hp-color_laserjet_m553-ps.ppd
Location: none
Information: none
---------------------
| PRINTER TEST PAGE |
---------------------
Would you like to print a test page (y=yes*, n=no, q=quit) ? y
HP Linux Imaging and Printing System (ver. 3.15.9)
Testpage Print Utility ver. 6.0
Copyright (c) 2001-15 Hewlett-Packard 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.
error: No device found that support this feature.
error: No installed printers found (or) Invalid printer device selected
Done.
Why does it seem to install but then tells me no installed printers?
No printers were installed. (i tried with user and root access with the same result)
Last edited by everydaydiesel (2015-11-06 23:22:39)
Offline
Have you tried installing the printer using the cups web interface?
wiki notes you will be hit by a different issue but offers 2 workarounds HPLIP_Driver
Sorry I cant be more help beyond spotting the ppd was compressed.
Offline
Hello,
I am now working on installing cups. It is telling me that
#lpstat -t
lpstat: Error - add '/version=1.1' to server name.
# cat /etc/cups/client.conf
ServerName 172.16.0.20:631/version=1.1
# see 'man client.conf'
#ServerName /run/cups/cups.sock # alternative: ServerName hostname-or-ip-address[:port] of a remote server
# systemctl enable cups
Failed to execute operation: No such file or directory
Last edited by everydaydiesel (2015-11-09 15:48:13)
Offline
# systemctl enable cups
Failed to execute operation: No such file or directory
That isn't what the cups service is called...
https://wiki.archlinux.org/index.php/CUPS#Installation
Offline
As "loqs" says, use the cups web interface.
Try following #4 on...
https://bbs.archlinux.org/viewtopic.php?id=204133
Offline
thanks to everyone that helped on this!
systemctl start org.cups.cupsd.service and reverting the client.conf back to original worked.
Offline