PDFill | First  |  Previous  |   Next  |  Last

PDFill PDF Barcode Generator: 5. CODABAR Barcode

(See Example PDF and Example PDFill Project File  )

Codabar is a linear barcode symbology developed in 1972 by Pitney Bowes Corp. ([1]). It and its variants are also known as Codeabar, Ames Code, NW-7, Monarch, Code 2 of 7, Rationalized Codabar, ANSI/AIM BC3-1995 or USD-4. Although Codabar has not been registered for US federal trademark status, its hyphenated variant Code-a-bar is a registered trademark.[1] It was designed to be accurately read even when printed on dot-matrix printers for multi-part forms such as FedEx airbills and blood bank forms, where variants are still in use as of 2007. Although newer symbologies hold more information in a smaller space, Codabar has a large installed base in libraries. It is even possible to print Codabar codes using typewriter-like impact printers, which allows the creation of a large number of codes with consecutive numbers without having to use computer equipment. After each printed code, the printer's stamp is mechanically turned to the next number, as for example in mechanical mile counters.

1.  Steps on how to insert a CODABAR into PDF Page:

2. Access the properties:

3. Set the properties:

Here is the list of the properties.

String The text to be encoded. Only Digital Number 0-9 can be used.
Barcode Color The color of the bars
Position (Left, Right, Width, Height) The X and Y coordinate of the box to define the position and size of the barcode.
Scale The ratio of the displayed barcode to the actual barcode
Background Color The color of the background
Rotate The rotation degree from 3 clock relative to the barcode center
The distance from the barcode to the border of the background.
Option DOS Command Default Sub Option
Text Font Size -fontSize 8.0
Text Base Line Distance -baseline 8.0  
Bar Height -barHeight 24.0  
Minimum Bar Width -X 0.8  
Bar Multiplier for Wide bars -N 2  
Generate Check Sum -generateCheckSum 0 FALSE (0) and TRUE (1)
Check Sum Text -checkSumText 0 FALSE (0) and TRUE (1)
Font Name -fontName Times New Roman  
Font Style -fontStyle 0 regular(0), bold(1), italic(2), bold and italics(3)
Horizontal Alignment -textAlignment 1 left(0), middle (1) and right (2)
Text Over the Bar -textOverbar 0 FALSE (0) and TRUE (1)
Show the Start Stop Text -startStopText 0 FALSE (0) and TRUE (1)
Reset Reset all the Sub Options to the default values
Action: Add Link, Submit, JavaScript and more ... See PDF Actions.
Get Barcode Image Save the barcode image as a PNG file after clicking OK.

4. Example:

String Image

5. Screenshot:

PDFill Copyright 2002-2022 by PlotSoft L.L.C..  All rights reserved.