GuideVariable Data

Variable Data and Barcode Imposition: CSV-Driven Personalization at Scale

Learn barcode imposition with CSV data mapping, composed data fields, sheet/sheet counters, feeder IDs, dual barcode positioning, and print-side filtering for variable data.

PDF Press Team
12 min read·April 23, 2026

Variable Data Imposition: An Overview

Variable data imposition (also called VDP imposition or data-driven imposition) combines variable data printing with imposition layout to produce press sheets where each copy has unique, personalized content — names, addresses, barcodes, QR codes, serial numbers, or any data field from a database. The data drives the content; the imposition drives the layout.

The classic use case is direct mail: a press sheet imposed 8-up contains 8 different postcards, each with a unique recipient name, address, and QR code linking to a personalized landing page. The same press sheet holds all 8 copies, and the imposition maintains the correct registration between the variable data and the static artwork.

Variable data imposition differs from static imposition in one critical way: each copy on the sheet can have different content. A standard 8-up step-and-repeat places the same artwork 8 times; a variable data 8-up places 8 different artworks (or the same artwork with 8 different data fields) on the same sheet.

PDF Press supports CSV-driven variable data imposition. You provide a CSV file with one row per copy, define how each column maps to a position on the imposed sheet, and the engine generates a multi-page PDF where each page represents one press sheet with all variable data filled in.

Barcode Symbologies for Imposition

Barcodes are the most common variable data element on imposed sheets. The choice of barcode symbology depends on the data being encoded and the scanning equipment that will read it:

1D (Linear) Barcodes:

  • Code 128: The standard for alphanumeric data in shipping and logistics. Encodes the full ASCII character set (128 characters). Most widely used for package tracking, inventory codes, and serialization.
  • Code 39: Encodes uppercase letters, numbers, and a few special characters. Simpler than Code 128 but less data-dense. Common in manufacturing and warehousing.
  • EAN-13: The standard retail barcode on consumer products worldwide. Encodes 13 digits (country code + manufacturer code + product code + check digit). Fixed-length, numbers only.
  • UPC-A: The US equivalent of EAN-13. Encodes 12 digits. Used for retail products in North America.
  • Interleaved 2 of 5 (ITF): Encodes pairs of digits in alternating bars and spaces. Used for carton labeling, warehouse management, and shipping containers.

2D Barcodes:

  • QR Code: Encodes up to 4,296 alphanumeric characters in a square matrix. Scannable by any smartphone camera. Used for marketing URLs, vCards, event tickets, and packaging traceability.
  • Data Matrix: Encodes up to 2,335 alphanumeric characters in a square or rectangular pattern. More data-dense than QR Code and more robust to damage. Used in aerospace, medical device labeling, and pharmaceutical serialization (GS1 DataMatrix).
  • PDF417: Encodes up to 1,850 characters in a stacked linear format. Used for ID cards, boarding passes, and government documents.
  • Aztec Code: Encodes up to 3,832 numeric or 1,914 alphabetical characters. Used in transport tickets (bus, rail, airline) and some government ID systems.

In PDF Press, you select the barcode symbology from a dropdown and define the data source (CSV column, sequential counter, or composed field). The engine generates the barcode at the correct size and position for each copy on the sheet.

CSV Data Mapping and Field Assignment

The CSV file is the data backbone of variable data imposition. Each row in the CSV represents one copy (one piece, one label, one sticker, one mail piece). Each column represents one data field that will be placed on the imposed sheet.

CSV structure example for a direct mail campaign:

  • Column A: Name — "John Smith" maps to the recipient name on each postcard
  • Column B: Address — "123 Main St, Anytown, ST 12345" maps to the postal address
  • Column C: QR_URL — "https://example.com/john-smith" maps to a QR code linking to a personalized URL
  • Column D: Offer_Code — "SAVE20" maps to a promotional offer barcode
  • Column E: Sequence — "0001" maps to a sequential number printed on the piece

Data mapping in PDF Press:

  1. Import the CSV — drag and drop the file or browse to select it.
  2. Preview the data — PDF Press displays the first 10 rows in a table view so you can verify the data structure.
  3. Assign fields to positions — for each copy position on the sheet, drag a data field to the corresponding zone on the layout.
  4. Define barcode fields — for any field that should become a barcode, select the symbology (QR Code, Code 128, EAN-13, etc.) and set the size, color, and error correction level.
  5. Set the copy count — the number of rows in the CSV determines the total number of unique copies. PDF Press calculates how many press sheets are needed.

The CSV can also contain static fields (columns that have the same value in every row) for elements like the company logo or return address. These static fields are imposed once and repeated on every copy.

Composed Data Fields and Sequential Numbering

Not all variable data comes directly from a CSV column. Composed data fields combine multiple data sources — CSV columns, sequential counters, and fixed text — into a single variable element.

