
40 LPRINT CHR$(27);"$";CHR$(I);CHR$(O);
50LPRINT "Horizontal tab."
60 NEXT I
70END
In this program, the print head is positioned before the “H” in “Horizontal” is printed.
60 +++++ Horizontal tab.
62 +++++ Horizontal tab.
64 +++++ Horizontal tab.
66 +++++ Horizontal tab.
68 +++++ Horizontal tab.
70 +++++ Horizontal tab.
The relative horizontal tab command can move the print head right from the current position. The formula for calculating how much the print head moves is the same as in the absolute horizontal tab command. However, the units by which the print head actually moves vary with the print pitch you are using, as shown in Table
Table
Units of motion for the relative
horizontal tab commands
|
|
| Unit of motion | |
Print pitch |
| Draft characters | Letter Quality | |
|
| characters | ||
|
|
|
| |
Pica pitch |
| l/120inch |
| l/180inch |
Elitepitch |
| l/l20inch |
| l/180inch |
& | 11240inch |
| 11180inch | |
Condensedpitch |
| |||
|
|
|
Try this program to see how this works.