Sending Escape Codes to a Printer - TechRepublic
General discussion
December 28, 2002 at 02:16 AM
jjclark

Sending Escape Codes to a Printer

by jjclark . Updated 23 years, 5 months ago

I’m trying to write a DOS batch file to send escape codes to a Star Micronics TSP600 series receipt printer. I have the Code, Hex, and ASCII commands, but I can’t seem to figure out which to use or what syntax to use.

CODE: “p” 1 0
HEX: 1B 1C 70 1 0
ACSII: 27 28 112 1 0

I’m also trying to initialize the printer which uses the following codes:

CODE:
HEX: 18

Star’s tech support wasn’t much help. Any assistance would be greatly appreceiated.

Thanks!

john

This discussion is locked

All Comments