Composed barcode example: A shipping label might need a barcode that encodes "ORD-" + Order_ID + "-" + Date, where Order_ID comes from the CSV and Date is a fixed value. The composed field concatenates these elements: "ORD-12345-20260423". PDF Press generates the barcode from this composed string.

Sequential numbering: The most common composed field is a simple counter that increments for each copy. Sequential numbering is used for:

  • Ticket numbering: Each ticket gets a unique number from 000001 to 999999.
  • Voucher numbering: Each gift voucher has a unique serial number for tracking and fraud prevention.
  • Invoice numbering: Each invoice copy has a sequential number for audit trail compliance.
  • Batch numbering: Each production batch gets a unique identifier for traceability.

Sheet and copy counters: In an n-up imposition, you need two levels of numbering:

  • Sheet counter: Increments for each press sheet (each output page of the imposed PDF). Useful for tracking production progress and identifying which sheet a misprint came from.
  • Copy counter: Increments for each copy on the sheet. In an 8-up layout, the copy counter resets for each sheet (1 through 8) while the sheet counter increments (1, 2, 3...).

PDF Press supports both counters independently. You can set the starting number, increment, and format (leading zeros, prefix, suffix) for each.

Feeder IDs: In automated mail insertion, each copy may come from a different feeder station on the inserter. The feeder ID is a composed field that maps the copy position on the sheet to the corresponding inserter station. For example, position 1 maps to feeder A, position 2 maps to feeder B, and so on. PDF Press can generate OMR marks with embedded feeder IDs for automated insertion.

Dual Barcode Positioning and Print Side Filtering

Many variable data layouts require two barcodes on each copy — for example, a QR code on the front for the recipient to scan, and a Code 128 barcode on the back for the inserter to read. Dual barcode positioning places both barcodes independently, each with its own data source, symbology, and size.

Front/back positioning rules:

  • The front barcode (recipient-facing) is typically a QR Code or Data Matrix — scannable by smartphone cameras for marketing or information purposes.
  • The back barcode (inserter-facing) is typically a Code 128 or ITF — scannable by high-speed inserter scanners for mail processing purposes.
  • The two barcodes can be different symbologies, sizes, and data sources.
  • In a duplex imposition, the front barcode appears on Side 1 and the back barcode appears on Side 2.

Print side filtering: Print side filtering determines which variable elements appear on which side of a duplex sheet. This is critical for OMR marks and inserter barcodes, which must only appear on the scanner-visible side.

Print side filter options:

  • Side 1 only: The element appears only on the front of the sheet. Used for recipient-facing barcodes, personalization, and marketing content.
  • Side 2 only: The element appears only on the back. Used for inserter barcodes, OMR marks, and processing information.
  • Both sides: The element appears on both sides. Used for sequential numbers, company logos, and other content needed on both sides.

In PDF Press, each variable data field has a print side filter. Set the recipient QR code to "Side 1 only" and the inserter barcode to "Side 2 only." The engine generates the correct variable data on each side of the duplex sheet without bleeding data across sides.

Mail Merge Imposition Workflow in PDF Press

Creating a variable data imposition in PDF Press:

  1. Design the master template — create a single-page PDF with placeholder frames for all variable fields (name, address, barcode, etc.). Use named frames or annotation labels to identify each variable zone.
  2. Prepare the CSV data file — one row per copy, one column per variable field. Include a header row with column names that match the template placeholders.
  3. Open PDF Press and select Variable Data mode — choose the imposition layout (n-up, step-and-repeat, nesting, or custom).
  4. Import the template PDF — PDF Press detects the placeholder frames and lists them as available variable zones.
  5. Import the CSV — drag and drop or browse to select the CSV file. PDF Press previews the data and matches columns to placeholders.
  6. Assign data fields — for each placeholder, select the corresponding CSV column. For barcode fields, choose the symbology and set the size.
  7. Configure counters — set the sheet counter and copy counter starting values, format, and increment.
  8. Set print side filters — choose Side 1, Side 2, or Both for each variable element.
  9. Add static markscrop marks, registration marks, color bars, and bleed.
  10. Preview and validate — PDF Press displays a live preview with actual data from the CSV. Check that all fields are correctly placed and barcodes scan correctly.
  11. Export — generate the imposed variable data PDF. Each page represents one press sheet with all variable content filled in.

The workflow supports thousands of records — PDF Press generates one imposed page per sheet of copies, producing a multi-page PDF that the digital press prints in sequence.

Try it yourself

PDF Press runs entirely in your browser. Upload a PDF, pick a tool, and download the result — fast and private.

Open PDF Press

Frequently Asked Questions

Ready to try professional PDF imposition?

PDF Press is a browser-based imposition tool with 22 professional tools. No installation required.

Open PDF Press