beautypg.com

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

Page 101

background image

Extended System-Level Command Functions

93

STX Kd

Set File as Factory Default

This command selects the specified file name as the “factory default” configuration. After

execution, subsequent “Select Factory Default” commands will configure the printer to
this file’s configuration using one of the following methods:

KF

command;

Power-up the printer while pressing the PAUSE and CANCEL Keys; or,

Via the menu SYSTEM SETTINGS / SET FACTORY DEFAULTS entry.

Syntax:

KdName

Where:

Name

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

- 0x0d terminates the name.

Sample:

KdPlant1

The sample above 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 KEN prior to re-enabling
regardless of any change in the delimiter.

Syntax:

KEex

Where:

e

- Y

character encoding enabled

N

character encoding disabled

x

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

Sample:

KEN
KEY\
L
1u0000001200120[)>\1E\01\1D\...\04\
E

This manual is related to the following products: