Ithaca PcOS Series 80PLUS Programmer's Manual page 35

Ithaca pcos series 80plus pos thermal printer
Table of Contents

Advertisement

Programmer's Guide
Function
ASCII
Hexadecimal
Decimal
IPCL
Description
Function
ASCII
Hexadecimal
Decimal
IPCL
Description
2
The internal character map is provided in a separate document.
PcOS Series 80PLUS
Print control character
[ESC] ^ <n>
1BH 5EH <n>
<27><94><n>
&%CC <m
><m
><m
>
1
2
3
This command allows characters from 0 to 31 codes to be printed. During
normal operation, characters from 0 to 31 are control characters. This
command turns off control code translation for the following character. <n>
can be from 0 to 255.
Redefine character set
[ESC] [ S <L
> <L
> <B
L
H
C
<T
><T
>
nH
nL
1BH 5BH 40H
<27><91><64>
none
This command allows an application to replace or redefine the active character
set mapping in the printer.
Where <L
> <L
> defines the total length of the following data:
L
H
<L
> + 256*<L
> = 1 + 2 * is the total number of characters to be replaced.
L
H
<B
> is the first character in the active map to be replaced.
C
2
<T
><T
>
is the internal address of the replacement character image.
1H
1L
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. There are 65
predefined code pages or character maps that assign characters to a particular
address built into the printer. However, there are times when an application
would like to redefine a character or group of characters in a code page. To
allow this, the Series 80PLUS Printer allows the map for any code page to be
redefined or replaced. The "Define Character Set" command allows any
character or group of characters to be replaced with any other printable
character. There are over 500 printable master characters defined in the printer.
To redefine the character map for the 35
master character 346, the following redefine character set command is used.
[ESC][S <3> <0> <35> <90> <1>
^^^^ ^^
^^^^^^
|
|
|
|
|
+-------
+-----------
The new map will remain until the printer is power cycled or the character set
is redefined. The code page and character set commands completely redefine
this table.
Rev B 4/13/99
International Character Sets
> <T
><T
> <T
><T
1H
1L
2H
2L
th
character and replace it with internal
th
+-
346
Character in Master set
[(1*256) + 90]
th
35
Character
3 Bytes to follow [(0*256) + 3]
Control Codes
> <T
><T
> ...
3H
3L
Page 25

Advertisement

Table of Contents
loading

Table of Contents