TransAct Technologies ITHERM 280 User Manual
Page 106

Programming Codes
iTherm
®
280 Programmer’s Guide
Page 104
Rev C
28-07764
[ESC] [ S
Redefine character set
ASCII
[ESC] [ S L > H > C > 1L > 1H > 2L > 2H > 3L > 3H > … nL > nH > Hexadecimal 1BH 5BH 53H … <27> <91> <83> … IPCL none Description The [ESC] [ S L > H > C > 1L > 1H > 2L > 2H > 3L > 3H > … nL > nH > command allows an application to replace or redefine the active character set mapping in the printer, where L > H > defines the total length of the following data: L > + 256 * H > = 1 + 2 * the total number of characters to be replaced; C > is the first character in the active map to be replaced 1H > 1L > 6 is the internal address of the replacement character image. The mapping of a print pattern to each character address is referred to a ® 280 Printer allows the map for any code page to be redefined or replaced. The define character set command allows any [ESC] [ S <3> <0> <35> <90> <1> th Character in the Master Set | | [(1 * 256) + 90] th Character +--------------- 3 bytes to follow [(0 * 256) + 3] 6 The internal character map is provided in the Master Character Set Definitions Guide, PN 100-9785.
Decimal
code page or character set. At any given time, the printer character set is
comprised of 256 characters. Each character is addressed by an 8-bit
value generally referred to as a character code. For example, if you want
to print an ‘A’, it would be addressed by sending a <65> decimal to the
printer. Sixty-five predefined code pages or character maps assign
characters to a particular address built into the printer. Occasionally, an
application needs to redefine a character or group of characters in a code
page. The iTherm
character or group of characters to be replaced with any other printable
character. Unicode addressing is used. The redefine character set
command is used as follows:
^^^^^ ^^ ^^^^^^
| | +- 346
| +------- 35
The new map remains until the printer is power cycled or the character set is
redefined. The code page and character set commands completely redefine the
table.