Stx k test rs-232 port, Stx l enter label formatting command mode, Stx m set maximum label length – Datamax-O'Neil Class Series Programmer’s Manual User Manual

Page 36: Stx m set printer to metric mode

Advertising
background image

System-Level Command Functions







Class Series Programmer’s Manual

22

STX k

Test RS-232 Port

This command instructs the printer to transmit the Y character from the printer’s RS-232 port.
(Failure to receive Y could indicate an interfacing problem.)

Syntax:

<STX>k

Printer response:

Y




STX L

Enter Label Formatting Command Mode

This command switches the printer to the Label Formatting Command Mode. Once in this mode, the
printer expects to receive 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>L




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:

<STX>Mnnnn

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:

<STX>M0500

The sample sets a maximum travel distance of 5 inches (unless the printer is in metric mode, see
<STX>m

).




STX m

Set Printer to Metric Mode

This command sets the printer to interpret measurements as metric values (e.g., <STX>c0100 will
equal 10.0 mm). The default is Imperial (see <STX>n).

Syntax:

<STX>m

Advertising