beautypg.com

1-2. print position control – Star Micronics DOT MATRIX PRINTER SP2000 User Manual

Page 5

background image

3

1-1-2. Print Position Control

Control

Hexadecimal

Function

Page

Codes

Codes

0A

Line feed

17

0B

Vertical tab

17

0C

Form feed

17

0D

Carriage Return

18

"a"

n

1B 61

n

Feeds paper

n lines

18

09

Horizontal tab

18

"A"

n

1B 41

n

Defines

n/72-inch line spacing

19

"2"

1B 32

Sets

n/72-inch line spacing

19

"z" "0"

1B 7A 30

Sets line spacing to 1/12-inch

19

"z" <0>

1B 7A 00

"z" "1"

1B 7A 31

Sets line spacing to 1/6-inch (Default)

19

"z" <1>

1B 7A 01

"0"

1B 30

Sets line spacing to 1/8-inch

19

"1"

1B 31

Sets line spacing to 7/72-inch

20

"J"

n

1B 4A

n

One time

n/72-inch feed

20

"3"

n

1B 33

n

Sets line spacing to

n/216-inch

20

approximately

"y"

1B 79

n

Sets line spacing to

n/144-inch

20

"D"

n1 n2 ... <0>

1B 44

n1 n2 ... 00

Sets horizontal tab stops

21

"l"

n

1B 6C

n

Sets left margin

21

"Q"

n

1B 51

n

Sets right margin

22

"a" "0"

1B 1D 61 30

Left justification (Default)

23

"a" <0>

1B 1D 61 00

"a" "1"

1B 1D 61 31

Centering

23

"a" <1>

1B 1D 61 01

"a" "2"

1B 1D 61 32

Right justification

23

"a" <2>

1B 1D 61 02

"B"

n1 n2 ... <0>

1B 42

n1 n2 ... 00

Set vertical tab stops

24