2 esc sequence – Oki POS 425D User Manual

Page 96

Advertising
background image

96

OKIPOS 425D

|

6.1.1.2 ESC Sequence
1

Command recognition

A code subsequent to an ESC code is handled as a 7-bit code. (MSB=0)

An ESC code that is followed by a functional code (except ESC CR) is handled as a single functional code.

If the ESC codes follow each other, they are treated as one ESC code.

Example: ESC ESC 2 is treated as ESC 2.

2

ESC sequence list

A25038.doc

No.

HEX

Command Sequence

Functions

Print
Start

1

1B OD

ESC CR n

To enable/disable auto line feed

X

2

1B OF

ESC SI

To set Condense

X

3

1B 10 44

ESC DLE D
Pno Pa1 Pb1… Pan Pbn

To set up menu items

O

4

1B 20

ESC SP n

To set the amount of space to the right side
of a character

X

5

1B 24

ESC $ n1 n2

To designate the absolute position

A

6

1B 25 35

ESC % 5

To feed paper by n/144

O

7

1B 2A

ESC* m n1 n2 data

To designate bit image mode

A

8

1B 2D

ESC - n

To designate/clear underline

X

9

1B 32

ESC 2

To set 1/6

line feed

X

10

1B 33

ESC 3 n

To set n/216

line feed

X

11

1B 3C

ESC <

To designate one line uni-directional print

X

12

1B 40

ESC @

To initialize the printer

X

13

1B 43

ESC C n

To set the page length of sprocket paper

X

14

1B 45

ESC E n

To set/reset emphasize print

X

15

1B 47

ESC G n

To set/reset double strike print

X

16

1B 4E

ESC N n

To set sprocket paper perforation skip

X

17

1B 4F

ESC O

To reset sprocket paper perforation skip

X

18

1B 52

ESC R n

To select international character set

X

19

1B 57

ESC W n

To set/reset double width print

X

20

1B 63 30

ESC c 0 n

To select sheet subject to printing

X

21

1B 63 31

ESC c 1 n

To select sheet subject to setting

X

22

1B 63 34

ESC c 4 n

To select print stop sensor

X

23

1B 64

ESC d n

To feed paper by n lines

O

24

1B 66

ESC f t1 t2

To set cut sheet paper wait time

X

25

1B 69

ESC i

Full cut

X

26

1B 6D

ESC m

To cut partially (leaving uncut at 1 point)

X

27

1B 74

ESC t n

To select character code table

X

28

1B 77

ESC w n

To set/reset double height print

X

29

1B 78

ESC x n

To select print font

X

30

1B 7A

ESC z n

To set/reset Receipt+Journal same data print

X

Advertising