Composite Codes

Revision as of 30 August 2017 16:28 by JGoss (Comments | Contribs) n

Bar Code, Select Type: GS1 Composite

GS1 Composite (formerly called UCC/EAN-128) uses the same code set as Code 128/GS1-128, except it does not allow function codes FNC2 through FNC4. FNC1 can be sent to the printer as the data string 1.

Syntax

c21[,m1][,m2][,m3][,m4][,m5][,m6]

Parameters

m1

Sets the symbology version:

m1 Version 0 UCC/EAN-128 with CC-C (default) 1 UCC/EAN-128 with CC-A or CC-B 2 EAN-13 with CC-A or CC-B 3 EAN-8 with CC-A or CC-B 4 UPC-A with CC-A or CC-B 5 UPC-E with CC-A or CC-B 6 GS1 Composite with CC-A or CC-B 7 GS1 Composite Truncated with CC-A or CC-B 8 GS1 Composite Stacked with CC-A or CC-B 9 GS1 Composite Stacked Omnidirectional with CC-A or CC-B 10 GS1 DataBar Limited with CC-A or CC-B 11 GS1 DataBar Expanded with CC-A or CC-B 12 GS1 DataBar Expanded Stacked with CC-A or CC-B


The printer determines whether CC-A or CC-B will be used based on the amount of data sent to the 2D Composite Component.

m2

Height of the separator pattern row. Valid only when m1 is set to 0 or from 6 to 12.

If the value for m2 is set too low, the height is changed to the smallest allowed value for the selected magnification.

If the value for m2 is set too high, an "invalid bar code data" error occurs.

Range: Between 1 time and 2 times the value set by Width of Line, Box, Bar, or Character Define. For example, if the width is set to 3, the range for m2 is 3 to 6.

Default: 1

m3

Number of columns per row (or the number of segments per row if m1 = 12).

Setting m1 and m3 to 0 selects the largest number of columns for the 2D bar code to fit within the 1D bar code (including its quiet zones).

Range: 1 to 30

Default: 0 if m1 = 0, or 4 if m1 = 12

m4

Enables display of space and parentheses ("(," ")") characters:

m4 Description 0 Bar code does not include space or parentheses characters in the data, but displays these characters in the human readable interpretive field. 1 Bar code and human readable interpretive field include the space and parentheses characters.


m5

Height of each row in the 2D bar code.

Default: 0 (height is 3 times the magnification value).

m6

Enables printing of the human readable interpretive field:

m6 Description 0 Human readable interpretive field is not printed 1 Human readable interpretive field is printed


The human readable interpretive field for the 2D Composite Component is displayed if Interpretive Field, Enable or Disable is set to 1.

Notes

The GS1 Composite symbology consists of an GS-128 linear component associated with an adjacent 2D Composite Component.

The linear component encodes the primary identification so that it is readable by all scanning technologies and so that 2D imagers can use the linear component as a finder pattern for the adjacent 2D Composite Component. The linear components include these bar codes:

UCC/EAN-128 UPC-A EAN-8 EAN-13 GS1 DataBar family The 2D Composite Component encodes supplementary data, such as batch number or expiration date. There are three types of 2D Composite Components that are all based on the PDF417 symbology:

CC-A is a structural variant of MicroPDF417. CC-B is a MicroPDF417 symbol. CC-C is a PDF417 symbol. 2D Composite Components encode characters from the ISO 646 code set..

The data for the linear and 2D components is separated by the <HT> command with the data for the linear component sent first. For example, to print a Composite bar code with the linear component encoding 112233445566 and the 2D component encoding aabbccddeeff, the data is sent to the printer as 112233445566<HT>aabbccddeeff.

This table lists all possible combinations of linear and 2D Composite components:

Linear Component 2D Composite Component Maximum Data Length Bar Code Type Data Length CC-A CC-B CC-C GS-128 1-48 digits 56 digits 31 char 338 digits 196 char 2361 digits EAN-13 13 digits 56 digits 31 char 338 digits 196 char Not available EAN-8 8 digits 47 digits 26 char 219 digits 127 char Not available UPC-A 12 digits 56 digits 31 char 338 digits 196 char Not available UPC-E 8 digits 47 digits 26 char 96 digits 55 char Not available GS1 Composite, GS1 Composite Truncated 1-13 digits 56 digits 31 char 338 digits 196 char Not available GS1 Composite Stacked, GS1 Composite Stacked Omnidirectional 1-13 digits 47 digits 26 char 96 digits 55 char Not available GS1 DataBar Limited 1-13 digits 47 digits 26 char 219 digits 127 char Not available GS1 DataBar Expanded, GS1 DataBar Expanded Stacked 1-74 digits* 1-41 char* 56 digits 31 char 338 digits 196 char Not available Data lengths with an asterisk (*) indicate that the actual maximum amount of data depends on data content.

See Also

ISO 646 Subset Characters

IPL Command Reference Manual, P/N