Skip to content
Variable Data PDFA PDFIMPOSE FIELD GUIDE
The workflowField notesQuestions
Open PDFImpose
Variable Data PDF / FIELD NOTES
Data

Preparing a Data File for Variable Data Printing

Direct answer Most variable data problems are data problems rather than template problems, and they are cheaper to fix before the merge than after. Four things account for the majority of failures. Encoding determines whether accented and non-Latin characters survive, and a file saved in the wrong encoding produces damaged text that appears only in affected records. Delimiters break rows when a field contains the separator character and is not quoted, silently shifting every column after it. Field length decides whether text oversets, because a box sized for typical values fails on the longest ones. Image paths must resolve for every row, since a single broken reference produces one wrong piece in the middle of an otherwise correct run. Checking these against the actual data, rather than a sample, is what prevents a reprint. Merging a short test set that deliberately includes the awkward records is the cheapest check available, and it catches all four faults before any paper is used.

Why does encoding matter?

Because it decides how characters are stored, and a mismatch between how a file was written and how it is read produces damaged text rather than an error. Accented names, non-Latin scripts and typographic punctuation are where it shows, and the damage appears only in the records that contain them.

UTF-8 is the safe default, but a spreadsheet exported with regional defaults may not use it. The reliable check is to open the exported file and look specifically at records you know contain accents or unusual characters, rather than scrolling the first few rows.

What goes wrong with delimiters?

A delimiter appearing inside a field splits that row where it should not. A company name containing a comma in a comma-separated file shifts every subsequent column by one, so the town lands in the postcode field and the last column falls off the end.

Proper quoting handles it, and most exporters do quote correctly, but files assembled by hand or concatenated from several sources often do not. Because the row still parses, the failure is silent: the merge produces output for that record with plausible-looking content in the wrong places.

How should field length be handled?

Design to the longest realistic value, not the average. A name field sized around eight characters looks correct across most of a list and oversets on the longer entries, and because only affected records fail, a proof of the first few rows shows nothing wrong.

The practical step is to measure the data before designing to it. Sorting each variable column by length and reading the longest entries takes a moment and tells you what the template actually has to accommodate, including empty values where an optional field is blank.

What about variable images?

Every referenced image must exist and resolve for every row, and the usual failures are a missing file, a path that was correct on the machine that built the data, and inconsistent capitalisation that works on one system and not another.

Verify by checking the references rather than the output, since a missing image may produce a blank area rather than a visible failure. Confirming that each referenced file exists before merging is far cheaper than finding one blank piece in the middle of a delivered run.

Common data faults and how they show
FaultHow it appearsWhen it is found
Wrong encodingDamaged accented charactersOnly in affected records
Unquoted delimiterColumns shifted by oneSilently, content looks plausible
Field too longOverset or clipped textOnly in the longest records
Broken image pathBlank area on the pieceOften after printing
Empty optional fieldGaps or stray punctuationOnly where the field is blank

Common questions

Which records should I proof?

The longest, the last, and any containing accented or unusual characters. Overset text appears only where values exceed the space allowed, truncation faults cluster at the end of a run, and encoding damage shows only in records with special characters. A proof of the first few rows tests none of those.

Why did my merge shift columns?

Almost always a delimiter inside an unquoted field, such as a comma in a company name in a comma-separated file. Every column after it moves by one, and because the row still parses the output looks plausible rather than broken, which is what makes it easy to miss.

What encoding should the data use?

UTF-8 is the safe default, but confirm what your exporter actually produced rather than assuming, since spreadsheet applications may follow regional defaults. Check by opening the exported file and looking at records you know contain accents or unusual punctuation.

How do I size a variable field correctly?

Measure the data instead of estimating. Sort each variable column by length, read the longest entries, and design the template to accommodate those rather than the typical case. Also check what happens when an optional field is empty, which can leave gaps or stray punctuation.

Should I check images before merging?

Yes, because a missing image often produces a blank area rather than an error. Confirming that every referenced file exists, and that capitalisation matches on case-sensitive systems, is much cheaper than discovering one blank piece in the middle of a delivered run.