beautypg.com

Setting bar code parameters – Genicom GEK 00031B User Manual

Page 47

background image

GEK-00029B

5000 Series Programmer’s Manual

47

SI
LPRINT CHR$(15);

Deactivates bar codes and allows printing of normal text.

ESC [ 0 t
LPRINT CHR$(27);"[0t";
Deselects bar codes.

When an ESC [ 0 t is received before the SI code, bar codes are both
deactivated and deselected.

Setting Bar Code Parameters

Select the style, height, spacing, orientation, and print density for the
bar code using the following escape sequence. The second line in the

example (written in BASIC) shows the parameters that are the default
values for the printer.

ESC [;;…;}
Example
LPRINT CHR$(27);"[4;9;1;2;6;2;6;2;0;0}";

p1: Style

0

Interleaved 2 of 5

10

Codabar b/n

1

(Reserved for future use)

11

Codabar c/*

2

(Reserved for future use)

12

Codabar d/e

3

(Reserved for future use)

13

UPC-A

4

Code 3 of 9 (default)

14

UPC-E

5

EAN-8

15

Code 93

6

EAN-13

16

Code 128 (A, B, C)

7

Code 11

17

(Reserved for future use)

8

(Reserved for future use)

18

(Reserved for future use)

9

Codabar a/t

50

POSTNET (see note)

NOTE

When using POSTNET, parameters through are
invalid. If these parameters are changed, they will be

retained in memory and will affect other styles if selected.

See Appendix F for more information on POSTNET.