Specifying a bar code type

A string is used to select the bar code type. The same string also selects whether a bar code is produced or human-readable text.

The string has three parts;  Short Code - Format . Flags  separated by a dash (-) character and a period (.) character.

Example: "C128-0.BA"

Short Code

Selects the bar code type (e.g. "C128" selects Code 128).

Valid codes include; "C39", "C128", "E128", "CODA", "PNET", "E13", ", "E8", "UA", "UE". See table below.

Format

Selects special features of each bar code type. Default is "0".

For a full list of formats see Bar code options / formats.

 

Flags

Use flag "B" to produce a bar code, "H" human-readable text, "A" to add a check character, "I" if your data already includes the check characters.

See Bar code check characters and Printing human-readable characters.

Note #1 When "E128" is used, the mandatory EAN-128 check character is always automatically added, so A (add check character flag) should only be used for producing single SSCC-18 bar codes. In the case of "E128" flag A adds the SSCC-18 modulo 10 check digit.

Bar Code Type Short Code Typical usage Comment Use Font Size
EAN-128 "E128" "E128-0.B" See note #1  CIA Code 128... 14+
UCC-128 "E128" "E128-0.B" See note #1  CIA Code 128... 14+
UCC/EAN-128 "E128" "E128-0.B" See note #1  CIA Code 128... 14+
SSCC-18 "E128" "E128-0.BA" Add SSCC-18 check character. CIA Code 128... 14+
SCC-14 "E128" "E128-0.B" See note #1  CIA Code 128... 14+
Bookland "E135" "E135-0.BA" CIA EAN... 26
Codabar "CODA" "CODA-0.B" CIA Codabar... 14+
Code 128 "C128" "C128-0.BA" CIA Code 128... 14+
Code 39 "C39" "C39-0.B" Allow extended characters. CIA Code 39... 14+
Code 39 "C39" "C39-0.BA" Add check character. CIA Code 39... 14+
Code 39 "C39" "C39-1.B" No extended characters. CIA Code 39... 14+
Code 39 "C39" "C39-1.BA" No extended characters.
Add check character.
CIA Code 39... 14+
Code 93 "C93" "C93-0.BA" CIA C93... 14+
EAN-13 "E13" "E13-0.BA" CIA EAN... 26
EAN-13 + 2 digit "E132" "E132-0.BA" CIA EAN... 26
EAN-13 + 5 digit "E135" "E135-0.BA" CIA EAN... 26
EAN-8 "E8" "E8-0.BA" CIA EAN... 26
EAN-8 + 2 digit "E82" "E82-0.BA" CIA EAN... 26
EAN-8 + 5 digit "E85" "E85-0.BA" CIA EAN... 26
ISBN "E135" "E135-0.BA" CIA EAN... 26
ISSN "E132" "E132-0.BA" CIA EAN... 26
Interleaved 2 of 5 "ITF" "ITF-0.B" CIA ITF... 14+
Interleaved 2 of 5 "ITF" "ITF-0.BA" Add check character CIA ITF... 14+
POSTNET "PNET" "PNET-0.BA" CIA POSTNET... 16
UCC-128 "E128" "E128-0.BA" CIA Code 128... 14+
UPC-A "UA" "UA-0.BA" CIA UPC... 26
UPC-A + 2 digits "UA2" "UA2-0.BA" CIA UPC... 26
UPC-A + 5 digits "UA5" "UA5-0.BA" CIA UPC... 26
UPC-E "UE" "UE-0.BA" CIA UPC... 26
UPC-E + 2 digits "UE2" "UE2-0.BA" CIA UPC... 26
UPC-E + 5 digits "UE5" "UE5-0.BA" CIA UPC... 26


Copyright 2000 CIA (BAR CODES) UK. All rights reserved. Reproduction prohibited.