Stx Kd Database Configuration (Non-Display Models Only) - Datamax A-4310 Programmer's Manual

Class series
Hide thumbs Also See for A-4310:
Table of Contents

Advertisement

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:
The sample configures the printer as follows:
@ Sets the communications to 9600 baud with an 8-bit word and no parity;
H Selects direct thermal printing, standard control characters, and enables the media cutter;
@ Selects gap sensing;
@ Is the default setting (items saved for future expansion).
Notes: (1) The Ignore Host Distance setting (see below) allows the printer to disregard <STX>O and
<STX>f commands (a feature provided for host system software that sends these commands with
values that may be inappropriate for the printer and result in incorrect start of print and present
distances). Use the <STX>KD command or the Setup Menu to enable this feature. (2) This
command will result in a system reset for the EX2.
Bit
<STX>KD
Parameter
Number
0 – 2
3
w
4 & 5
6
7
0
1
2
3
x
4
5
6
7
0 & 1
2
3 – 5
y
6
7
0 & 1
2
3 – 5
z
6
7
[1]
Selects the values of the control characters; see Control Codes.
90
Extended System-Level Command Functions
(Non-Display Models only)
<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>
Function
BAUD Rate / Set Test Mode
Word Length and Parity
Unused
Always 1
Always 0
Print Method
Present Sensor
[1]
Control Character
Cutter
Ignore Host Distance
[1]
Alt-2 Control Codes
Always 1
Always 0
Paper Type (Media Sensor)
Linerless
Unused
Always 1
Always 0
Reserved
Reserved
Unused
Always 1
Always 0
Table 5-15: Database Configuration Command
Value(s)
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
0 = standard, 1 = alternate characters
0 = disabled, 1 = enabled
0 = disabled, 1 = enabled (See note above)
0 = disabled, 1 = alternate-2 characters
Set to 1
Set to 0
0 = gap (edge), 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 Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents