TransAct Ithaca 8000 Programmer's Manual page 107

Transact 8000: user guide
Table of Contents

Advertisement

Programming Codes
[ESC] [ S
Redefine character set
ASCII
[ESC] [ S <L
...<T
><T
nL
Hexadecimal 1BH 5BH 53H ...
<27> <91> <83> ...
Decimal
IPCL
none
Description The [ESC] [ S <L
<T
><T
nL
active character set mapping in the printer, where <L
total length of the following data:
<L
> + 256 * <L
L
<B
> is the first character in the active map to be replaced
C
<T
> <T
1H
The mapping of a print pattern to each character address is referred to a
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.
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 Ithaca
redefined or replaced. The define character set command allows any
character or group of characters to be replaced with any other printable
character.
printer. For example, to redefine the character map for the 35th character
and replace it with internal master character 346, the redefine character
set command is used as follows:
[ESC] [ S <3> <0> <35> <90> <1>
^^^^^ ^^ ^^^^^^
|
|
+- 346
|
|
|
+------- 35
+--------------- 3 bytes to follow [(0 * 256) + 3]
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.
6
The internal character map is provided in the Master Character Set Definitions Guide, PN
100-9785.
100-06908
> <L
> <B
> <T
L
H
C
1L
>
nH
> <L
> <B
L
H
> command allows an application to replace or redefine the
nH
> = 1 + 2 * the total number of characters to be replaced;
H
6
>
is the internal address of the replacement character image.
1L
Sixty-five predefined code pages or character maps assign
®
8000 Printer allows the map for any code page to be
Over 500 printable master characters are defined in the
th
Character in the Master Set
[(1 * 256) + 90]
th
Character
Rev D
®
Ithaca
8000 Programmer's Guide
><T
> <T
><T
> <T
1H
2L
2H
> <T
><T
> <T
><T
C
1L
1H
2L
><T
>
3L
3H
> ...
> <T
><T
2H
3L
3H
> <L
> defines the
L
H
Page 93

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Ithaca 8000 and is the answer not in the manual?

Questions and answers

Table of Contents