Example 2 The following example illustrates the same Vertical Duplication
command but uses the different terminator for Auto Increment/
Decrement of numeric fields updated sequentially within the
repeat pass. (The ^* on the fourth line causes a line feed on
which the second set of Invoice data is printed. Refer to the Free
Format commands discussed on pages 99 and 102.)
^PY^-^F^-
^R0002^-^M02,02,000Invoice
^J010^LS0100,0004^J000 #^Y5010+5^G^-
^R0004^-^M01,01,010Part #^Y130+2^G^-^*^ZO^-
^O^-^PN^-
(cc)Y can be used in conjunction with IREPV and IREPH to
achieve auto increment/decrement on both vertical duplication
and horizontal duplication for the data, including numeric,
alphabetical and bar code data. (cc)Y can also work with (cc)R
vertical duplication command (page 57), but NOT with (cc)S
horizontal duplication command (page 54). If the data is non-
alphanumeric (except for space characters) and you are using
the (cc)Y command with the (cc)R Vertical Duplication command,
an error occurs. If the data exceeds 12 digits in length, an error
also occurs.
Duplication, Vertical
61