Vertical and horizontal positioning, Text characteristics – CognitiveTPG A798 User Manual

Page 30

Advertising
background image

Chapter 4: Programming Commands

30

Revision C 12/09

A798-PG00001C

Vertical and horizontal positioning

Code (hexadecimal)

Command

Page

09

Horizontal tab

42

1B 14 n

Set column

42

1B 24 nL nH

Set absolute starting position

43

1B 32

Set vertical line spacing to 1/6 inch

43

1B 33 n

Set vertical line spacing

44

1B 44 [n] k 00

Set horizontal tab positions

44

1B 5C n1 n2

Set relative print position

45

1B 61 n

Select justification

46

1D 4C nL nH

Set left margin

46

1D 50 x y

Set horizontal and vertical minimum motion units

42

1D 57 nL nH

Set printing area width

47

Text characteristics

Code (hexadecimal)

Command

Page

12

Select double-wide characters

48

13

Select single-wide characters

48

1B 12

Select 90 degree counter-clockwise rotated print

48

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 25 n

Select or cancel user-defined character set

51

1B 26 s c1 c2

Define user-defined character set

51

1B 2D n

Select or cancel underline mode

52

1B 3A 30 30 30

Copy character set from ROM to RAM

53

1B 3F n

Cancel user-defined character

53

1B 45 n

Select or cancel emphasized mode

53

1B 47 n

Select or cancel double-strike

54

1B 49 n

Select or cancel italic print

54

1B 52 n

Select international character code

55

1B 56 n

Select or cancel 90 degree clockwise rotated print

55

1B 74 n

Select international character set

56

1B 7B n

Select or cancel upside-down print mode

56

1D 21 n

Select character size

57

1D 42 n

Select or cancel white/black reverse print mode

58

1F 05 n

Select supersctipt or subscript modes

59

1F 26 s c1 c2

Define extended user-defined character set

52

1F 69 n

Select active user-defined character set

59

Advertising