There's no better way to welcome back your coworkers from the holidays, vacation, or that long sales trip than with an office prank. There is no need for pranks to be relegated to April Fool's Day; any day of the year is good for a small joke. A prescription for safe office pranks if often perfect for some fun lighthearted fun and/or well deserved payback.

In this day and age, Technology and the Internet rule, and most people spend their time online browsing, emailing or shopping. Why not try and play a joke on your friends where they spend most of their time…their computers and offices.

Remember, any prank you can easily play on someone could just as easily be used against you as well.

Insert Coin

0


Hewlett Packards laserjet printers, a standard in most office spaces, have a customizable LCD display just waiting for  your creative spark.  Using the attached Perl script, you can forgo the ever-present and tiresome "Ready" and replace it with your own clever and witty phrase.  


While this is sure to work on any networked HP printer, it will also work for any other printer that uses the HPPJL.






Replacement suggestions include:
  • Knock, Knock, Neo
  • I'm Lonely
  • Hug Me
  • Insert Coin
  • Enter Password
  • Internal Fire Detected
  • Feed Me Kittens
  • Clean Lint Filter
  • I Can See You
  • Feed Me...
  • Will Print For Beer
  • Nap Time
  • Skynet Online









  1. #!/usr/bin/perl

  2.   # $Id: hpsetdisp.pl 2 2008-07-10 00:05:58Z yaakov $

  3.   # hpsetdisp.pl  
  4.   # Connects to a JetDirect equipped HP printer and uses 
  5.   # HP's control language to set the ready message on the
  6.   # LCD display.  Takes an IP address and message on the
  7.   # command line. My favorite message is "INSERT COIN".
  8.   # Keep in mind the limitations of the display when composing 
  9.   # your clever verbiage.
  10.   
  11.   # THIS PROGRAM IS PROVIDED WITH NO WARRANTY OF ANY KIND EXPRESSED OR IMPLIED
  12.   # IF YOU ARE UNCERTAIN ABOUT THE ADVISABILITY OF USING IT, DO NOT!
  13.   # 
  14. use strict;
  15. use warnings;

  16. unless (@ARGV) { print "usage: $0  \"\"\n" ; exit }
  17. if ($ARGV[3]) { print "Did you forget the quotes around your new message?\n" ; exit }

  18. my $peeraddr = $ARGV[0];
  19. my $rdymsg = $ARGV[1];
  20. chomp $peeraddr;

  21. use IO::Socket;
  22. my $socket = IO::Socket::INET->new(
  23.     PeerAddr  => $peeraddr,
  24.     PeerPort  => "9100",
  25.     Proto     => "tcp",
  26.     Type      => SOCK_STREAM
  27.     ) or die "Could not create socket: $!";

  28. my $data = <<EOJ
  29. \e%-12345X\@PJL JOB
  30. \@PJL RDYMSG DISPLAY="$rdymsg"
  31. \@PJL EOJ
  32. \e%-12345X
  33. EOJ
  34. ;

  35. print $socket $data;

Share this :

  • Stumble upon
  • twitter

Comments (0)

Post a Comment