-

10 ’ Demo of adjusting Spaces

20LPRINT CHH$(27) ;“xl”;

30FOR I=10 TO 1 STEP -2

40LPRINT CHR$(27) ;‘I “;CHR$(i);

50LPRINT “This line is added”; I; “spaces. ”

60NEXT I

70 LPRINT CHR$(27) ;” “;CHR$tO) ;

80 LPRINT “This line is Normal space.

90 END

This line is added 10 SpI¶CeS.

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 a method of justifying lines by increasing the space

between each character.

n Uni-directional printing

Uni-directional printing means printing in one direction only. Your printer normally prints when the printhead is moving in both directions. But once in a while you may have an application 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”

0

One time print in one direction <ESC> “<”

Try this program to see the difference that printing in one

direction makes.

Page 92
Image 92
Star Micronics NR-10, NR-15 user manual Direction makes