Back to Guides Get Help Choosing

Variable Data Label Printing: Barcodes, Lot Codes, Dates and Multiple SKUs

Variable data workflow
Variable Data Label Printing: Barcodes, Lot Codes, Dates and Multiple SKUs

Variable data turns one approved template into many accurate labels, but only when each field has an owner, source, format, validation rule, and print record. Automation without data control creates faster mistakes.

For Canadian businesses | Facts checked October 14, 2026

Short answer

Keep regulated layout and fixed copy in a controlled template, then connect variable fields such as SKU, barcode data, lot, date, serial, quantity, ingredients, language, and images to an approved source. Validate each record before printing, lock barcode generation rules, preview exceptions, and retain job and reprint records.

Field Validation Print risk
SKU or item code Exists, active, correct template Wrong product label
Barcode data Authorized identifier, check digit, symbol rule Non-scanning or wrong identity
Lot or batch Required format and released record Lost traceability
Dates Approved source, format and timezone Incorrect expiry or packaging date
Quantity or weight Units, rounding and legal format Misdeclared contents
Ingredients and warnings Released product version and language Compliance error
Product image or colour Approved asset and SKU mapping Brand or flavour mismatch
Serial number Uniqueness and sequence control Duplicates or missing records

Separate fixed template content from variable data

Fixed content includes the controlled layout, logos, regulatory headings, field labels, colours, and elements shared by the approved product family. Variable content changes by SKU, batch, unit, language, customer, or print job.

Do not make every object editable. Lock fixed content and expose only the fields operators need. Assign each variable a source, owner, type, maximum length, allowed characters, format and error response. Required identity, lot and regulated fields must stop the job when invalid; do not silently substitute an old value or a blank.

  • Field name and business definition
  • Authoritative source system
  • Required or optional status
  • Format and length rules
  • Owner and change approval

Control barcode and date generation

Create barcodes with a native barcode object using validated data and the correct symbol settings. Avoid storing screenshots or freely scaled barcode graphics. Protect quiet zones and verify final output on production material.

Dates need an explicit source and rule. Define whether the value is packaging date, best-before date, expiry date, manufacture date, or calculated date, plus timezone, language, and format. Never let a workstation clock silently decide a regulated value.

Data before design

A clean template cannot correct an unauthorized identifier, wrong formula, bad date rule, or stale master record.

Do not invent a retail identifier

An internal SKU or lot number is not automatically a GS1 GTIN. Use an authorized identifier and the correct symbol and data rules for the trading partner. A successful scanner read checks one practical condition; formal barcode verification measures symbol quality against the applicable requirements.

Design for multiple SKUs and exceptions

Test the longest product name, largest ingredient list, smallest package, densest barcode, longest French copy, transparent material, and darkest artwork. Conditional layers can support variants, but too many rules make templates hard to validate.

Create an exception queue for missing images, oversized text, inactive SKUs, duplicate serials, failed barcode checks, and printer errors. Stop the job safely instead of substituting blank or old content.

  • Worst-case record set
  • Overflow and truncation prevention
  • Approved image library
  • Template-family limits
  • Visible exception messages
Illustrative test field Input Expected handling
Internal SKU DEMO001 Must match an active approved product and template.
Lot TEST001 Use only in a test job. A blank required lot stops printing.
Product name Longest approved bilingual value Reject overflow instead of shrinking required text below its permitted size.
Retail barcode Authorized test identifier supplied by the business Validate symbol rules and printed output; no invented retail GTIN is supplied here.

Validate, print and retain evidence

Before release, compare the rendered label with the source record and approved master. Run data validation, barcode verification where needed, physical print inspection, and applied-package testing. Sample across the job, not only the first label.

Log template version, data source or record, operator or system, printer, date and time, quantity, job result, and reprints. Reconcile controlled labels or serial ranges when the risk requires it.

  • Preflight every required field
  • Print a first article
  • Inspect samples during the run
  • Record failures and reprints
  • Retain approved job evidence

Authoritative sources

Product specifications and regulatory guidance can change. Confirm your final production setup against the current primary sources below.

Frequently asked questions

What is variable data label printing?

It uses one controlled template with data that changes by SKU, batch, unit, language, customer, or print job.

Should a barcode be stored as an image?

Usually no. Generate it from validated data with a barcode object so symbol rules, check digits, size, and quality can be controlled.

How can one template support many SKUs?

Connect approved fields and assets to a reliable data source, define layout limits, validate every record, and create exceptions for values that do not fit.

What should be recorded after printing?

Retain the template version, source record, printer, time, quantity, result, samples, failures, and reprints appropriate to the business risk.

Prove one complete job before automating

Use NiceLabel versus BarTender to evaluate the software workflow, and the Canadian barcode printing guide to check output. For hardware and media, request a printer and blank-label fit check with a representative test file.

Need help choosing labels or printers?

Tell us your printer model, label size, material, and application. ForeFront can help you choose the right label rolls, Epson printer setup, inks, and materials.

Ask ForeFront for Help Shop Epson Printers Shop Label Rolls

More Guides

Keep learning

View All Guides