PDFill | First  |  Previous  |  Next  |  Last

PDFill PDF Barcode Generator: 9. EAN/UPC with Supplement Barcode

(See Example PDF and Example PDFill Project File  )

UPC-A, UPC-E, EAN-13, and EAN-8 may all include an additional bar code to the right of the main bar code. This second bar code, which is usually not as tall as the primary bar code, is used to encode additional information for newspapers, books, and other periodicals.

The supplemental bar code may either encoded 2 or 5 digits of information.

The EAN-2 is a supplement to the EAN-13 and UPC-A barcodes. It is often used on magazines and periodicals to indicate an issue number.

The EAN-5 is a supplement to the EAN-13 barcode used on books. It is used to give a suggestion for the price of the book.

1.  Steps on how to insert a EAN/UPC with Supplement 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. There are two lines: The first line is for Main Code and the second line for Supplemental Code.
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
Main EAN Code Type -codeTypeMain   0 EAN13(0), EAN8(1), UPCA(2), UPCE(3),
Supplemental Code Type -codeTypeSupp 0 SUPP2(0), SUPP5 (1)
Show Guard Bars

 

-guardBars

 

1 FALSE (0) and TRUE (1)
Text Font Size -fontSize 8.0  
Text Base Line Distance for Main -baselineMain 8.0  
Text Base Line Distance for Supplemental -baselineSupp 8.0  
Minimum Bar Width for All -X 0.8  
Space Between Barcodes

 

-N

 

4.0  
Font Name -fontName Times New Roman  
Font Style -fontStyle 0 regular(0), bold(1), italic(2), bold and italics(3)
Show Guard Bar for Main

 

-guardBars  1 FALSE (0) and TRUE (1)
Bar Height for Main  -barHeight 24.0  
 
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:

Main Type Supplemental Type Image
EAN13 Supplemental 5
EAN8 Supplemental 2
UPCA Supplemental 5
UPCE Supplemental 2

5. Screenshot:

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