Desktop guide retained in English. It describes the installed software, not the web beta.

← Back to tutorials

Variable Data Printing Beginner Workflow

Connect CSV, Excel, SQL, REST, or e-commerce data to label fields, preview every risky record, validate barcodes, and print controlled batches.

What variable data printing means

Variable data printing (VDP) means one template produces many label variants. Each record can change text, barcode data, QR content, image path, quantity, language, price, lot, expiry, or customer personalization.

The beginner mistake is to test only the first row. Production-safe VDP checks the first row, last row, longest text, missing values, duplicate rows, invalid barcodes, and the exact data snapshot sent to print.

CSVExcelSQL/ODBCRESTE-commerceBatch print
Rule: never print a VDP batch until required fields, overflow, barcode content, quantity, and record filters have been checked.
Variable data merge One template, many records CSV / Excel / SQL sku,name,lot,qty A01,Honey,L42,250 A02,Tea,L43,400 A03,Coffee,L44,150 {name} Lot {lot} Qty {qty}

1. Prepare clean data

Column typeExampleCheck before printing
Identifiersku, order_id, serialNo duplicates unless intentional; stable key for reprint.
Display textproduct_name, flavor, customer_nameLongest values fit the label and language accents render correctly.
Barcode/QR contentgtin, gs1_data, urlValid format, check digit, quiet zone, and scan test.
Production fieldsquantity, printer, media, priorityValues match queue and inventory rules.
Image fieldsimage_path, logo_variantFiles exist, are approved, and have sufficient resolution.

2. Choose the right data source

  • CSV: simple, portable, good for beginners and shop exports.
  • Excel: familiar to customers, useful for order lists and product variants.
  • SQLite: local structured jobs, repeat orders, and offline production.
  • SQL/ODBC: ERP/WMS integration and controlled production databases.
  • REST/e-commerce: Shopify, WooCommerce, or web systems where orders should become jobs.
Data source choices Data sources feeding one template CSV Excel SQL REST Shop All routes must produce the same mapped fields before batch output.

3. Map fields to objects

Label objectMapped fieldValidation
Product title text{product_name}Required, max length, text overflow check.
Lot/date text{lot}, {expiry}Required for regulated workflows; date format check.
Code 128 / EAN / GS1{barcode_value}Symbology-specific validation and scan test.
QR code{url} or {traceability_payload}URL/content validation and module-size check.
Image object{image_path}File exists, approved asset, correct resolution.
Quantity{quantity}Batch count is positive and matches order quantity.

4. Preview records deliberately

Record preview strategy Records to inspect before batch printing Firstheaders OK Lastrange OK Longesttext fit Missinghold/fix Barcodescan sample A clean first record does not prove the batch is safe. Inspect records that stress the layout and validation rules.

5. Filter, sort, and calculate safely

FeatureUse caseRisk to avoid
FilterPrint only approved rows, one customer, one SKU, one due date, or one printer route.Accidentally printing draft/cancelled rows.
SortGroup by media, printer, SKU, or shipping route.Losing original order if the pack list expects it.
Calculated fieldCombine fields such as name + " - Lot " + lot.Creating invalid barcode payloads or unreadable text.
CounterGenerate serial numbers or sequential labels.Duplicate serials after retry/reprint.
Quantity per rowPrint each record multiple times based on an order quantity field.Confusing record count with label count.

6. Print a sample batch before release

Sample selected records

Print a few representative records: first, longest, barcode-critical, image-heavy, and any record with warnings.

Scan and inspect

Check barcode scan, text fit, image quality, color, alignment, media feed, and finishing/cut alignment if used.

Release full batch

Release only after warnings are resolved or accepted by a responsible user.

Archive data snapshot

Store the exact file/query result/order payload used. A later database change must not alter the printed history.

7. Common VDP errors

SymptomLikely causeFix
Only first label looks correctBatch was not previewed on edge-case records.Preview first, last, longest, missing, and barcode-critical rows.
Wrong number of labels printedQuantity field was ignored or duplicated with batch quantity.Decide whether quantity means rows, copies per row, or total labels.
Barcode scans wrong dataWrong mapped field or bad formula/check digit.Validate barcode payload before rendering and scan a printed sample.
Images are missingImage paths are relative, moved, or not packaged.Resolve paths and archive approved assets with the job snapshot.
Reprint differs from originalLive data changed after production.Reprint from the archived data snapshot, not from the current source.

8. Beginner workflow summary

VDP workflow summary Production-safe beginner VDP workflow Importdata source Mapfields Previewrisky rows Validatebarcode/text Printsample + batch After printing, archive the template version and exact data snapshot so retry and reprint remain reliable.

← Back to tutorials