Extended System-Level Command Functions
102
Class Series 2 Programmer’s Manual
STX KD
Database Configuration
(Non-Display Models only)
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:
<STX>KDwxyz<CR>
Where:
w
,
x
,
y
,
and
z
are binary values with respective bit settings as
defined in the following table. (Bit 0 is least significant.)
Sample:
<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.
•
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.
<STX>KD
Parameter
Bit
Number
Function
Value(s)
w
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
Set to 0
6
Always 1
Set to 1
7
Always 0
Set to 0
x
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
6
Always 1
Set to 1
7
Always 0
Set to 0
y
0 & 1
Sensor Type
0 = gap, 1 = reflective, 2 = continuous
2
Linerless
0 = not equipped, 1 = equipped
3 – 5
Unused
Set to 0
6
Always 1
Set to 1
7
Always 0
Set to 0
z
0 & 1
Reserved
Set to 0
2
Reserved
Set to 0
3 – 5
Unused
Set to 0
6
Always 1
Set to 1
7
Always 0
Set to 0
[1]
Selects the values of the control characters; see Control Code Command Functions.
Table 5-15: Database Configuration Command
Содержание A-Class
Страница 2: ......
Страница 3: ......
Страница 5: ......
Страница 6: ......
Страница 22: ...Overview 8 Class Series 2 Programmer s Manual ...
Страница 30: ...Immediate Command Functions 16 Class Series 2 Programmer s Manual ...
Страница 138: ...Extended System Level Command Functions 124 Class Series 2 Programmer s Manual ...
Страница 160: ...Label Formatting Command Functions 146 Class Series 2 Programmer s Manual ...
Страница 180: ...Generating Label Formats 166 Class Series 2 Programmer s Manual ...
Страница 192: ...Appendix B Sample Programs 178 Class Series 2 Programmer s Manual ...
Страница 200: ...Appendix D Reset Codes 186 Class Series 2 Programmer s Manual ...
Страница 212: ...Appendix E Single Byte Symbol Sets 198 Class Series 2 Programmer s Manual ...
Страница 264: ...Appendix G Bar Code Details 250 Class Series 2 Programmer s Manual ...
Страница 284: ...Appendix J General Purpose Input Output Port Applications 270 Class Series 2 Programmer s Manual ...
Страница 296: ...Appendix O UPC A and EAN 13 Variable Price Weight Bar Codes 282 Class Series 2 Programmer s Manual ...
Страница 308: ...Appendix Q Plug and Play IDs 294 Class Series 2 Programmer s Manual ...
Страница 312: ...Appendix R Line Mode 298 Class Series 2 Programmer s Manual ...
Страница 324: ...Appendix T WiFi Region Country Codes 310 Class Series 2 Programmer s Manual ...
Страница 328: ...Appendix U Display Icon Key and Control Panel Button Sequence Functions 314 Class Series 2 Programmer s Manual ...
Страница 334: ......