Print Multiple Barcodes - CognitiveTPG A799II Programming Manual

Two-color thermal receipt printer
Hide thumbs Also See for A799II:
Table of Contents

Advertisement

79
PDF 417
The value of m selects the bar code system as described in the table.
The variable d indicates the character code to be encoded into the specified bar code system. If character code d cannot be
encoded, the printer prints the bar code data processed so far, and the following data is treated as normal data.
Exceptions
Code 93 and PDF 417 are only available in Native mode.

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
1D 6B FF 01
1B 61 01
1D 68 40
1D 77 02
1D 48 02
0–255
00–FF
data length specified via
integer n = nH:nL 1D 6B m nL nH d1 . . . dn
Initialize
Begin multiple barcodes one line
Center align
Barcode height
Barcode width
Print HRI below
A799-2PG0001B 4/2016
Chapter 4: Programming Commands
Variable length
0 < n < 2800
113

Advertisement

Table of Contents
loading

Table of Contents