what network ports does hplip search printers on?
I'm trying to setup a laserjet hp2035n using hplip and it can't seem to find the printer.
I'm operating in a highly controlled env where specific port opening requests need to be made.
1. What network ports need to be opened to allow hplip to find the printer?
2. Do we need to enable 'ping' to work to the printer for hplip to work?
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Also ..can you confirm whether the printer needs to be 'pingable' for hplip to work?
Revision history for this message
|
#2 |
Hi Gurjit,
We apologize for delay in our response.
Can you run 'hp-check' command in terminal and provide its full output here.
The network ports that we try to open are 427,5353 to discover the network printers.
Can you check if these ports are opened in your network environment.
Thanks,
Goutam
Revision history for this message
|
#3 |
Hi Goutam
I've included the output of the hp-check utility below.
The printer we're having an issue with finding using hp-setup is : WPCA_CHK_PRINTER.
Q1. Can you comment on the following link which seems to suggest different ports required to be open?
http://
Q2. Also, does the printer need to be 'pingable' for hp-setup to find the printer?
Gurjit
################# hp-check output #######
[35;01mwarning: python-dbus not installed.[0m
[01mSaving output in log file: /twpa1i/
[01mHP Linux Imaging and Printing System (ver. 3.14.4)[0m
[01mDependency
Copyright (c) 2001-13 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.
[01mNote: hp-check can be run in three modes:[0m
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
[35;01mwarning: enterpriseenter
[35;01mwarning: [01munknown-0.0 version is not supported. Using unknown-0 versions dependencies to verify and install...[0m[0m
---------------
| SYSTEM INFO |
---------------
Kernel: 2.6.18-
Host: ukdc1-oc-ebs02
Proc: 2.6.18-
Distribution: unknown 0.0
Bitness: 64 bit
-------
| HPLIP CONFIGURATION |
-------
HPLIP-Version: HPLIP 3.14.4
HPLIP-Home: /usr/share/hplip
[35;01mwarning: HPLIP-Installation: Auto installation is not supported for unknown distro 0.0 version [0m
[01mCurrent contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.14.4
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
bin=/usr/bin
# 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=no
dbus-build=no
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-
internal-tag=3.14.4
restricted-build=no
ui-toolkit=qt3
qt3=yes
qt4=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-
hpijs-only-build=no
[01mCurrent contents of '/var/lib/
Plugins are not installed. Could not access file: No such file or directory
[01mCurrent contents of '~/.hplip/
[installation]
version = 3.14.4
date_time = 15/07/14 07:04:49
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------
| External Dependencies |
-------
gs Ghostscript REQUIRED 7.05 8.70 OK -
network Network-wget OPTIONAL - 1.11.4 OK -
[31;01m error: dbus DBus REQUIRED - 1.1.2 MISSING 'DBUS may not be installed or not running'[0m
scanimage Shell-Scanning OPTIONAL 1.0 1.0.18 OK -
[31;01m error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'[0m
[31;01m error: policykit Admin-Policy-
(xsane:29746): Gtk-WARNING **: cannot open display:
[31;01m error: xsane SANE-GUI OPTIONAL 0.9 - INCOMPAT 'xsane needs to be installed'[0m
cups CUPS REQUIRED 1.1 1.3.7 OK 'CUPS Scheduler is running'
-------
| General Dependencies |
-------
[31;01m error: reportlab Python-PDF-Lib OPTIONAL 2.0 - MISSING 'reportlab needs to be installed'[0m
libcrypto OpenSSL-Crypto-Lib REQUIRED - 0.9.8 OK -
pil Python-Image-Lib OPTIONAL - 1.1.5 OK -
[31;01m error: pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 - MISSING 'pyqt4-dbus needs to be installed'[0m
libjpeg JPEG-Lib REQUIRED - - OK -
libpthread POSIX-Threads-Lib REQUIRED - - OK -
[31;01m error: python-dbus Python-DBUS REQUIRED 0.80.0 0.70.0 MISSING 'python-dbus needs to be installed'[0m
[31;01m error: cups-ddk CUPS-DDK OPTIONAL - - MISSING 'cups-ddk needs to be installed'[0m
[31;01m error: python-devel Python-SDK REQUIRED 2.2 - INCOMPAT 'python-devel needs to be installed'[0m
[31;01m error: pyqt Python-Qt REQUIRED 2.3 3.16.0 MISSING -[0m
cups-devel CUPS-SDK REQUIRED - 1.3.7 OK -
sane-devel SANE-SDK REQUIRED - 1.0.18 OK -
[31;01m error: libusb USB-Lib REQUIRED - 1.0 MISSING 'libusb needs to be installed'[0m
sane Scan-Lib REQUIRED - 1.0.18 OK -
cups-image CUPS-Image-Lib REQUIRED - 1.3.7 OK -
libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.3.2 OK -
python-xml Python-XML-Lib REQUIRED - 1.95.8 OK -
[31;01m error: python-notify Desktop-
-------
| Compile Time Dependencies |
-------
gcc gcc-Compiler REQUIRED - 4.1.2 OK -
libtool Build-tools REQUIRED - 1.5.22 OK -
make GNU-Build-tools REQUIRED 3.0 3.81 OK -
-------
| Python Extentions |
-------
cupsext CUPS-Extension REQUIRED - 3.14.4 OK -
pcardext PhotoCard-Extension REQUIRED - 3.14.4 OK -
hpmudext IO-Extension REQUIRED - 3.14.4 OK -
-------
| Scan Configuration |
-------
hpaio HPLIP-SANE-Backend REQUIRED - 3.14.4 OK 'hpaio found in /etc/sane.
scanext Scan-SANE-Extension REQUIRED - 3.14.4 OK -
-------
| DISCOVERED SCANNER DEVICES |
-------
No Scanner found.
-------
| DISCOVERED USB DEVICES |
-------
No devices found.
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
[01mACOM-OKI[0m
[01m--------[0m
Type: Unknown
Device URI: socket:
[01mWPCA_
[01m--
Type: Unknown
Device URI: socket:
PPD: /etc/cups/
PPD Description: HP LaserJet p2035n pcl3, hpcups 3.14.4, requires proprietary plugin
Printer status: printer WPCA_CHK_PRINTER is idle. enabled since Mon 14 Jul 2014 14:58:02 UTC
[35;01mwarning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.[0m
--------------
| PERMISSION |
--------------
-----------
| SELINUX |
-----------
SELinux disabled Optional - - OK -
[31;01merror: Failed to find the lsusb command[0m
-----------
| SUMMARY |
-----------
[01mMissing Required Dependencies[0m
[01m--
None
[01mMissing Optional Dependencies[0m
[01m--
None
Total Errors: 12
Total Warnings: 1
Done.
#######
Revision history for this message
|
#4 |
Only FYI:
You may have a look at
https:/
Revision history for this message
|
#5 |
Hi Gurjit,
Ports 427,5353 are used by slp and mdns protocol to do network discovery of printers.
Port 9100 is used for printing
Port 161,162 are used by snmp protocol to
The printer needs to be pingable.
You can follow the instructions provided in http://
snmpwalk -Os -c public -v 1 ip.address.
From hp-check log i could not find which linux distribution is being used. Can you tell us which linux distribution it is ?
Revision history for this message
|
#6 |
Hi
We have Redhat 64 bit enterprise 5.10
Gurjit
Revision history for this message
|
#7 |
Hi
Can you let me know where I can download the correct Linux printer driver for HP Laserjet 2035n w/o having to use HPLIS please?
Gurjit
Revision history for this message
|
#8 |
Hi
Can you let me know where I can download the correct Linux printer driver for HP Laserjet 2035n w/o having to use HPLIS please?
Gurjit
Revision history for this message
|
#9 |
Please go to the link http://
Choose operating system as Red Hat Enterprise Linux and select version 5.0 and select the appropriate option and proceed. This should help you to download the hplip drivers for RHEL 5.
Revision history for this message
|
#10 |
Sometimes ports are not supportable for that you have to check your port support drivers and reinstall it. Now it will hplip search printer on. To know more visit https:/
Can you help with this problem?
Provide an answer of your own, or ask Gurjit Dhaliwall for more information if necessary.