beautypg.com

2 2xx series commands – Microcom LDSII User Manual

Page 37

background image

Chapter 2

Printer Commands

LDSII Programming Guide - 880015-0123

21

helpful for debugging purposes. The same would be true when using the line draw feature
by entering the word “line” in the “^Tn)”, this also assists in debugging easier.

Note: To print either the caret

(“^”) or the pipe (“|”) characters simply enter them twice

(example -

“^^”).


2.2

2xx Series Commands

The 2xx series commands control the formatting commands. Commands will return the
current status and/or setting if the ^Dxx command is entered without an argument. Entering
a question mark (“?”) after the ^Dxx command causes the printer to report the commands
current setting as well as the verbose description and help text associated with that
particular command.


2.2.1

^D200) LSX, LSY, GAP, DRM, SPD, DET, OFX, OFY (Script Header)

This command is followed by eight parameters that control the media layout as well as
printer operation. The beginning parameter (LSX) must be separated from the ^D command
with a “)” character and each following parameter must be separated by the delimiter, which
is the comma (“,”) by default. It is recommended that since the header is used to identify a
certain media configuration that all header parameters are included in a script file. Refer to
section 1.4 for additional information.


2.2.2

^D202)n

(Text Replacement Header)

This command may be used in place of the script header

(“^D200)”) after a script containing

^Fn) formatting instructions has been processed.

Parameter “n” is used to specify a script

that has been saved into the printer memory that will be used as the current script. The
“^D202)” command causes new text data to replace the corresponding text from the
previously processed script sent to the printer

or by entering value for “n” a script saved in

memory. This provides a streamlined method for entering new data into an existing script
without having to send the header and formatting instructions again, thus improving
throughput. The data that needs to be replaced is sent after the

“^D202)” command using

the corresponding ^Tn) command in the current script. To erase or clear a format line, you
would send the desired ^Tn) line and omit new data. To conserve text data from the
previous script, do not reference the line after the

“^D202)” command.


For Example:

^AT)test

<-- saves a volatile file called "test"

^D200)3,1,0.125,0,3,2,0,0

<-- label header

^F1)1.50,0.75,@normal_10,1,1,0,1,0,12

<-- field #1 definition

^F2)1.50,0.50,@normal_10,1,1,0,1,0,12

<-- field #2 definition

^F3)1.50,0.25,@normal_10,1,1,0,1,0,12

<-- field #3 definition

^T1)Text

<-- field #1 data

^T2)Replacement

<-- field #2 data

^T3)Example

<-- field #3 data

^D300)1

<--

print “1” copy command when recalled

^Z)

<-- end script



This manual is related to the following products: