The ridiculousness continues. So much that this is just the third of three Sunday picdumps…
The ridiculousness continues. So much that this is just the second of three Sunday picdumps…
The ridiculousness continues. So much that this is just the first of three Sunday picdumps…
A quick blast from the past: 11 years ago today, Anitra and I did a…
I’ll let the updated posting in Craigslist explain: *******UPDATE PLEASE READ******* Thank you for your…
On Wednesday afternoon, I got this text from Tom Hood, ukulele player extraordinaire and leader…
View Comments
Hey Joey, I’ve seen this done before. In face, I wrote a blog last year about it, AND I have a VS 2008 solution for your readers to try out….uh….play with! LOL
A great Geek April Fool’s joke for the office HP LaserJet printer
http://www.pchenry.com/Home/tabid/36/EntryID/117/Default.aspx
This IS a lot of fun to watch people’s reactions to a printer saying things like,
Press Cancel to Continue.
Do I look landscape with this paper?
Please don’t go Office Space on me?!
Completed downloading the internet, please insert more paper
Double-Double for me please?!
There’s a few references in there too (including the code). Have a good one!
Here is the Ruby Version of the Printer hack...
#!/usr/bin/env ruby
# Simple HP Printer Hacker
# Written in Ruby by Erik Gregg
# 6/9/06
# Status Usage: hp-message.rb status
# Message Usage: hp-message.rb message ""
require 'net/telnet'
begin
if ARGV[0].nil?
puts "Read the script.
Status Usage: hp-message.rb status
Message Usage: hp-message.rb message \"\""
exit
end
host = Net::Telnet::new("Host" => ARGV[0],
"Port" => 9100,
"Timeout" => 5,
"Prompt" => /\b/n)
if ARGV[1] == "status"
host.cmd("@PJL INFO STATUS") { |c| print c }
elsif ARGV[1] == "message"
host.cmd("@PJL RDYMSG DISPLAY=\""+ARGV[2]+"\"")
else
puts "Oh Cmon. Look at the syntax inside me."
exit
end
host.close
rescue Timeout::Error
puts "Time to go now!"
exit 1
end
LOL nice to see my photo still exists in the cracks and crevices of the internet.