CognitiveTPG A798 User Manual

Page 86

Advertising
background image

Chapter 4: Programming Commands

86

Revision C 12/09

A798-PG00001C

·

Page mode parameters initialized at end of multiple barcodes command string

Sample multiple barcodes command string:
1b 40

Initialize

1d 6b ff 01

Begin multiple barcodes one line

1b 61 01

Center align

1d 68 40

Barcode height

1d 77 02

Barcode width

1d 48 02

Print HRI below

1d 6b 49 06 67 27 2d 2e 2d 2e

Barcode 1, code 128

Set GS1 DataBar (formerly RSS) parameters

ASCII

GS q a b c d e fL fH

Hexadecimal 1D 71 a b c d e fL fH

Decimal

29 113 a b c d e fL fH

a

byte

pixels per minimum unit, default 3, minimum 2, maximum 6 (value a applies

to parameters b, c, d)

b

byte

X undercut, default 0, can be set 0 to a-1

c

byte

Y undercut, default 0, can be set 0 to a-1

d

byte

separator height, default a, can be set a to a*2

e

byte

segment width, used only by GS1 Expanded, default 22, must be even

number

2 to 22

f

word

line height, used only by UCC128, default 25, can be set 1 to 500

Note: For GS1 DataBar commands, consult ISO/IEC 24721. For futher information, visit www.gs1.org.

·

Parameters for alignment, height, width, and HRI can be set before or after 1D 6B FF 01 command

·

No height restriction change from single line barcodes

·

Quiet zone between barcodes = 10 * module width

·

No text in between barcodes (results undefined)

·

Upright, picket fence barcodes only, no upside down or ladder. Extended barcode printing for upside down and

ladder barcodes can be done in page mode if required.

·

Slip/validation selection disabled in multiple barcodes command string

·

Multiple barcodes command string disabled when slip/validation selected

·

Page mode disabled in multiple barcodes command string

·

Multiple barcodes command string disabled in page mode

Advertising