Placing Code 39 / Code 128 Barcodes on the PDF forms
- This tutorial shows how to add Code 39 barcodes to a PDF form using AutoMailMerge™ plug-in for the Adobe® Acrobat®. Use the same instructions with other similar barcode types such as Code 128. Use a different method for creating QR and PDF417 barcodes.
- Tutorial Overview
- We are going to create the product inventory labels in PDF format for 12 models of chairs. Each product label will be filled with a barcode, an image, and a text description for the product.The data for each product label will be read from an Excel spreadsheet.
- The tutorial is going to show how to:
- Download a barcode font and install it under Microsoft Windows.
- Create a text field for the barcode on a PDF form template.
- Prepare data in Excel.
- Run mail merge to create barcodes using data from an Excel spreadsheet.
- The Code 128 barcode font can be used in exactly the same way as Code 39 font.
- Input Document Description
- The tutorial is using an Excel spreadsheet as a mail merge data source. The spreadsheet contains product information for 12 different models of chairs. There are 5 data fields (columns) in the spreadsheet: "Image", "Title", "Subtitle", "Price" and "Product ID". The data from each row needs to be placed on the PDF form to create individual PDF "product label". The text from the "Product ID" column will be used for the barcode.
- You need a copy of the Adobe® Acrobat® DC along with the AutoMailMerge™ plug-in installed on your computer in order to use this tutorial. You can download trial versions of both the Adobe® Acrobat® and the AutoMailMerge™.
- Step 1 - Download Barcode Code Font
- Go to "Google Fonts" repository to download the "Libre Barcode 39 Text" font. If Code 128 symbology is required, get the "Libre Barcode 128 Text" font.
- Open a web-browser and go to "https://fonts.google.com" web-page or use the above links.
- Search for the specific barcode font. As an example, enter "39" in the search box. Find the "Libre Barcode 39 Text" font in the searching results. Click "+" to select the font.
- Click on the "1 Family Selected" bar in the bottom of the screen to expand the collapsed window.
- Click the icon to download the font.
- The downloaded file will appear in the bottom of the screen (depends on the browser used). Note that if you are using a different web-browser, than the file may appear in the "Downloads" folder. Open the downloaded "Libre_Barcode_39_Text.zip" file.
- Step 2 - Install the Downloaded Barcode Font
- Extract "LibreBarcode39Text-Regular.ttf" font file into some folder.
- Open the folder where you have extracted the "LibreBarcode39Text-Regular.ttf" file. Right click on the file. Select "Install" from the pop-up menu. The font will be automatically installed.
- Once the installation is completed, the "Libre Barcode 39 Text Regular" font will be added to the fonts list. It would be placed into C:\Windows\Fonts folder: .
- Create a PDF Form
- Step 3 - Start Adobe Acrobat
- Start the Adobe® Acrobat® application. Select the "Tools" from the main toolbar. Select the "Prepare Form" tool to open a form editor.
- Step 4 - Select a PDF form template
- Select an existing PDF file that will be as used as a template for the PDF form. It is common to design documents in the text editor such as Microsoft Word, Adobe InDesign, or in any other similar application and then export it into PDF format. The form editor is used only to add fillable forms fields to allow using the document in the mail merge process.
- Click here to download the Template PDF file that have been used in the tutorial.
- Step 5 - Add a Text Field
- Place a text field at the location where a barcode needs to be positioned. Once a PDF file is opened in the "Prepare Form" tool, click the "Add an Text field" icon.
- Move cursor to a page location where you want to place a text field (barcode). Press and hold left mouse button and drag a rectangle where you want to place a barcode. You will be able to change the position of the field later.
- Type a name of the field into a "Field Name" box. Field names are used to uniquely identify each field on a PDF form. We are going to name this field "Product ID". It is a good idea to use the same name for both form and data fields to simplify the field mapping. It is not a requirement, but saves time and make the process more transparent. Click "All Properties" to specify text field properties.
- Step 6 - Set Text Field Appearance
- Select "Auto" from the "Font Size:" menu.
- Select "Libre Barcode 39 Text" from the "Font:" menu. If the barcode font is not listed in the "Font:" list, then restart the computer.
- Choose black text color.
- Choose border and background color ("Fill color"->"No Fill" works the best for most applications).
- Select "Center" from the "Alignment:" menu. Uncheck all options. Click "Close" to save.
- Step 7 - Save the PDF Form
- Optionally, add one or more text fields at page locations where variable text needs to be placed. Click the "Add a Text field" icon and place the text field onto the form. See "Populating PDF Forms With Images and Text" for details on how to put images and text on the PDF forms.
- Click "Save file" to save changes to the file. Now a previously static PDF document became an interactive PDF form.
- Step 8 - Preparing Data in the Microsoft Excel
- We are going to use an Excel spreadsheet to store the data for the mail merge. Prepare your data in the Microsoft Excel. Below is a spreadsheet example that contains product information for 12 different models of chairs. There are 5 data fields (columns) in the spreadsheet: "Image", "Title", "Subtitle", "Price" and "Product ID". The text from the "Product ID" column will be used for the barcode.
- Click here to download the Microsoft Excel file that have been used in the tutorial.
- Run Mail Merge
- Step 9 - Open a PDF Form
- Start the Adobe® Acrobat® application and using "File > Open..." menu open a PDF form template that was prepared.
- Step 10 - Open the "Mail Merge" Dialog
- Select "Plug-Ins > Mail Merge..." to open the "Mail Merge" dialog.
- Step 11 - Setup Mail Merge Settings
- Press the "Edit Settings..." button to configure the mail merge parameters.
- Step 12 - Select a Data Source
- Press the "Browse..." button in the "Data Source" screen to select an input data file.
- Select "Microsoft Excel Worksheet (*xls.*xlsx)" from the list:
- Select prepared data source file (use file prepared at the step 8). Click "Open".
- Select a sheet from the list. Click "OK".
- Step 13 - Map Form to Data Fields
- Click "Guess Mapping" in the "Data Source" screen. The software will automatically select field correspondence based on field names.
- The confirmation dialog will appear on the screen. Click "Yes" to proceed.
- The dialog showing the number of field mappings will be displayed. Click "OK".
- Step 14 - Examine the Field Mappings
- Examine the field mappings that have been guessed and click "Next >" to advance to the next screen.
- Step 15 - Specify Field Options
- Optionally, use the "Specify Field Options" screen to control if output form fields should remain editable or not. Make sure to check "Flatten output PDF documents" option to make output documents non-editable. Click "Next >" to advance to the next screen.
- Step 16 - Specify Output Options
- Use "Select Output Options" screen to control where and how to save output PDF documents. Click "Browse..." to specify an output folder. Optionally, specify the file naming options. Check the "Output a compound document that will contain all filled forms" option if it is necessary to put all output files into a single PDF. Click "Next >" to proceed.
- Skip the rest of the screens by clicking "Next>" button multiple times, click "Finish" on the last screen.
- Step 17 - Save Settings
- Optionally, save mail merge settings into the *.mms file for later reuse by pressing the "Save Settings" button. Use the "Load Settings" button to load them back at a later time. Click "OK" to advance to the mail merge process.
- Step 18 - Start Processing
- Press the "Run Mail Merge" button in the "Confirm Processing" dialog to start a mail merge process.
- The "Mail Merge Results" dialog will appear once the processing is completed. Click "OK" to close this dialog and open an output folder.
- Step 19 - Examine Output Files
- Examine output files by opening them in the Adobe Acrobat. There are 12 individual PDF files created in this tutorial:
- Here are the examples of the output PDF product labels generated by the mail merge. The Product ID thas been encoded using Code 39 barcode symbology:
- The following examples are for Code 128 barcode font:
- You can find a list of other step-by-step tutorials here: https://www.evermap.com/tutorialsList.asp.
Copyright© 1999-2022 by EverMap LLC.For technical support email to: firstname.lastname@example.org
AutoRedact® is a registered trademark of EverMap Company, LLC.
Adobe® Acrobat® is a registered trademark of Adobe Systems Incorporated.
All other trademarks and copyrights are property of their respective owners.
- Open the form in Acrobat. ...
- Choose Tools > Prepare Form.
- Click the Barcode icon in the toolbar.
- Drag a rectangle to define the barcode area, and then double-click the barcode field to open the Properties dialog box.
- In the Value tab, do one of the following: ...
- In the Options tab, do all of the following:
Fast and easy creation of custom QR 2D barcodes with the Softmatic QR Designer for Adobe InDesign 2021 or higher. You can choose from all the most frequently used types of barcodes, including QR-Code, EAN-8, EAN-13, UPC-A, UPC-E, ISBN, ISSN, JAN-8, JAN-13 and many, many more..
The recognition process includes the following steps:
- Open the source PDF document and render its pages to raster images.
- Process the obtained images through class BarCodeReader to detect and decode barcodes.
- Further processing of the decoding results.
Creating your own custom codes is pretty simple and cheap. All you need is a computer, some software or font packs, a scanner, and a label printer. Once you have your setup, the costs are about the same whether you choose to create 100 barcodes or 1000.
A barcode generator is a free and easy-to-use way to create barcodes for the items in your inventory.
CODE39. CODE 39 is the barcode developed by Intermec Corporation in 1975. Up to 43 characters including numbers, letters and some symbols can be included in the barcode. Since letters can be handled, CODE 39 is indispensable in the industrial fields and used in industries such as automotive and electronics.
Create your own PDF QR Code in 3 easy steps.
Click 'Create QR Code' -> Choose 'PDF QR' type. Upload your PDF or paste the URL to the file. Customize the look and design of the QR Code as you like. Click on Next—and you're done!
PDF417 is a stacked linear barcode format used in a variety of applications such as transport, identification cards, and inventory management. "PDF" stands for Portable Data File. The "417" signifies that each pattern in the code consists of 4 bars and spaces in a pattern that is 17 units (modules) long.
There are three barcodes that are so called read-only barcodes (i.e. PDF 417, QR Code and Data Matrix).
Print your barcode and take it to a retail store. Ask if you can scan your barcode at the register. (Bribe the cashier with snacks.) The scanner should pick up your barcode and beep, confirming that the barcode is readable.
- Open the PDF in Adobe Reader.
- Click Edit.
- Click Copy File to Clipboard.
- Open the Word document.
- Right-click the document.
- Click Paste.
Although barcodes are designed to be "read" by scanners and interpreted by computers, it is possible with practice to look at a UPC barcode and translate it into a 12-digit number.
You can generate a wide range of barcodes on excel such as: Code 128. Code 39. UPC/ EAN.
For Code 39, all you have to do is add the start symbol (*) to the front and back of the text. For example, if you download a Code 39 barcode, then you would type *Hello* to create a scannable barcode that will read the word Hello when scanned.
Radio frequency identification, or RFID, is a fully automated alternative to barcode scanning that has seen large scale growth in adoption rates across many industries.
Resellers supply legitimate, legal barcodes for a one-off cost. Many of them supply both UPC-A and EAN-13 barcodes. There are several reputable places to buy UPC-A and EAN-13 codes.
|Number of items needing a barcode/GTIN**||Initial fee||Annual renewal fee|
|QR Code Scanner App||Operating System||Price|
|Barcode Reader||iOS and Android||Free|
|NeoReader QR & Barcode Scanner||iOS and Android||Free (Continuous scan – $1.99)|
|QuickMark Barcode Scanner||iOS||Free|
|QR Droid and QR Droid Private||Android||Free|
you can put in the notes that a barcode is present without printed numbers, but without a barcode scanner you're not gonna be able to find them.
How are barcodes generated? Barcodes are generated using software. Stores decide what information (quantity, color, type) they want to collect with the barcode and choose the barcode format. The software will automatically generate a machine-readable barcode.
The minimum recommended size is 80% of the nominal size, or 1.175" w x . 816" h. Size may vary depending on package design and printing conditions. In general, larger UPC's scan better.
A Code 39 barcode encodes 39 characters in total. Code 128 has a higher density than Code 39. Code 39 does not include a check digit, while Code 128 does.
Code 39 does not require a checksum or check digit, although a Modulo (Mod) 43 check digit can be added for increased data integrity.
Acrobat also allows you to create barcodes and QR codes with the Prepare Form tool .
With a document open in InDesign, select the Object menu. Choose Generate QR Code. On the Content tab, select the Type of code you want to generate (Web Hyperlink, Plain Text, Text Message, Email or Business Card)
The basic Code 128 barcode format consists of a start code (which sets the initial character set to A, B, or C), the code data, a checksum digit, and a stop code, which marks the end of the barcode. As with other linear barcodes, there are blank quiet zones on either side.
Barcodes are available in two different types: Linear barcodes and two-dimensional matrix barcodes.
How do I remove a QR code? Click the boxes of the codes you wish to delete or select all of your QR Codes at once by clicking the box to the left Selected at the top of the screen. Choose Actions and then select Delete from the dropdown menu. Confirm delete in the popup box.
The maximum data limit is 1556 bytes. Error correction is built into these barcodes to increase readability, so even if one or more cells are damaged, the data can still be read. A Data Matrix barcode can store up to 2,335 alphanumeric characters.
The answer to this is also YES. Although the manufacturer may have one barcode for the product, the reseller (retailer) may put their OWN barcode on the product, thus having the same product with 2 separate barcodes. Can a barcode be copied? Yes.
If you're talking about UPC barcodes, there are 11 digits to the standard UPC code, giving you a hypothetical 10^11, or 100 billion possible barcodes.
The most common causes of unreadable barcodes are low contrast, quiet zone violations, improper reading position, print or mark inconsistency, and damage or distortion.
UPC bar codes can range from 0.8 to 2.0 magnification. At 0.8, the bar code is reduced to 80 percent from the nominal size. At this magnification, the bar code is 1.175 inches wide by 0.816 inches high. This is the smallest that a bar code can be and still be scanned.
Adjusting the height of the barcode does not affect its scanability because the width is not affected by this change. In general, you should leave the height at its default option unless there's some specific reason to change it.
You can also create barcodes in Word, PowerPoint, Wordpad, TextEdit, and pretty much any app that allows you to change the font. Once you download the font and install it on your computer, enter the text in your program of choice and change the font to the barcode font.
- Highlight the text to be converted.
- Select Format, Font from the menu bar.
- Select 3 of 9 Barcode from the Font list and click OK.
The barcode may be copied to the clipboard for subsequent pasting into another application – such as Word.
Can a UPC Bar Code Be Printed in Color Ink or on Colored Paper? Many large retail chains now fine or disqualify vendors who supply products with bar codes that do not scan. If you print a UPC symbol with color ink or on a colored background, you run the risk that the symbol will not scan.
What information is not stored on a barcode? Barcodes contain details about a product such as the size, type, and manufacturer. However, it doesn't contain price information, which is often stored in a database.
Simply Scan an Old Label or Enter a Code and Print!
Using any Zebra printer, barcode scanner and even a Zebra keyboard (KDU ) will enable you to scan or type a barcode code and print a high quality barcode label-in just seconds.
To create a barcode
Select the barcode type: EAN-13, UPC-A, Code 39, or ITF. Fill in the product category information in the barcode data box. Click on the barcode title box and barcode note if you want to add them in the barcode. Add a name for the barcode in the title box and more details in the note box.
- Go to QRTIGER QR code generator online. ...
- Select the file or URL category and upload your document.
- Generate and customize your QR code. ...
- Test and download your word document QR code. ...
- Deploy in print and digital platforms.
- 1 Select Type of Code. Select a barcode symbology, or "type." ...
- 2 Type Your Text. Enter the information you would like to encode into the barcode or QR code.
- 3 Enter Your Email. After selecting “Generate,” you will receive an email with your high-resolution barcode.
UPC CODES: The UPC-E barcode is a universal product code and the most used in the United States.