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

222
Chapter 4 Practice Using the Code V
Creating Horizontal Lines
7. Let's put a horizontal line under “IGP.” Use another Justification (J) and
Horizontal Tab (T) sequence to position the line 2.3 inches (
jus
) down
which is 0.3 inches under the name. Tab the line to 1.0 inches (
dis
) from
the left margin which will begin the line just inside the left edge of the box.
Use a Solid Line (LS) command to create a line 3.0 inches long
horizontally (
horz
) and 2 dots wide vertically (
vert
). Add this data to the file
before the sequence terminator. The printed result is shown in Figure 26.
Format: (cc)J
jus
(cc)T
dis
(cc)LS
horz vert
Enter: ^J230^T0100
^LS0300,0002
Figure 26. Practice Alphanumeric Commands, Box, and Line
Creating More Alphanumeric Text
8. Use the Character Height command (H) to specify a new height (
ht
) of 0.2
inches. Use the Character Width command (W) to specify a new width
(
wd
) of 0.3 inches. Use a Justification command (J) to position the word
“INTELLIGENT” (
data
) at 0.1 inches (
jus
) from the starting position and a
Horizontal Tab command (T) to position “INTELLIGENT” 1.1 inches (
dis
)
from the left margin. Similarly, using the Justification and Tab sequence,
the word “GRAPHICS” can be positioned 0.4 inches down, 1.6 inches
from the left margin, and the word “PRINTING” 0.7 inches down, 2.1
inches from the left margin. Notice how it is possible to tab and justify to
any position. Tabs are related to the left margin and can be specified in
any print position left or right of the current print position. Justification is
relative to the starting point of the command sequence and can move
down and back up relative to that point.