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

Dynamic Form Commands
57
Example The following example illustrates the Dynamic Form command. In
the example, three variable fields are used: Price, Quantity, and
Total. Following the command sequence, the dynamic data is
sent to fill the variable fields. The special use of the CR command
for dynamic forms is shown in the example with the dynamic data.
^PY^-^F^-
^B^-^M02,02,000Price^T0220^[005^-
^M02,02,002Quantity^T0220^[002^-
^M02,02,002Total^T0220^[006^-^*^*^]
$1.5004$6.00^-
$1.0525$26.25
$8.950^-
^G
^O^-^PN^-
Three sets of dynamic data in the above example are defined as follows:
1. $1.50 Price, 04 Quantity, $6.00 Total, CR to fill with spaces
2. $1.05 Price, 25 Quantity, $26.25 total
3. $8.95 Price, 0 Quantity, CR to fill with spaces
4. End of data (^G)