In addition to watching out for control characters, as noted by Chris, you also have to be careful about ESCapes. These are just about always interpreted as printer control strings and may cause your printer to do strange and wonderful things. Ever try to print out a printer (.PRN) file?