Archive for the 'howto' Category

HOW-TO: Use the Calendar class in Java

Tuesday, February 24th, 2009

Sometimes a program needs to know something about a date, like what day of the week it occured. Maybe you want to do something like know which months have 31 days in them. All of this can be done with the Calendar class in the java.util package. First we need to import the package: import […]

HOW-TO: HP PCL/PJL For Fun and Profit

Tuesday, November 25th, 2008

PCL stands for Printer Command Language. It is built in to most Hewlet-Packard LaserJet Printers. It includes commands for changing various default printer settings, but the one we’re concerned with is the Ready message. The ready message is the text that is displayed on the LCD screen on the printer when the printer is ready […]

HOW-TO: ATX Benchtop Power Supply

Tuesday, November 25th, 2008

You Will Need: An old ATX computer power supply Some binding posts A switch Standard modder tools Prepping the PSU Open the power supply’s case and remove the fan. Locate the wires that are needed. For a standard power supply, these will be Yellow: +12v Red: +5v Black: Ground Blue: -12v White: -5v Orange: +3.3v […]