Datamax-O'Neil DPL Programmer’s Manual User Manual
Page 29

System-Level Command Functions
21
STX k
Test Communication Port
This command instructs the printer to transmit the Y character from the printer’s port
that received this command. (Failure to receive Y could indicate an interfacing problem.)
Syntax:
Printer response:
Y
STX L
Enter Label Formatting Command Mode
This command switches the printer to the Label Formatting Command Mode, where the
printer expects to receive only Record Structures and Label Formatting Commands.
Immediate, System-Level, and Font Loading commands will be ignored until the label
formatting mode is terminated with E, s, or X, (see Label Formatting Commands for
additional information).
Syntax:
STX M
Set Maximum Label Length
This command instructs the printer move media this distance in search of the top-of-
form (label edge, notch, black mark, etc.) before declaring a paper fault. A paper fault
condition can occur if this setting is too close (within 0.1 inch [2.54 mm]) to the physical
length of the label. Therefore, it is a good practice to set this command to 2.5 to 3 times
the actual label length used. The minimum value should be at least 5” (127 mm).
Syntax:
Where:
nnnn
-
Is a four-digit length, 0000-9999, in/100 or mm/10.
Maximum setting is 9999 (99.99 inches or 2540
mm). The default setting is 16 inches/ 406.4 mm.
Sample:
The sample above sets a maximum travel distance of 5 inches
(unless the printer is in metric mode; see
STX m
Set Printer to Metric Mode
This command sets the printer to interpret measurements as metric values (e.g.,
will equal 10.0 mm). The default is Imperial (see
Syntax: