Dc4 dc4 esc (gs, Dc4 dc4 esc 3 – Compuprint MDP40B Programmer Manual User Manual

Page 129

Advertising
background image

B-22

DC4 DC4 ESC (GS

Prints bar code symbols (Compuprint)

ASCII Code

DC4 DC4 ESC (GS n

1

data GS n

2

data ... EM

Hexadecimal Value

14 14 1B 28 1D n

1

data ... 19

Decimal Value

20 20 27 40 29 n

1

data... 25

Range 1

< n < 12

0 < p < 1

This sequence causes the bar code symbol to be printed according to the previous
selection. If you want to print more than one bar code symbol of the same type and
height, GS n defines the distance from the beginning of the line or between two bar
code symbols in multiples of 1/72 inch. At the end of the line, EM must close this
command.

DC4 DC4 ESC 3

Reads bar code symbols (Compuprint)

ASCII Code

DC4 DC4 ESC ? n

1

n

2

options x y w t

1

… t

n

NUL o

1

… o

n

NUL

Hexadecimal Value

14 14 1B 3F n

1

n

2

options x y w t

1

… t

n

00 o

1

… o

n

00

Decimal Value

20 20 27 63 n

1

n

2

options x y w t

1

… t

n

0 o

1

… o

n

0

Range 0

< n

1

< 23

n

2

= 0

options bit 0x01 = 1

0

the barcode reading is performed vertically
the barcode reading is performed horizontally

bit 0x04 = 1

reading is performed in inverse direction, i.e. the horizontal
reading is performed from the right to the left and the vertical
reading is performed from the lower to the upper position

0 reading is performed in normal direction

Advertising