CP1025nw printer install

Asked by Asis Bagchi

printer wont print a test page from cups

login as: asis
<email address hidden>'s password:
Last login: Wed Apr 25 07:35:11 2018 from mtrlpq0806w-lp140-04-70-51-37-229.dsl. bell.ca
[asis@restium ~]$ hp-check -t
Saving output in log file: /home/asis/hp-check.log

HP Linux Imaging and Printing System (ver. 3.18.3)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-15 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.

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: 23-6.9 version is not supported. Using 23-any versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------
                                                                                                                                                           Kernel: 2.6.32-696.23.1.el6.x86_64 #1 SMP Tue Mar 13 22:44:18 UTC 2018 GNU/Linux
 Host: restium
 Proc: 2.6.32-696.23.1.el6.x86_64 #1 SMP Tue Mar 13 22:44:18 UTC 2018 GNU/Linux
 Distribution: 23 6.9
 Bitness: 64 bit

-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.18.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 23 distro 6.9 version

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.18.3

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/HP
ppdbase=/usr/share/cups/model
doc=/usr/share/doc/hplip-3.18.3
html=/usr/share/doc/hplip-3.18.3
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=yes
pp-build=no
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=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=no
cups-drv-install=no
cups-ppd-install=no
internal-tag=3.18.3
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=yes
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=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]
notify_upgrade = true
pending_upgrade_time = 0
last_upgraded_time = 1524625008

[installation]
version = 3.18.3
date_time = 04/25/2018 07:37:54

 <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>

--------------
| COMPILEDEP |
--------------
                                                                                                                                                           gcc gcc - GNU Project C and C++ Compiler REQUIRED - 4.4.7 OK - make make - GNU make utility to maintain groups of programs REQUIRED 3.0 3.81 OK - libtool libtool - Library building support services REQUIRED - 2.2.6 OK -

------------------------
| General Dependencies |
------------------------
                                                                                                                                                             libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.1 OK -
 python-xml Python XML libraries REQUIRED - 2.0.1 OK - libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.5 OK - sane-devel SANE - Scanning library development files REQUIRED - 1.0.21 OK -
 pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.6 OK -
 pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 REQUIRED 4.0 4.6.2 OK -
 libpthread libpthread - POSIX threads library REQUIRED - 2.12 OK - python-devel Python devel - Python development files REQUIRED 2.2 2.6.6 OK - cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 1.4.2 OK -
 python-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 0.83.0 OK -
 cups-ddk CUPS DDK - CUPS driver development kit OPTIONAL - - OK -
 reportlab Reportlab - PDF library for Python OPTIONAL 2.0 2.3 OK -
 pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.6.2 OK - libusb libusb - USB library REQUIRED - 0.1.12 OK - cups-image CUPS image - CUPS image development files REQUIRED - 1.4.2 OK - python2X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.6.6 OK -
 error: python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python-notify needs to be installed'
 libjpeg libjpeg - JPEG library REQUIRED - - OK - sane SANE - Scanning library REQUIRED - 1.0.21 OK -

----------------------
| Scan Configuration |
----------------------

 scanext Scan-SANE-Extension REQUIRED - 3.18.3 OK -
 hpaio HPLIP-SANE-Backend REQUIRED - 3.18.3 OK 'hpaio found in /etc/sane.d/dll.conf'

-------------------------
| External Dependencies |
-------------------------
                                                                                                                                                            gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 8.70 OK - scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.21 OK - cups CUPS - Common Unix Printing System REQUIRED 1.1 1.4.2 OK 'CUPS Scheduler is running' network network -wget OPTIONAL - 1.12 OK - policykit PolicyKit - Administrative policy framework OPTIONAL - 0.96 OK -

(xsane:7539): Gtk-WARNING **: cannot open display:
 error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - INCOMPAT 'xsane needs to be installed' dbus DBus - Message bus system REQUIRED - 1.2.24 OK - avahi-utils avahi-utils OPTIONAL - 0.6.25 OK -

---------------------
| Python Extentions |
---------------------

 hpmudext IO-Extension REQUIRED - 3.18.3 OK -
 cupsext CUPS-Extension REQUIRED - 3.18.3 OK -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
                                                                                                                                                            No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------
                                                                                                                                                            No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

