Computerglitch

An ongoing adventure

HP Jetdirect Fun

This is a compilation of fun things to do to HP Jetdirect printers. The printer used in these examples was a HP Laserjet 5N.


Using your web browser type in the IP address of the printer followed by port 9100:

http://192.168.0.221:9100

You will notice when you do this the browser seems to hang, hit the stop button on your browser and the printer will print out the HTTP get request of your browser.


If you want to control the output of the text you can also telnet to port 9100 and type in some text:

# telnet 192.168.0.221 9100
Trying 192.168.0.221...
Connected to 192.168.0.221.
Escape character is 'ˆ]'.
whats up!
ˆ]

Press “CTRL” then “]” to quit the session. You will notice what ever you type will be printed. In this case “whats up!” was printed.


If the printer you are connecting to has a LCD you can change the text displayed on it from telnet:

# telnet 192.168.0.221 9100
Trying 192.168.0.221...
Connected to 192.168.0.221.
Escape character is 'ˆ]'.
@PJL RDYMSG DISPLAY="Lol I Pwn!"
ˆ]

This will cause the printers LCD to display “Lol I Pwn!” as seen here.


Comments