Skip to main content

Fun with HP Printer Display

Photo-0067While searching for a programming solution, I stumbled into an article claiming that they can change the default displayed message of your office printer to whatever message you want. The message that will replace the conventional “Ready” message. I got interested, so i took time to read it. When i searched about it in Google, I was amazed that lots of articles where already written about it. Articles that offer a program the author wrote himself to make you do change the “Ready” message of your printer to some more humorous such as “INSERT COIN!”. Some articles suggest that you need to learn the language to do that. I learned pearl just to understand what those line of code does and found out that it’s just simply sending a string of character to an opened TCP socket to the printer on the network. The program exploits the PJL (Printer Job Language) to send a command to the printer to replace the conventional “Ready” message to something else. The command is “@PJL RDYMSG DISPLAY = “ YOUR MESSAGE”.

I didn’t like the idea of using a program written by somebody else, specially if you don’t understand what it really does. It could be a “keylogger” that could secretly grab your passwords. So, for just a simple one-way socket communication, I figured out a pretty easy way to do it without even writing a program or using a new one. I was able to change the network printer’s display at the office saying “WALANG HIMALA!” (No Miracle!) by only using the telnet console application available in all Windows box.

To do it, you only need to run the following in the command prompt:

telnet <the IP address of the printer> 9100


If the command prompt clears out to black screen after issuing the command above, this means that your have successfully opened a TCP socket to the network printer and that you just need type the following text in notepad to change the message:


Then paste what you typed in notepad to the command prompt and then press “Enter”. Bingo, your done, check your printer and leave it there until some officemates notice and starts laughing. I enjoyed observing their reactions the moment they noticed that the printer saying something addressed to them :).

The message will be reverted back to default which is “READY” after a power cycle (Printer reboot). So, no worries.



Post a Comment


DIY Airsoft Chrono [PC-based]

Chrono or Chronograph, the term used by Airsofter and Paintball players to refer to the device that measures the muzzle velocity of firearms. This is also called MVMD, short for Muzzle Velocity Measuring Device by the British Army. Muzzle Velocity is the velocity of the bullet as it exits the barrel of the firearm.

A year ago I was an active Airsofter in Iligan who's more interested in modifying and improvising AEGs (Automatic Electric Gun) rather than playing airsoft. I have made my AEG susceptible to high current burns by using locally available MOSFETs. I have improved velocity by replacing cylinder gaskets and spring. I have increased the rounds per minute by altering the armature windings of the drive motor. And most of all, I have made my own cheap alternative PC-based Chrono.

I have posted an artivle before that details the development of my chrono but unfortunately the online forum was hacked/deleted by webmaster of due to some violation in the contents. So, …

Disable PrintScreen on C# without Keyboard Hooks

Yes, there is a simple solution to prevent grabbing information on your C# application screen with the keyboard's printscreen key without using keyboard hooks or calling COM interops. The solution makes use of Windows Forms Message Filter to trap keyboard events on your application window.

To trap keyboard events with Windows Message Filter, you need to implement the IMessageFilter interface and override the member PreFilterMessage(ref Message WM) method. This is the method called whenever a Form receives a keyboard or mouse event. You may want to read more about IMessageFilter.

The problem is that even though you have trapped the PrintScreen keypress event, the captured image will still persist to the clipboard. Therefore the simplest solution is to clear up the clipboard right after the PrintScreen is pressed on the keyboard.

This is how the overridden method will look like this:

publicbool PreFilterMessage(refMessage WM)
Keys kCode = (Keys)…

DIY Mic Shock Mount

For the past couple of weeks I was looking for a cheap microphone shock mount and the cheapest I saw that was available in my country was around US$160 so I decided to build a cheap one. I only spent less than $6 and a 2 hours of my not very precious time.Before I left office today, bought materials and tools to for my DIY shock mount which are a piece of 4”-diameter PVC pipe coupling ($0.50), a set of hair ties($0.40), set of stove bolts ($0.50), a set of coping saw frame and blades ($2.5).First, I decided to cut the PVC coupling so it would look like Rode SM3 shock mount’s frame.Then I used the section of the PVC coupling that was removed to be a attachment brace to the original mic holders base and bolted it to the base of the frame. I had to heat that part so could bend it to a desired angle.And then cut slots on the edges for the rubber suspensions (hair ties). Right after positioning the suspensions, i found a problem. The rubber bands slip every time i attempted to position the…