CP1025NW
--------
Type: Unknown
Device URI: socket://192.168.118.101
PPD: /etc/cups/ppd/CP1025NW.ppd
PPD Description: HP LaserJet 1020, hpcups 3.18.3, requires proprietary plugin Printer s/usr/lib/cups/filter/hpcups failedenabled since Wed 25 Apr 2018 05:39:37 AM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

DL3400
------
Type: Unknown
Device URI: lpd://HPJD500X/LPT1
PPD: /etc/cups/ppd/DL3400.ppd
PPD Description: Generic text-only printer Printer sData file sent successfullyle. enabled since Tue 24 Apr 2018 02:56:35 PM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

DL3400-2
--------
Type: Unknown
Device URI: lpd://HPJD500X/LPT1
PPD: /etc/cups/ppd/DL3400-2.ppd
PPD Description: Generic IBM-Compatible Dot Matrix Printer Foomatic/ibmpro (recommended) Printer status: printer DL3400-2 is idle. enabled since Wed 11 Apr 2018 11:49:29 AM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

HP_6500
-------
Type: Unknown
Device URI: socket://192.168.111.107:9100
PPD: /etc/cups/ppd/HP_6500.ppd
PPD Description: HP Officejet 6500 e709a, hpcups 3.12.4 Printer status: printer HP_6500 is idle. enabled since Tue 02 Apr 2013 05:03:09 PM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

jeff-vpn
--------
Type: Unknown
Device URI: lpd://jeff/jeff-vpn

OKIML320
--------
Type: Unknown
Device URI: lpd://HPJD500X/LPT2
PPD: /etc/cups/ppd/OKIML320.ppd
PPD Description: Generic text-only printer Printer status: printer OKIML320 is idle. enabled since Sun 04 Sep 2016 11:07:20 AM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

OKIML320-P3
-----------
Type: Unknown
Device URI: lpd://HPJD500X/LPT3

Samsung_ML-2160_Series
----------------------
Type: Unknown
Device URI: dnssd://Samsung%20ML-2160%20Series%20(SEC0015990DB78A)._ipp._tcp.local/
PPD: /etc/cups/ppd/Samsung_ML-2160_Series.ppd
PPD Description: Samsung CLP-350 Foomatic/Postscript (recommended) Printer sReady to print.Samsung_ML-2160_Series is idle. enabled since Wed 18 Apr 2018 07:24:10 AM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

tt1
---
Type: Unknown
Device URI: socket://192.168.118.101
PPD: /etc/cups/ppd/tt1.ppd
PPD Description: HP LaserJet cp1025nw, hpcups 3.14.6, requires proprietary plugin Printer s/usr/lib/cups/filter/hpcups failed1-12176. enabled since Wed 25 Apr 2018 07:20:46 AM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

--------------
| PERMISSION |
--------------

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
error: 'notify-python' package is missing/incompatible
error: 'xsane' package is missing/incompatible

Total Errors: 2
Total Warnings: 7

Done.
[asis@restium ~]$
e

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Asis Bagchi
Solved:
Last query:
Last reply:
Revision history for this message
Asis Bagchi (apbmtl) said :
#1

I was able to resolve the problem
i belive the hp-setup did not work when i used the IP address
i did an Hp_Probe
[asis@restium ~]$ hp-probe

HP Linux Imaging and Printing System (ver. 3.18.3)
Printer Discovery Utility ver. 4.1

Copyright (c) 2001-15 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.

--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

  Num Connection Description
            Type
  -------- ---------- -------------------------------------------------------- --
  0* usb Universal Serial Bus (USB)
  1 net Network/Ethernet/Wireless (direct connection or JetDirec t)

Enter number 0...1 for connection type (q=quit, enter=usb*) ? 1

Using connection type: net

--------------------
| DEVICE DISCOVERY |
--------------------

Probing network for printers. Please wait, this will take approx. 10 seconds...
                                                                               Device URI Model Name
  ----------------------------------------------- -------------------- ---------
  hp:/net/HP_LaserJet_CP1025nw?ip=192.168.118.101 HP_LaserJet_CP1025nw NPIA5AF29

Found 1 printer(s) on the 'net' bus.

Done.
then
hp-setup -i hp:/net/HP_LaserJet_CP1025nw?ip=192.168.118.101

that installed the printer