Chapter 2
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, AGD (Script Header)
This command followed by nine 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
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
^D200)3,1,0.125,0,3,2,0,0
^F1)1.50,0.75,@normal_10,1,1,0,1,0,12
^F2)1.50,0.50,@normal_10,1,1,0,1,0,12
^F3)1.50,0.25,@normal_10,1,1,0,1,0,12
^T1)Text
^T2)Replacement
^T3)Example
^D300)1
^Z)
^D202 Print Example #1
2-4
(Text Replacement Header)
<-- saves a volatile file called "test"
<-- label header
<-- field #1 definition
<-- field #2 definition
<-- field #3 definition
<-- field #1 data
<-- field #2 data
<-- field #3 data
<-- print "1" copy command when recalled
<-- end script
LDS2 Programming Manual - 880019-0202
Printer Commands
Text
Replacement
Example
Need help?
Do you have a question about the LDS2 and is the answer not in the manual?
Questions and answers