CognitiveTPG A799 User Manual

Page 101

Advertising
background image

Chapter 4: Programming Commands

101

Revision D 12/09

A799-PG00001D

Print multiple barcodes

ASCII

GS k

Hexadecimal 1D 6B FF n

Decimal

29 108 255

All the individual barcode strings start with 1D 6B m, where m is the type of barcode. Use the same command to do
multiple barcodes on one line.

1D 6B FF 01

begin multiple barcodes one line

1D 6B FF 00

end multiple barcodes one line, print the barcodes

·

Multiple barcodes can be aligned right, left, center same as single line barcodes

·

All barcodes on one line printed at same alignment, height, width, and HRI as the first one

·

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

·

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

1d 6b 49 07 67 04 05 06 07 08 09 Barcode 2, code 128
1d 6b 49 04 67 01 02 03

Barcode 3, code 128

1d 6b ff 00

End multiple barcodes, print

Advertising