5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
234
Chapter 4 Form Example
Enter the Interior Box with Horizontal and Vertical Lines
14. Now we can add the interior form (the box with vertical lines) for the item,
description, and price data. The Code V Form command constructs a box
complete with vertical lines at specified positions.
A Standard Alphanumeric command (M) sequence must be entered to
introduce the extended graphics commands that are used. Use a
Horizontal Tab command (T) to move the print position 1.5 inches (
dis
)
from the left margin and specify dark print with the Dark Print command
(KF). In the same sequence, use the Form command (LF) to specify a
5.2-inch horizontal width (
horz
) and 2.9-inch vertical height (
vert
) of the
box, both horizontal (
h
) and vertical (
v
) edges 2 dot line thickness.
In the same form command, specify one vertical line 0.8” (
Line1
) from the
edge of the form with a 1 dot line thickness (
T
) and another vertical line
3.6” (
Line2
) from the previous line also with a 1-dot line thickness (
T
).
Format: (cc)M (cc) T
dis
(cc)KF
(cc)LF
horz vert h v line1
T
line2
T
Enter: ^M^T0150^KF
^LF0520,0290,2,2,0080,1,0360,1
15. The horizontal lines can be added to the interior box. Again, an Interrupt
command (I) is used to process and print the data 0.4 inches (
dis
) lower
than the top border of the interior box. The Standard Alphanumeric
command (M) is used to introduce the other commands in the sequence.
Use the Dark Print command (KF) to specify dark print and use the
Horizontal Tab command (T) to tab 1.5 inches from the left margin for the
horizontal print position. The solid horizontal lines are generated using the
Solid Line (LS) command. Specify a 5.2 inch horizontal (
horz
) length and
a 0.0 and 1 dot vertical length (
vert
), used as the line thickness in this
case.
Format: (cc)I
dis
(cc)-
(cc)M (cc)KF (cc)T
dis
(cc)LS
horz vert
Enter: ^I040^-
^M^KF^T0150^LS0520,0001
16. To print five more horizontal lines identical to the one created in the
previous step and evenly spaced 0.4 inches apart, the same command
used in the previous step can be repeated five times. An Interrupt
command (I) followed by a Graphics Mode carriage return is used to
move the print position 0.8 inches (
dis
) lower.
Enter: ^I040^-
^M^KF^T0150^LS0520,0001
^I040^-
^M^KF^T0150^LS0520,0001
^I040^-
^M^KF^T0150^LS0520,0001
^I040^-
^M^KF^T0150^LS0520,0001
^I040^-
^M^KF^T0150^LS0520,0001
^I080^-