Appendix a: commands listed by hexadecimal code, By command code – CognitiveTPG A798 User Manual

Page 104

Advertising
background image

Appendix A: Commands by Hexadecimal Code

104

Revision C 12/09

A798-PG00001C

Appendix A:

Commands listed by hexadecimal code

By command code

Code (hexadecimal)

Command

Page

09

Horizontal tab

42

0A

Print and feed paper one line

39

0C

Print and return to standard mode

90

0D

Print and carriage return

39

10

Clear printer

34

10 04 n

Real time status transmission (DLE sequence)

74

10 05 n

Real time request to printer (DLE sequence)

77

11 n1 . .. n72

Print Raster Graphics

65

12

Select double-wide characters

48

13

Select single-wide characters

48

14 n

Feed n print lines

39

15 n

Feed n dot rows

39

16 n

Add n extra dot rows

40

17

Print

40

18

Cancel print data in page mode

90

19

Perform full knife cut (or code 1B 69)

34

1A

Perform partial knife cut (or code 1B 6D)

34

1B (+*.BMP)

Download BMP logo (where +*.BMP is the data from the file, not the filename.)

59

1B 07

Generate tone

35

1B 0C

Print data in page mode

90

1B 12

Select 90 degree counter-clockwise rotated print

48

1B 14 n

Set column

42

1B 16 n

Select pitch (column width)

49

1B 20 n

Set right-side character spacing

49

1B 21 n

Select print mode

50

1B 24 nL nH

Set absolute starting position

43

1B 25 n

Select or cancel user-defined character set

51

1B 26 s c1 c2

Define user-defined character set

51

1B 27 m a0 a1 a2 d1 … dm Write to user data storage

96

1B 2A m n1 n2 d1...dn

Select bit image mode

60

1B 2D n

Select or cancel underline mode

52

1B 2E m n rL rH d1 … dn

Print advanced raster graphics

61

1B 32

Set vertical line spacing to 1/6 inch

43

Advertising