Datamax E-Class Mark II Programmer's Manual page 116

Class series ii
Hide thumbs Also See for E-Class Mark II:
Table of Contents

Advertisement

Character Encoding Syntax: This syntax requires at least two hexadecimal ASCII
digits (0-9, A-F) delimited by the character specified in the <STX>KE command. The
number of hexadecimal digits between the delimiter pair must be even; see notes below.
Syntax:
Where:
A delimiter pair with no ASCII hexadecimal pairs between (e.g., \\) will be
interpreted as one byte whose value is that of the delimiting character, allowing the
assigned delimiter to be interpreted as itself rather than as the delimiter.
A delimited string that contains either a non-valid hexadecimal character (e.g., FX) or
an odd number of bytes will be treated as an illegal string and, therefore, not
correctly decoded.
Character Encoding Examples: In the following partial datastreams it is assumed that
character encoding is enabled and that the selected delimiter, a backslash (\), has been
transmitted to the printer (i.e., <STX>KEY\). In each example, the printer has not
received an unpaired delimiter prior the example.
Partial Sample Data Stream
AB\\CE
\ABCDEF\
1A\1A\1A
Alternate Control Codes with an Alternate Line Terminator: Character Encoding
can also be used with the Alternate Control Character set. Alternate Control Characters
are enabled, depending upon the model, via a Setup Menu or the <STX>KD / <STX>Kc
commands; see Control Code Command Functions.
104
Extended System-Level Command Functions
The sample above disables, and then enables character encoding
with the backslash (\) as the delimiter. A UPS MaxiCode will be
formatted using a data string interpreted as follows: [)>
<CR> then formatting is terminated.
E
O
T
xaa[bbcc...nn]x
- One byte delimiter, 0 to ff
x
- 2 bytes, ASCII, hexadecimal encoded, range each
aa
character – 0-9, A-F
- 2 bytes, ASCII, hexadecimal encoded, range each
bb
character – 0-9, A-F (optional)
- 2 bytes, ASCII, hexadecimal encoded, range each
cc
character – 0-9, A-F (optional)
- 2 bytes, ASCII, hexadecimal encoded, range each byte –
nn
0-9, A-F (optional)
5 bytes AB\CE with values 41
3 bytes with values AB
5 bytes 1A<SUB>1A with values 31
31
, 41
16
16
control character with value 1A
, leading and trailing.
16
Interpretation
16
, CD
16
16
. <SUB> represents a single-byte ASCII
Class Series 2 Programmer's Manual
R
G
01
...
S
S
, 42
, 5C
, 43
, 44
16
16
16
, and EF
16
, 41
, 1A
,
16
16
16
16
16

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents