Skip to content
  • There are no suggestions because the search field is empty.

Create and Edit a Barcode Field in a PDF

Nitro PDF for Windows

Create a Barcode Field in a PDF

A barcode field converts form data into a visual pattern. You can scan and process this pattern automatically. Use barcodes when users submit forms on paper or by fax.

Barcodes provide these benefits:

    • Reduce processing time
    • Remove manual data entry
    • Reduce data entry errors

You can improve barcode fields with custom scripts. To write scripts, you need basic knowledge of JavaScript and PDF JavaScript.

The Barcode tool lets you create these barcode types:

    • QR Code
    • PDF417
    • Data Matrix

Add a barcode field

    1. Open the PDF in Nitro PDF Pro
    2. On the Forms ribbon, in the Form Fields group, click Barcode
    3. Drag the pointer on the page to create the field
    4. Double-click the field
    5. Set the field name and appearance. Use one of these options:
      1. Use the Properties context tab
      2. Use the Properties dialog
    6. Open the Options tab:
      1. If you use the context tab, click Properties > Options
      2. If you use the dialog, click Options
    7. Configure the options:
      1. Symbology: Select the barcode type (PDF417, QR Code, or Data Matrix)
      2. X Dimension: Set the X dimension value
      3. Error correction: Select the error correction level
      4. Y/X Ratio: Set the ratio (PDF417 only)
      5. Compress before encoding:
        1. Select to enable compression
        2. Clear if you use a handheld scanner
    8. Open the Calculate tab and choose one option:
      1. Select the first option. Then:
        1. Select a format (XML or Tab Delimited)
        2. Click Select and choose the fields to encode
        3. Select Include field names if required
      2. Select Custom Calculation Script. Then:
        1. Click Edit
        2. Enter JavaScript in the editor

            Edit a text field

              1. Open the PDF in Nitro PDF Pro
              2. On the Forms ribbon, in the Form Fields group, do one of the following:
                1. Click the field type
                2. Click Select Fields
              3. Double-click the field to edit its properties