Horizontal Repeat, Version 2
89
Repeating Data
The printed image defined by a sequence of Code V commands and data
may be repeated horizontally and vertically through the use of Code V Repeat
commands. This technique is often used to replicate labels, allowing the user
to print numerous labels from a single command sequence. Using a Code V
Repeat command typically results in faster printing since the printer only
needs to process the image to be printed once, then simply duplicates the
image across the page.
There are two Repeat Command versions. All of the features of the Version 1
Repeat commands are included in the Version 2 commands. For this reason,
it is recommended that the more powerful Version 2 commands be used
whenever possible. The Version 1 Repeat commands are discussed on
page 98.
Repeating Data, Version 2
Horizontal Repeat, Version 2
Horizontal repetition can be accomplished by bracketing the commands and
data to be repeated with the commands shown below.
NOTE: Non-graphics data (i.e., any data outside a Graphics Pass) will not be
repeated. The Version 2 Horizontal Repeat command syntax is:
Command ^IREPH,n,hhd^G <data>^IREPE
Arguments
^IREPH, Turns ON the Horizontal Repeat Mode.
n, The number of times the data is to be repeated (1
to 9999).
hh Horizontal distance in increments of 0.1 inches to
move the print postion relative to the start of the
previously printed <data> (0 to 99).
d Number of addtitional dot columns to mvoe the print
position (0 to 9).
^G Command Terminator
<data> This represents a sequence of Code V commands
and data.
^IREPE Repeat Terminator, turns OFF the Horizontal
Repeat Mode.