Sstore label format in module, Tset field data line terminator – Datamax-O'Neil Class Series Programmer’s Manual User Manual

Page 134

Advertising
background image

Label Formatting Command Functions






Class Series Programmer’s Manual

120

s

Store Label Format in Module

This command stores a label format to a specified module as a .dlb file. Supplying the module name
will store the label to that module; otherwise, using C will cause the label format to be stored in the
selected default module (see <STX>X). In addition, this command terminates the Label Formatting
Command.

Syntax:

sann…n

Where:

a

- Is the module designator representing a single character

module name; see Appendix K.

nn…n

- Represents the name of the label (maximum 16 characters).

Sample:

<STX>L<CR>
D11<CR>
191100501000000123456789012<CR>
1911005020000001234567<CR>
191100500000000Sample<CR>
1X1100000000000B250250002002<CR>
Q0001<CR>
sATEST<CR>

The example stores a format in memory module A and names it ‘TEST’. (To recall a label format
from the module use the ‘r’ command.)


T

Set Field Data Line Terminator

This command, intended for use with record types that accept binary data (e.g., PDF417), allows
special binary control codes (e.g., a carriage return) to be embedded in the printed data by setting an
alternate data line terminator. It remains valid only for the next format record, then the terminator
defaults back to the carriage return.

Syntax:

Tnn

Where:

nn

- Is an ASCII two-character representation of a HEX code to be

used for the end of data terminator.

Sample:

<STX>L<CR>
T00<CR>
191100200000000TEST<NULL>
141100001000100TERMIATOR<CR>
Q0001<CR>
E<CR>

The sample sets the printer to use a NULL terminator (ASCII NULL: HEX 00) for the data line
termination code. The terminator is immediately restored to a carriage return <CR>, as seen in the
format record containing the text ‘TERMINATOR’.

Advertising