STX KD
Database Configuration
This command, stored in Flash memory for future power-ups, controls the printer's
environment and operates as a pseudo DIP switch. The <STX>Kc command is
recommended for use over <STX>KD.
Syntax:
Where:
Sample:
•
Ignore Host Distance (see below) disregards <STX>O and <STX>f commands (in case
host software sends values that may be inappropriate). Use the <STX>KD command or
the Setup Menu to enable this feature.
•
This command will result in a system reset for the EX2.
Bit
<STX>KD
Parameter
Number
0 – 2
w
4 & 5
x
0 & 1
3 – 5
y
0 & 1
3 – 5
z
[1]
Selects the values of the control characters; see Control Code Command Functions.
102
Extended System-Level Command Functions
<STX>KDwxyz<CR>
w, x, y, and z are binary values with respective bit settings as
defined in the following table. (Bit 0 is least significant.)
<STX>KD@H@@<CR>
The sample above configures 9600 baud, 8-bit words, no parity,
with direct thermal printing, gap sensing, standard control
characters, and a cutter.
Function
BAUD Rate / Set Test Mode
3
Word Length and Parity
Unused
6
Always 1
7
Always 0
0
Print Method
1
Present Sensor
2
Control Character
3
Cutter
4
Ignore Host Distance
5
Alt-2 Control Codes
6
Always 1
7
Always 0
Sensor Type
2
Linerless
Unused
6
Always 1
7
Always 0
Reserved
2
Reserved
Unused
6
Always 1
7
Always 0
Table 5-15: Database Configuration Command
(Non-Display Models only)
0 = 9600, 1 = 600, 2 = 2400,
3 = 19200, 4 = 4800, 5 = 38400,
6 = 1200, 7 = 9600 Test Mode
0 = 8 bits, no parity;
1 = 7 bits, even parity
Set to 0
Set to 1
Set to 0
0 = direct thermal, 1 = thermal transfer
0 = not equipped, 1 = equipped
[1]
0 = standard, 1 = Alternate characters
0 = disabled, 1 = enabled
0 = disabled,
1 = enabled (see note above)
0 = disabled,
[1]
1 = Alternate-2 characters
Set to 1
Set to 0
0 = gap, 1 = reflective, 2 = continuous
0 = not equipped, 1 = equipped
Set to 0
Set to 1
Set to 0
Set to 0
Set to 0
Set to 0
Set to 1
Set to 0
Class Series 2 Programmer's Manual
Value(s)
Need help?
Do you have a question about the E-Class Mark II and is the answer not in the manual?
Questions and answers