Boat Drinks  

Go Back   Boat Drinks > General > Computer and Consoles

Reply
 
Thread Tools Display Modes
Old 19-10-2007, 14:00   #1
Garp
Preparing more tumbleweed
 
Garp's Avatar
 
Join Date: Jun 2006
Location: Hawaii
Posts: 6,038
Default Bored? Got a Networked HP printer around?

http://www.hackszine.com/blog/archiv..._hp_print.html

Quote:
A lesser-known feature of the HP Printer Job Language (HPPJL) command set is that you can change the ready message" from "READY" to whatever you like. Yaakov wrote a Perl script that will change the message for you, and he also came up with the clever "INSERT COIN" replacement. Very nice.

You can think up your own funny, confusing or scary messages. My personal favorite is "INSERT COIN" which fits perfectly on the small LCDs. You can even sit in sight of the printer and change the message while watching the reaction of your victim. Don't be surprised, though, if a large fraction don't even notice. I was quite surprised myself but, it appears, some people don't look at what is in front of them.

I haven't been able to test yet (no HP printer here), but if I'm reading the code right, you can actually do this right from the command line using telnet. Just telnet to port 9100 and type in the following:

\e%-12345X\@PJL JOB
\@PJL RDYMSG DISPLAY="MESSAGE HERE"
\@PJL EOJ
\e%-12345X
We've had "INSERT COIN", "OMGWTFBBQ", "YEAH, RIGHT" and "TGI Friday" on our printer so far this week..
__________________
Mal: Define "interesting"?
Wash: "Oh, God, oh, God, we're all gonna die"?
Garp is offline   Reply With Quote
Old 19-10-2007, 14:11   #2
Flibster
Moonshine
 
Join Date: Jul 2006
Posts: 3,388
Default

Thats this afternoon sorted then.

Cool.

Simon/~Flibster
__________________
Flibster is offline   Reply With Quote
Old 19-10-2007, 14:12   #3
Daz
The Stig
 
Daz's Avatar
 
Join Date: Jun 2006
Location: Swad!
Posts: 10,713
Default

Frickin Awesome
__________________
apt-get moo
Daz is offline   Reply With Quote
Old 19-10-2007, 14:15   #4
Joe 90
Absinthe
 
Joe 90's Avatar
 
Join Date: Jan 2007
Location: Chester
Posts: 2,345
Default

ooo oh so tempting - wonder if someone would say anything...

get some students saying that the printer is asking for coins :|


*edit*
noooo
HP Laserjet 4050s are not supported
__________________
360 Blog | Join GiffGaff | Twitter

Last edited by Joe 90; 19-10-2007 at 14:22.
Joe 90 is offline   Reply With Quote
Old 19-10-2007, 14:34   #5
Feek
ex SAS
 
Feek's Avatar
 
Join Date: Jun 2006
Location: JO01ou
Posts: 10,062
Default

Quote:
Originally Posted by |Show| View Post
ooo oh so tempting - wonder if someone would say anything...

get some students saying that the printer is asking for coins :|


*edit*
noooo
HP Laserjet 4050s are not supported
Arse.

Read the first post, teletted to our printer to try it, did the INSERT COIN thing and nothing happened.

Came back, read down the thread. We've got a 4050
__________________
Feek is offline   Reply With Quote
Old 19-10-2007, 14:35   #6
Daz
The Stig
 
Daz's Avatar
 
Join Date: Jun 2006
Location: Swad!
Posts: 10,713
Default

I've just done it on a 4050 and it worked fine :/

It now thinks 'DAZ RAWKS'

I'm using the perl script though, not the telnet method.
__________________
apt-get moo
Daz is offline   Reply With Quote
Old 19-10-2007, 14:38   #7
Feek
ex SAS
 
Feek's Avatar
 
Join Date: Jun 2006
Location: JO01ou
Posts: 10,062
Default

Don't think I can use a perl script here
__________________
Feek is offline   Reply With Quote
Old 19-10-2007, 14:42   #8
Feek
ex SAS
 
Feek's Avatar
 
Join Date: Jun 2006
Location: JO01ou
Posts: 10,062
Default

Can you compile it into something I can use, two versions one to set it to INSERT COIN and the other to reset back to READY on 10.119.1.22 ?
__________________
Feek is offline   Reply With Quote
Old 19-10-2007, 14:56   #9
Belmit
The Mouse King of Denmark
 
Belmit's Avatar
 
Join Date: Jul 2006
Location: The Winchester
Posts: 6,476
Default

All our network printers are HP. Tee hee!
__________________
Belmit is offline   Reply With Quote
Old 19-10-2007, 15:00   #10
Daz
The Stig
 
Daz's Avatar
 
Join Date: Jun 2006
Location: Swad!
Posts: 10,713
Default

Quote:
Originally Posted by Feek View Post
Can you compile it into something I can use, two versions one to set it to INSERT COIN and the other to reset back to READY on 10.119.1.22 ?
Quick and dirty Windows binary:

http://dwuk.net/misc/hpsetdisp.zip

Unzip, and execute:

Code:
hpsetdisp.exe 10.0.0.1 "MESSAGE"
Remember the quotes, and obviously use the correct IP
__________________
apt-get moo
Daz is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:14.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.