Star Micronics NP-225, NP-415W, NP-215, NP-325 specifications Control commands Control command table

Page 22

5. Control commands

5.1 Control command table

 

Control codes

Functions

Pages

1

HT

Horizontal tab

20

2

CR

Carriage return

20

3

LF

Print and line feed

20

4

FF

Page feed

20

5

ESC C n

Page length set for n lines

20

6

ESC SP n

Character right space set

20

7

ESC ! n

Print mode overall set

21

8

ESC % n

Down load character set/reset

21

9

ESC & s n m a Dn

Down load character definition

21

*10

ESC * m n1 n2 Dn

Bit image mode set

24

11

ESC – n

Underline set/rest

26

12

ESC 2

1/6 inches line feed set

26

13

ESC 3 n

Smallest line feed pitch set

26

14

ESC @

Initialize printer

26

15

ESC D n1 n2 --- NUL

Set horizontal tab position

26

16

ESC E n

Bold print set/reset

27

17

ESC G n

Double strike print set/reset

27

18

ESC J n

Print and smallest pitch line feed

27

19

ESC R n

Select international character

27

20

ESC c 5 n

Feed switch enable/disable

28

21

ESC d n

Print and n line feed

28

22

ESC t n

Select character code table

28

23

ESC v

Send printer status

28

24

ESC { n

Inverted character set/reset

29

25

ESC V n

Character 90° clockwise rotation set/reset

29

*26

ESC $ n1 n2

Absolute position set

29

27

ESC \ n1 n2

Relative position set

29

28

GS k n Dn NUL

Barcode print

30

29

GS w n

Barcode width select

30

30

GS h n

Barcode height select

30

31

GS H n

HRI character print position select

30

32

GS f n

HRI character style select

30

33

GS * n1 n2 Dn

Download bit image define

31

34

GS / m

Download bit image print

31

35

GS :

Macro definition start/end

32

36

GS ^ n1 n2 n3

Macro define

32

37

ESC = n

Data input control

32

38

ESC a n

Position align

33

*39

ESC i

Full cut

33

*40

ESC m

Partial cut

33

41

ESC c 3 n1 n2

No paper signal sensor select

33

42

ESC r n

Compulsory eject

34

43

ESC q S E M

QR code print

34

44

GS T n

Register NV bit image

36

45

GS P n

Print NV bit image

36

46

GS d Dn

Download firmware

36

47

GS B n

Black/white reverse print set/reset

37

48

ESC h n

Presenter eject mode select

37

49

ESC B n

Back feed

37

50

DC1

Reset software

37

51

GS % n

Partition drive select

38

52

GS ~ n

Print density set

38

*Functions differently between printer with standard type driver and Windows type.

19

Image 22
Contents Specifications for Read carefully Before Using the Printer Page NP 4 1 5 W Configuration Printer consists of the following components Codabar NW-7 CODE128 TOP Defects caused by dust or others This drawing is for NP-215P M3 screw holes to fix frame ground Frame ground wires Φ3.4 M3 screw holes to fix frame ground NP-325R This drawing is for NP-415WP STB ACK, BUSY, /STB, /ERROR, PE, SLCT, /INITError InitXON PowerData STB Busy ACK XoffGND PD2 PD0PD1 PD3LED+ CSW1CSW2 PNEALM LED +ESC/POS OFFXON/XOFF DTR/DSR Processing error Error detection details Power OFF , /INITCN6 Control commands Control command table Feed pitch Font a Font B LSB MSB LSB MSB67DPI Data Underline set/reset ESC n Code 1B h + 2D h + n Bold print set/reset ESC E Code 1B h + 45 h + n Platen open Code 1B h + 7B h + n Barcode print GS k n Dn NUL Code 1D h + 6B h + n + Dn + 00 h MSB LSB 00 ≤n3 ≤01 h Code 1B h + 61 h + n 00 ≤n ≤02 h Description HEX Code 154 489 3908 1167 707 486 299 368 2940 Reverse print set and reset GS B n Code 1D h + 42 h + n Partition drive select GS % n Code 1D h + 25 h + n Page Page International character code table Parts Name QTY Material Treatment JST