8-1-2. Print Position Control

Control Codes

Hexadecimal Codes

Function

ENGLISH

<LF>

 

 

0A

 

Line feed

 

 

 

 

 

<VT>

 

 

0B

 

Vertical tab

 

 

 

 

 

 

 

 

<FF>

 

 

0C

 

Form feed

 

 

 

 

 

 

 

 

<CR>

 

 

0D

 

Carriage Return

 

 

 

 

 

 

 

 

<ESC> “a”

n

 

1B

61 n

Feeds paper n lines

 

 

 

 

 

 

 

 

 

<HT>

 

 

09

 

 

Horizontal tab

 

 

 

 

 

 

 

 

<ESC> “A”

n

 

1B

41 n

Defines n/72-inch line spacing

 

 

 

 

 

 

 

 

<ESC> “2”

 

 

1B

32

Sets n/72-inch line spacing

 

 

 

 

 

<ESC> “z” “0”

1B 7A 30

Sets line spacing to 1/12-inch

 

<ESC> “z” <0>

 

1B

7A 00

 

 

 

 

 

 

 

 

<ESC> “z” “1”

1B 7A 31

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

 

<ESC> “z” <1>

 

1B

7A 01

 

 

 

 

 

 

 

 

 

 

 

<ESC> “0”

 

 

1B

30

Sets line spacing to 1/8-inch

 

 

 

 

 

 

 

 

<ESC> “1”

 

 

1B

31

Sets line spacing to 7/72-inch

 

 

 

 

 

 

 

 

<ESC> “J”

n

 

1B

4A n

One time n/72-inch feed

 

 

 

 

 

 

 

 

<ESC> “3”

n

 

1B

33 n

Sets line spacing to n/216-inch approximately

 

 

 

 

 

 

 

 

<ESC> “y”

 

 

1B

79 n

Sets line spacing to n/144-inch

 

 

 

 

 

 

<ESC> “D”

n1 n2 ... <0>

1B 44 n1 n2 ... 00

Sets horizontal tab stops

 

 

 

 

 

 

 

 

<ESC> “l”

n

 

1B

6C n

Sets left margin

 

 

 

 

 

 

 

 

<ESC> “Q”

n

 

1B

51 n

Sets right margin

 

 

 

 

 

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

1B 1D 61 30

Left justification (Default)

 

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

 

1B

1D 61 00

 

 

 

 

 

 

 

 

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

1B 1D 61 31

Centering

 

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

 

1B

1D 61 01

 

 

 

 

 

 

 

 

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

1B 1D 61 32

Right justification

 

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

 

1B

1D 61 02

 

 

 

 

 

 

 

 

 

<ESC> “B”

n1 n2 ... <0>

1B 42 n1 n2 ... 00

Set vertical tab stops

– 29 –

Page 32
Image 32
Star Micronics SP2000 user manual Print Position Control, Control Codes Hexadecimal Codes