Star Micronics NX-15 user manual Print in one direction, Print in both directions, Esc “U” O

Models: NX-15

1 210
Download 210 pages 57.72 Kb
Page 90
Image 90
Print in one direction

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 direction on~. 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

One time print in one direction (ESC) “(”

Try this program to see the difference that printing in one direction makes.

10 ‘ Demo of uni–direct ional print ing

20LPRINT CHR$(27) ; “l”;

30FOR 1=1 TO 10

40LPRINT “ ! “

50NEXT I

60LPRINT : LPRINT

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

80FOR 1=1 TO 10

90LPRINT “ 1“

100NEXT I

110LPRINT CHR$(12) ;CHR$(27) ; “@”

Page 90
Image 90
Star Micronics NX-15 user manual Print in one direction, Print in both directions, Esc “U” O