PDFill | First  |  Previous  |   Next  |  Last

PDFill PDF Barcode Generator: 10. Code 128 Barcode

(See Example PDF and Example PDFill Project File  )

Code 128 Barcode is a high-density linear symbology that encodes text, numbers, numerous functions and the entire 128 ASCII character set (from ASCII 0 to ASCII 128.) It is commonly used for several implementations; and is also referred to as ISBT-128, GS1-128, UCC-128, EAN-128 and USS Code 128.

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

2. Access the properties:

3. Set the properties:

Here is the list of the properties.

String The text to be encoded. Examples:

0123456789 hello

24132399420058289[FNC1]3700000050[FNC1]422356

(01)00000090311314(10)ABC123(15)060916

For RAW Type:

0123456789
My Raw Barcode (0 - 9)

Barcode Color The color of the bars
Text Color The color of the text
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
Margin
(Horizontal/Vertical)
The distance from the barcode to the border of the background.
 
Main Option DOS Command Default Sub Option
Code 128 Type -codeType   0 Plain CODE128, CODE128_UCC, CODE128_RAW
Text Font Size -fontSize 8.0  
Text Base Line Distance -baseline 8.0  
Bar Height -barHeight 24.0  
Minimum Bar Width -X 0.8  
Horizontal Alignment -textAlignment 1 left(0), middle (1) and right (2)
Text Over the Bar -textOverbar 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)
 
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:

Type Image
PLAIN String:

0123456789 hello

PLAIN String:

24132399420058289[FNC1]3700000050[FNC1]422356

UCC String:

(01)00000090311314(10)ABC123(15)060916

RAW String:

0123456789
My Raw Barcode (0 - 9)

5. Screenshot:

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