Print Server Port Numbers for Netcat

by Jeff Liebermann
Version 1.04   05/17/00
Model Parallel 1 Parallel 2 Parallel 3 Serial 1/2 Telnet
3Com CS2100  Set
3Com CS2700 Set
Apple 16/600 PS None 23
Axis 540/640 Set (6001) 23
Axis  Set (6001) Set (6002) Set (6003) 23
Cisco Set 23
DECServer 300 Set
Extended Systems 9100
Emulex Set (3001) Set (3002)
Gandoff GTS 1000 10016
Gold Key 9100
HP Jet Direct 9100 23
HP JetDirect EX Plus 3 9100 9101 9102 23
Intel Netport 3001 3002 2501 23
InterCon 3000 3001 3002 3003
Lantronix 3001 3002
Linksys 4010 4020 4030
Lexmark Optra LX 9100
Lexmark Optra S 1650
Milan 3000/3100 2000 2001 2002
Milan 3200 2000 2011 2001/2020 2002
Netgear PS104/110/etc 4010 4020 4030 23
Netprint 1000 10001
Pacific Direct 9100
QMS 1660 35
Ungerman Bass Set
Xcd 9100
Xerox C55 Set ??? 2002

1.  Originally plagerized mosly from
2.  Latest version of this page can be found at
3.  "Set" means that the port number is settable in the print server configuration.  Number is parenthesis are the recommended values.  "None" means it can't be done.

Some notes on HP printer port numbers from:

HP JetDirect Print Servers - HP JetDirect Port Numbers for TCP/IP (UDP) Connections

QUESTION: What are the TCP and UDP destination port numbers (or sockets) that are used with TCP/IP on the HP JetDirect print servers?

ANSWER: Port 9100 is used for printing. Port numbers 9101 and 9102 are for parallel ports 2 and 3 on the three-port HP JetDirect external print servers.

Other destination port numbers (depending on the features and capabilities of the HP JetDirect) are:

UDP port 161 SNMP. This port can be accessed by any SNMP Management utility. HP JetAdmin and HP Web JetAdmin use SNMP to configure and query the status of HP JetDirect devices.

UDP port 162 for SNMP traps. This port can be used when the network is configured to capture trap information. Many SNMP Management utilities can be configured to capture traps. HP Web JetAdmin listens for traps in its Alerts configuration on this port.
20 TCP port for FTP printing. This port can be use to FTP files directly to JetDirect print servers. HP JetDirect listens on TCP port 20 for FTP connection requests. Up to three simultaneous FTP sessions can be active at the same time.

23 TCP port for Telnet. This port can be used for remote configuration of the HP JetDirect device when there are no other configuration methods or to can be used to check the current configuration.

515 TCP port for LPD. This port can be used when printing with LPD (for example, from UNIX (R)) or using LPD emulation like the Microsoft (R) LPR port monitor. While port 515 is the listen or destination port, TCP ports 721-731 are the source ports on the host machine.

631 UDP port for IPP. IPP is a new Internet Printing Protocol implementation available on newer HP JetDirect devices. It is used when printing from Windows NT using the HP IPC Internet Printer Connection software.

80 HTTP port for Embedded Web Server (EWS). Newer HP JetDirect devices have an embedded Web page in the firmware which can be accessed through this port. The Embedded Web Server page allows a user to configure the HP JetDirect using a supported browser.

9280 for scanning with the Embedded Web Server (9281 and 9282 for parallel ports 2 and 3 of the multi-port print servers). When attached to a device with scanning capabilities, the Embedded Web Server will allow a user to remotely scan documents.

9290 for raw scanning to peripherals with IEEE 1284.4 specifications. On three port HP JetDirects, the scan ports are 9290, 9291, and 9292. (When you connect to a raw scan port, the scan gateway sends back "00" if the connection to the peripheral's scan service was successful, "01" if somebody else is using it, and "02" if some other error, for example, the supported peripheral is not connected. Ports 9220, 9221, and 9222 are the generic scan gateway ports currently only usable on 1284.4 peripherals.)

427 UDP port for SLP (Service Location Protocol). Newer HP JetDirect devices use the SLP (Service Location Protocol) packet type for advertising their services. Some HP software utilities use multicast and SLP to automatically-discovery and automatically install a printer on the network.

1782 TCP port for JetSend. HP has implemented a proprietary process wherein documents or digital pictures can be sent through the network to a printer for automatic printing. This requires proprietary JetSend software with newer HP JetDirect devices.

NOTE: These ports cannot be individually disabled on the HP JetDirect print server. The TCP/IP protocol can be disabled on the HP JetDirect.

SUMMARY: Some users may want to print through a router or a firewall and may need to allow access to these destination ports through those devices.