Stx kd set file as factory default, Stx ke character encoding – Datamax-O'Neil Class Series Programmer’s Manual User Manual

Page 105

Advertising
background image

Extended System-Level Command Functions






Class Series Programmer’s Manual

91

STX Kd

Set File as Factory Default

(Display-Equipped Models only)

This command selects the specified file name as the “factory default” for the printer’s configuration.
After execution, subsequent “Select Factory Default” commands will configure the printer to the
file’s configuration. Currently there are three ways to “Select Factory Defaults”: 1) by the <STX>KF
command; 2) power-up the printer while pressing the PAUSE and CANCEL Keys; or, 3) via the
printer’s menu system entry System Settings / Set Factory Defaults.

Note: Powering ‘On’ the printer while pressing the PAUSE, FEED and CANCEL Keys will reset the

configuration to the factory defaults.


Syntax:

<STX>KdName<CR>

Where:

Name

- The name, up to 16 characters, of the configuration file.

<CR>

- 0x0d terminates the name.

Sample:

<STX>KdPlant1

This command selects the configuration file “Plant1” as the default factory configuration.







STX KE

Character Encoding

This command is provided primarily as a means for users of 7-bit communication and to embed
control characters and extended ASCII characters in their data streams. Any character in the DPL data
stream may be substituted with a delimited two-character ASCII hexadecimal numeric equivalent.
The command allows the delimiting character to be selected, and the encoding to be enabled or
disabled. When character encoding is enabled, the printer will decode any ASCII hexadecimal
numeric pairs following the delimiter as single-byte values. Character encoding is used where control
characters cannot be transmitted or where control characters within data may prematurely terminate a
label format record. Although the delimiter may be changed at any time (except within a label format
definition), there cannot be more than one defined delimiter, and character encoding must be disabled
with <STX>KEN prior to re-enabling, regardless of any change in the delimiter.

Syntax:

<STX>KEex<CR>

Where:

e

- Y – character encoding enabled

N

– character encoding disabled

x

- Delimiter: one ASCII character (Do not include when e = N)

Advertising