5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual

Duplication, Vertical
51
The terminator used in the Vertical Duplication command
determines when each inner auto increment field of a nested
repeat sequence is updated (incremented/decremented). If the
(cc)Z(cc)- Vertical Duplication command terminator is used, each
inner field is updated at the end of the repeat pass.
For example, four fields within a repeat pass would all be updated
together at the end of each repeat pass. If, however, the
(cc)ZO(cc)- Vertical Duplication command terminator is used in
the same example, each of the four inner fields is updated
sequentially within the overall repeat pass.
Example 1 The following example illustrates the Vertical Duplication
command with Auto Increment/Decrement of numeric fields
updated at the end of the repeat. 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 page 83 and
page 85.
^PY^-^F^-
^R0002^-^M02,02,000Invoice
^J010^LS0106,0004^J000 #^Y5010+5^G^-
^R0004^-^M01,01,010Part #^Y130+2^G^-^*^Z^-
^O^-^PN^-