Extended System Commands
Sample:<STX>KEN <STX>KEY\ <STX>L<CR> 1u0000001200120[)>\1E\01\1D\...\04\<CR> E<CR>
The sample disables, then enables character encoding with the backslash (\) as the delimiter. A UPS Maxicode will be formatted using a data string interpreted as: [)>RS01GS... EOT<CR>; then formatting is terminated.
Character Encoding Syntax: This syntax requires at least two hexadecimal ASCII digits
Syntax:xaa[bbcc…nn]x
Where: | x | - One byte delimiter, 0 to ff16, leading and trailing. | |
| aa | - 2 | bytes, ASCII, hexadecimal encoded, range each character - |
|
| ||
| bb | - 2 | bytes, ASCII, hexadecimal encoded, range each character - |
|
| ||
| cc | - 2 | bytes, ASCII, hexadecimal encoded, range each character - |
|
| ||
| nn | - 2 | bytes, ASCII, hexadecimal encoded, range each byte - |
|
|
Notes: (1) 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.
(2)A delimited string that contains either a
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 DPL | Interpretation | |
Sample Datastream | ||
| ||
AB\\CE | 5 bytes AB\CE with values 4116, 4216, 5C16, 4316, 4416 | |
\ABCDEF\ | 3 bytes with values AB16, CD16, and EF16 | |
1A\1A\1A | 5 bytes 1A<SUB>1A with values 3116, 4116, 1A16, 3116, 4116. | |
| <SUB> represents a |
Alternate Control Codes with Alternate Line Terminator: Character Encoding can also be used with the Alternate Control Character set. Alternate Control Characters are enabled via a Setup Menu or the <STX>KD / <STX>Kc commands. See Control Codes.
35 |