Commands to set the page format, Commands to move the print position – Star Micronics RS232 User Manual

Page 26

Advertising
background image

– 22 –

STAR MODE

Control codes

Hexadecimal

Function

Page

codes

<ESC> “4”

1B 34

Select highlight printing

33

<ESC> “5”

1B 35

Cancel highlight printing

33

<SI>

0F

Inverted printing

33

<DC2>

12

Cancel inverted printing

33

<ESC> “E”

1B 45

Select emphasized printing

34

<ESC> “G”

1B 47

<ESC> “F”

1B 46

Cancel emphasized printing

34

<ESC> “H”

1B 48

Commands to Set the Page Format

Control codes

Hexadecimal

Function

Page

codes

<ESC> “C” n

1B 43 n

Set page length in lines

35

<ESC> “C” <0> n

1B 43 00 n

Set page length in inches

35

<ESC> “N” n

1B 4E n

Set bottom margin

35

<ESC> “O”

1B 4F

Cancel bottom margin

35

<ESC> “l” n

1B 6C n

Set left margin

36

<ESC> “Q” n

1B 51 n

Set right margin

36

Commands to Move the Print Position

Control codes

Hexadecimal

Function

Page

codes

<LF>

0A

Line feed

37

<CR>

0D

Carriage Return

37

<ESC> “a” n

1B 61 n

Feed paper n lines

37

<FF>

0C

Form feed

37

<HT>

09

Horizontal tab

37

<VT>

0B

Vertical tab

38

<ESC> “z” “1”

1B 7A 31

Set line spacing to 4 mm

38

<ESC> “z” <1>

1B 7A 01

<ESC> “0”

1B 30

Set line spacing to 3 mm

38

<ESC> “J” n

1B 4A n

One time n/4 mm feed

38

<ESC> “j” n

1B 6A n

One time n/4 mm backfeed

39

<ESC>“I” n

1B 49 n

One time n/8 mm feed

39

<ESC> “B” n1 n2 ... <0> 1B 42 n1 n2 ... 00

Set vertical tab stops

39

<ESC> “D” n1 n2 ... <0> 1B 44 n1 n2 ... 00

Set horizontal tab stops

40

Advertising