Datamax E4203 All in One Printer User Manual


 
Extended System Commands
34 E-Class DPL Programmer’s Manual
<STX>KD
Parameter
Bit
Number
Parameter
Function
Parameter
Value(s)
0 – 2 BAUD Rate / Set Test Mode 0 = 9600, 1 = 600, 2 = 2400, 3 = 19200, 4 =
4800, 5 = 38400, 6 = 1200, 7 = 9600 Test Mode
3 Word Length and Parity 0 = 8 bits, no parity; 1 = 7 bits, even parity
4&5 Unused Setto0
6Always1 Setto1
w
7Always0 Setto0
0 Print Method 0 = direct thermal, 1 = thermal transfer
1 Present Sensor 0 = not equipped, 1 = equipped
2 Control Character
[1]
0 = standard, 1 = alternate characters
3 Cutter 0 = disabled, 1 = enabled
4 Ignore Host Distance 0 = disabled, 1 = enabled (See note above)
5 Alt-2 Control Codes
[1]
0 = disabled, 1 = alternate-2 characters
6Always1 Setto1
x
7Always0 Setto0
0 & 1 Paper Type (Media Sensor) 0 = gap (edge), 1 = reflective, 2 = continuous
2 Linerless 0 = not equipped, 1 = equipped
3–5 Unused Setto0
6Always1 Setto1
y
7Always0 Setto0
0 & 1 Reserved Set to 0
2 Reserved Set to 0
3–5 Unused Setto0
6Always1 Setto1
z
7Always0 Setto0
1
Selects the values of the control characters; see Control Codes.
Table 5-3: <STX>KD Configuration Commands
STX KE Character Encoding
This command is provided primarily as a means for users of 7-bit communication and to embed
control characters and extended ASCII characters in their datastreams. Any character in the DPL
datastream may be substituted with a delimited two-character ASCII hexadecimal numeric
equivalent. The command allows the delimiting character to be selected, and the encoding to be
enabled or disabled. When character encoding is enabled, the printer will decode any ASCII
hexadecimal numeric pairs following the delimiter as single-byte values. Character encoding is used
where control characters cannot be transmitted or where control characters within data may
prematurely terminate a label format record. Although the delimiter may be changed at any time
(except within a label format definition), there cannot be more than one defined delimiter, and
character encoding must be disabled with <STX>KEN prior to re-enabling, regardless of any change
in the delimiter.
Syntax:
<STX>KEex
Where:
e
- Y – character encoding enabled
N – character encoding disabled
x
- Delimiter: one ASCII character (Do not include when e = N)