23 function, Code, Outline – Star Micronics DOT MATRIX PRINTER SP2000 User Manual

Page 25

Advertising
background image

23

FUNCTION

Aligns position

CODE

<ESC> <GS> "a"

n

(1B)H (1D)H (61)H

n

Sets the alignment of the positions.

OUTLINE

Aligns all print data of one line to the specified position.

n =

(00)H, "0":

Left edge alignment (default)

(01)H, "1":

Center alignment

(02)H, "2":

Right edge alignment

ABC
ABCD
ABCDE

ABC

ABCD

ABCDE

ABC

ABCD

ABCDE

<ESC> <GS> “a” “0”

<ESC> <GS> “a” “1”

<ESC> <GS> “a” “2”

Note:

• Effective only when input at the beginning of the line.

• Align positions within the printable range that has been set.

• Skipped areas by the horizontal tab are also targeted for

position alignment.

Advertising