Star Micronics NB24-10/15 Printer User Manual


 
93
CPS with the LQ characters. The main advantage to half-speed
printing is a quieter run.
n Uni-directional printing
Uni-directional printing means printing in one direction only.
Your printer normally prints when the print head is moving in
both directions. But once in a while you may have an application
such as making table where you are more concerned with how
the vertical lines align than with how fast it prints. The printer
lets you make this choice. The table below shows the commands
for controlling how the printer prints.
Table 6-3
Printing direction commands
Function
Control code
Print in one direction
(ESC) “U” 1
Print in both directions (ESC) “U” 0
One time print in one direction (ESC) I‘(”
Try this program to see the difference that printing in one
direction makes.
10
Demo of uni-directional printing
20 LPRINT CHR$(27);"A";CHR$(6);
30 FOR I=1 TO 10
40 LPRINT "I"
50 NEXT I
60 LPRINT :LPRINT
70 LPRINT CHR$(27);"Ul";
80 FOR I=1 TO 10
90 LPRINT ":"
100 NEXT I
110 LPRINT CHR$(l2);CHR$(27);"g"
Here is what you will get. The top line is printed bi-directional-
ly, and the bottom is printed uni-directionally. You will have to
look hard because there isn’t much difference, but the bottom
vertical lines are perfectly aligned.