Microcom LDSII User Manual

Page 36

Advertising
background image

Printer Commands

Chapter 2

20

LDSII Programming Guide - 880015-0123

2.1.1

Begin Script - ^A)filename

This command is used to mark the beginning of a script file. The script may be saved into
the printer’s non-volatile flash memory if a title or filename is placed after the command.
The filename may contain to a maximum of 20 characters in length and include any
character from ASCII 0x20 and 0x41 to 0x7A (alphabetical characters plus [\

]_’and SP

(space character)) with the exception of the caret (^) character. Script filenames can not
use a leading zero (“0”) or 0x30 characters. A script that contains a “filename” will only save
the script and will not process and print. The “^D350)filename” would be issued to recall
and proces

s the saved script. If the script does not contain a “filename”, the script is

processed normally and will be volatile in nature.


2.1.2

Begin Temporary Script - ^AT)filename

This command is used to mark the beginning of a temporary or transient script file. The
script may be saved into the printer’s volatile RAM if a title or filename is placed after the
^AT) command. The filename may contain to a maximum of 20 characters in length and
include any character from ASCII 0x20 and 0x41 to 0x7A (alphabetical characters plus
[\

]_’and SP (space character)) with the exception of the caret (^) character. Script filenames

can not use a leading zero (“0”) or 0x30 characters. Scripts saved in RAM report “*volatile*”
in the comments column to distinguish between volatile and non-volatile scripts. A script
that contains a “filename” will only save the script and will not process and print. The
“^D350)filename” would be issued to recall and process the saved script. If the script does
not contain a “filename”, the script is processed normally and will be volatile in nature.
Temporary scripts are not saved and are lost once a reset or power cycle occurs.


2.1.3

Format Entry Command -

^Fn)XB,YB,CI,SW,SH,AI,DN,FO,FJ,FW,CS,FC,CC

The Format Entry command is used to define the characteristics, placement and
representation of the corresponding text data of the individual fields. This command starts
with the “^Fn)” structure which is then followed by thirteen different parameters that define
an

d control the desired field. The “n” is an identifier that represents the field number being

formatted and corresponds to the equivalent “^Tn)” line. As with the ^Dxxx commands,
multiple parameters must be separated by the comma (“,”) delimiter. The format entry
command may be issued from outside a script but is typically created within a script file.
Unlike the “^Dxx)” commands and the script header, the Format Entry Command typically
does contain default values as there are no equivalent commands for the individual
parameters. The default values are discussed under the individual parameter descriptions.
Refer to section 1.5 for the individual parameters detailed descriptions.


2.1.4

Text Entry Command - ^Tn)text data

The Text Entry command is used to define the actual data to be rendered using the output
identified by the CI parameter. This command starts with the

“^Tn)” structure and then is

followed by the subject text or data. The “n” is an identifier that represents the subject text
lines and will use the formatting that has been placed in the corresponding “n” of the format
entry command

(“Fn)”).


For features like graphics and/or line draw, this command is simply a placeholder for the
equivalent “^Fn)” command, so any text may be entered. When printing graphics, text
containing the graphic name or simply the word graphic should be entered and can be

Advertising
This manual is related to the following products: