Star Micronics SP2000 manual Print Position Control

Page 5

1-1-2. Print Position Control

Control

Hexadecimal

Function

Page

Codes

Codes

 

 

 

 

 

 

 

<LF>

0A

 

Line feed

17

 

 

 

 

 

<VT>

0B

 

Vertical tab

17

<FF>

0C

 

Form feed

17

<CR>

0D

 

Carriage Return

18

 

 

 

 

 

<ESC> "a" n

1B

61 n

Feeds paper n lines

18

 

 

 

 

 

<HT>

09

 

Horizontal tab

18

 

 

 

 

 

<ESC> "A" n

1B

41 n

Defines n/72-inch line spacing

19

<ESC> "2"

1B

32

Sets n/72-inch line spacing

19

 

 

 

 

 

<ESC> "z" "0"

1B

7A 30

Sets line spacing to 1/12-inch

19

<ESC> "z" <0>

1B

7A 00

 

 

 

 

 

 

 

<ESC> "z" "1"

1B

7A 31

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

19

<ESC> "z" <1>

1B

7A 01

 

 

<ESC> "0"

1B

30

Sets line spacing to 1/8-inch

19

 

 

 

 

 

<ESC> "1"

1B

31

Sets line spacing to 7/72-inch

20

 

 

 

 

 

<ESC> "J" n

1B

4A n

One time n/72-inch feed

20

 

 

 

 

 

<ESC> "3" n

1B

33 n

Sets line spacing to n/216-inch

20

 

 

 

approximately

 

 

 

 

 

 

 

 

 

<ESC> "y"

1B

79 n

Sets line spacing to n/144-inch

20

<ESC> "D" n1 n2 ... <0>

1B

44 n1 n2 ... 00

Sets horizontal tab stops

21

<ESC> "l" n

1B

6C n

Sets left margin

21

 

 

 

 

 

<ESC> "Q" n

1B

51 n

Sets right margin

22

 

 

 

 

 

<ESC> <GS> "a" "0"

1B

1D 61 30

Left justification (Default)

23

<ESC> <GS> "a" <0>

1B

1D 61 00

 

 

<ESC> <GS> "a" "1"

1B

1D 61 31

Centering

23

<ESC> <GS> "a" <1>

1B

1D 61 01

 

 

 

 

 

 

 

<ESC> <GS> "a" "2"

1B

1D 61 32

Right justification

23

<ESC> <GS> "a" <2>

1B

1D 61 02

 

 

 

 

 

 

 

<ESC> "B" n1 n2 ... <0>

1B

42 n1 n2 ... 00

Set vertical tab stops

24

 

 

 

 

 

3

Image 5
Contents Dot Matrix Printer SP2000 Series Programmer’s Manual Table of Contents Control Hexadecimal Function Codes Control Codes Star ModeESC W Print Position Control Dot Graphics Control Auto Cutter Control SP2500 type printers only Other Commands Control Code Details Function Value of n Character Table Hex Dec DSW 1 Digits Per Line Function Code Function Function Value Rotation Specification Function Ptint Position Control MSW FF Command Function SP2520/2560CR Code Function Code Function Function Function ABC Code Example Print Sample M2 m4 m6 m8 m10 M1 m3 m5 m7 m9 m11 MSB LSB Char. Code = 21H Char. Code = 22H Char. Code = 23H Example of transmitting data 10 x n1 ms 10 x n2 ms SUB Auto Cutter Control SP2500 type printers only Function Command to Set the Page Format Cancels printer buffer & Initialize printer Code HEX Outline Paper near end sensor N4 CountryCountry Paper near end sensor Comdex dual auto-cutterValue of n Character Table CR code Parameter Setting CR code See belowPara Setting Treatment of missing data during reverse mode EOT ENQ ETB Value of n Hex Control Hexadecimal Function Codes U200 U300 ESC/POS Mode CommandsESC R Ignored Commands Auto Status Specifications Header 1 First Byte Bit Content Status Header 2 Second Byte Bit Content Status Printer Status Printer Status 5 Sensor Information Seventh Byte Method to Identify States Control Code Reception Data Appendix Character Code Tables Star Mode Character table IBM Character set #2 Code Character table Katakana Character table IBM Character set #1 Star Mode Star Mode Code Page #855 Cyrillic Bulgarian Star Mode Code Page #772 Lithuanian Code Page #774 Lithuanian Code Page #874 Thai Star Mode Star Mode Star Mode Star Mode Star Mode ESC/POS Mode ESC/POS Mode 1 Katakana 2 PC858 Multilingual 3 PC860 Portuguese 4 PC863 Canadian-French 5 PC865 Nordic ESC/POS Mode
Related manuals
Manual 170 pages 46.11 Kb