Two job conditions change how you configure the template before running the merge:

  • 1-up pages vs. multi-up layout grids: Export 1-up card pages when your print partner handles press-sheet imposition. Use the Data Merge Layout tool only when generating multi-up proof sheets or custom gang-up layouts where you control the exact sheet size and gutters.
  • UTF-8 CSV vs. XLSX: Use XLSX when your card text contains multi-line descriptions, commas, or non-Latin scripts without manual escaping. Use UTF-8 CSV for automated text pipelines, ensuring every file is saved with UTF-8 encoding so diacritics and symbols do not corrupt during import.

For broader prepress setup and alternative layout tools, see the prepress software guides.

Prepress Specifications for Merged Deck Files

Set the document profile and master template dimensions to match your contracted card trim before binding any data fields. Do not apply a generic trim size; build the page to the exact finished dimensions specified for the deck.

Specification Requirement
Color mode CMYK with separate spot layers for foil, spot UV, or white ink masks
Image resolution ≥300 DPI at final placed size
Bleed 3 mm (0.118 in) per side
Safety margin ≥3 mm (0.118 in) from trim; ≥4–5 mm (0.157–0.197 in) for bordered backs
Die-cut corner radius R3–R3.5 mm (R0.118–R0.138 in); keep corner pips and indices clear of the arc
Black ink & TAC 100% K for fine text; rich black C40–60 M30–40 Y30–40 K100 for fills; TAC ≤280%–300%
Export standard PDF/X-1a or PDF/X-4 with all fonts embedded or outlined

Preparing the Data Source (UTF-8 CSV vs. XLSX)

Structure the spreadsheet so each row represents one card record and each column represents a single text slot, numeric value, or artwork path.

  1. Normalize column headers: Use short, ASCII-only header names without spaces (for example, card_title, art_path, rules_en) so field bindings remain legible in the Fields panel.
  2. Format image paths: Store exact file paths (or paths relative to the .afpub file) to high-resolution ≥300 DPI artwork. Avoid linking low-resolution web previews or uncropped assets that fall short of the 3 mm (0.118 in) bleed edge.
  3. Expand quantities if needed: Affinity Publisher merges one record per row. If a deck requires three copies of the same card in a 1-up export, duplicate the row three times in the source file or supply a separate quantity manifest for imposition.
  4. Isolate multilingual black-plate swaps: Keep shared CMYK backgrounds and frame artwork on static Master Page layers, and store each language edition in its own column (such as rules_en, rules_de, rules_fr). Generating a separate merged document per language column keeps the CMYK plates identical and limits changes to the 100% K text layer.

Master Template Setup and Field Binding

Build the card geometry, bleed guides, and spot-color layers on a Master Page before placing mergeable containers.

  1. Configure the page or grid:
    • For 1-up press exports, set the document page size to the exact card trim with 3 mm (0.118 in) bleed on all four sides, and place your frame text and Picture Frame objects directly on the page.
    • For multi-up sheets, select the Data Merge Layout tool, drag a grid across the sheet, and set the row/column count and cell gutters in the context toolbar. Place text frames and Picture Frames inside the top-left cell; Affinity Publisher replicates the layout across all cells in the grid.
  2. Bind text fields: Open Window > References > Fields, select the target text frame, and double-click the corresponding data source field under Data Merge. Assign a paragraph style locked to C0 M0 Y0 K100 (100% K) for all fine body text and rules so variable text never converts to four-color black.
  3. Bind artwork to Picture Frames: Draw a Picture Frame extending to the outer 3 mm (0.118 in) bleed line, select the frame, and double-click the image path field in the Fields panel. Set Picture Frame Properties to Scale to Max Fit (or Scale to Min Fit with centered anchor, depending on whether the source art includes bleed) so every card fills the bleed box without exposing white edges.
  4. Separate specialty layers: Keep die-line guides, white-ink underbases, and spot-finish masks on dedicated, named top-level layers set to overprint where required by the finish, rather than flattening them into the variable Picture Frame.

Previewing Records, Generating the Merge, and PDF/X Export

Never export a print PDF directly from the unmerged template; always generate a resolved document first so preflight checks run against actual record content.

  1. Link the source in Data Merge Manager: Open Document > Data Merge Manager, click Add Data Merge Source, and select your UTF-8 CSV or XLSX file. Confirm that the reported record count matches your deck list.
  2. Preview boundary records: Enable Preview with Record and step through the longest card titles, densest rules blocks, blank/optional fields, and cards with corner indices near the R3–R3.5 mm (R0.118–R0.138 in) die-cut zone.
  3. Verify overflow and framing: Check for red overflow-text eye icons on text frames and confirm that Picture Frames do not clip vital borders inside the ≥3 mm (0.118 in) safety zone (or ≥4–5 mm / 0.157–0.197 in on bordered backs).
  4. Generate the merged document: In Data Merge Manager, set the record range (All Records or a specific range) and click Generate. Affinity Publisher creates a new, unlinked .afpub file containing every merged card page or sheet.
  5. Preflight and export PDF/X: Open Window > Preflight on the generated .afpub to verify zero missing fonts, zero broken image links, and ≥300 DPI effective resolution. Export via File > Export > PDF using PDF/X-1a:2003 or PDF/X-4, with Include bleed checked and fonts embedded or outlined.

Sign-Off Criteria Before Print Release

Inspect the exported PDF/X in a separation-capable viewer before releasing files to press:

  • Page count and order: Total exported pages match the deck card count (or total imposed sheets).
  • Bleed and safety: All variable backgrounds extend cleanly across the 3 mm (0.118 in) bleed; critical text and pips stay inside the ≥3 mm (0.118 in) safety margin (≥4–5 mm / 0.157–0.197 in on bordered backs) and clear of R3–R3.5 mm (R0.118–R0.138 in) corners.
  • Separations and TAC: Variable body text reads exclusively on the K plate (100% K), rich black fills stay within C40–60 M30–40 Y30–40 K100, Total Area Coverage remains ≤280%–300%, and spot/white-ink layers appear as distinct spot separations.
  • Resolution and fonts: All resolved Picture Frame images report ≥300 DPI effective resolution, and all fonts are embedded or converted to curves.

Common Failure Modes and Fixes

Failure Mode Cause Fix
Corrupted accents or shifted columns CSV saved in ANSI/Windows-1252 or unquoted commas in rules text Re-save the CSV as UTF-8 with quoted fields, or switch the data source to XLSX.
Missing images or blank Picture Frames Broken relative file paths or unmounted network folders Place artwork in a subfolder beside the .afpub file, update paths, and check Resource Manager after Generate.
Clipped text on dense cards Fixed text-frame height without checking long records Preview the longest record in Data Merge Manager and adjust font size, leading, or frame bounds before generating.
Four-color black on variable text Default RGB or rich-black swatch applied to the merged text style Edit the paragraph/character style to C0 M0 Y0 K100 on the master template and regenerate.
Bleed gaps at card edges Picture Frame sized to trim instead of bleed, or wrong scaling mode Snap Picture Frames to the outer 3 mm (0.118 in) bleed guide and verify scaling on edge-case aspect ratios.
Misaligned fronts and backs in grids Multi-up back sheet not mirrored horizontally relative to the front Export 1-up pages for partner imposition, or reverse the column order per row in the back-side data source.