Star Micronics NX-15 Printer User Manual


 
Th i S
line is
added 10 spaces.
This line is
added 8 spaces.
This line is added 6 spaces.
This line is added 4 spaces.
This line is added 2 spaces.
This line is Normal space.
This command can be used to produce micro-justification,
which is amethod ofjustifying linesby increasing the space be-
tween each character.
Uni-directional printing
Uni-directional printing means printing inone directionon~.
Your printer normally prints when the print head is movingin
bothdirections. Butoncein awhile youmayhaveanapplication
such as making tables 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-2
Printing direction commands
Function
Control code
Print in one direction
(ESC) “U” 1
Print in both directions
(ESC) “U” O
Onetime print in onedirection
(ESC) “(”
Try this program to see the difference that printing in one
direction makes.
10 Demo of uni–direct ional print ing
20 LPRINT CHR$(27) ; “l”;
30 FOR 1=1 TO 10
40 LPRINT !
50 NEXT I
60 LPRINT : LPRINT
70 LPRINT CHR$(27) ; “U1” ;
80 FOR 1=1 TO 10
90 LPRINT 1“
100 NEXT I
110 LPRINT CHR$(12) ;CHR$(27) ; “@”