Skip to content

Preview & export

The editor shows your design, with variables as chips, one copy of each repeated group and every page once. Preview and Imprime show the document itself: the real values, conditions applied, lists and pages repeated, and page numbers counted.

Click Preview at the top right of the editor. If the template has variables, the Variable Values form opens first. It has one field per variable (a text field, a switch, an image picker, or a table for a list), pre-filled with the defaults. Required fields are marked, and limits are counted as you type.

The Variable Values form, before a preview

Click Preview to open the preview page, which shows every page of the PDF.

  • Imprime downloads the PDF.
  • Edit template takes you back to the editor.
  • Refresh draws the preview again from the template as it is now, with the same values, so you can edit the template and refresh to check the change.

A preview stays available for 24 hours, to you only. If some content doesn’t fit, the preview says so above the pages (see Warnings).

Click Imprime at the top right of the editor.

  • If the template has no variables, the PDF is generated and downloaded right away.
  • If it has variables, the same Variable Values form opens. Click Export PDF.

The file is named after the template: <title>.pdf.

  • Each page becomes one PDF page, in the order of the pages panel. A repeated page is exported once per item of its list, and a page whose condition fails is left out. If no page is left, the export fails.
  • Each page has the template’s size, in points.
  • Shapes are drawn in their stacking order. Hidden shapes and shapes whose condition fails are left out, and the groups around them close up.
  • Text stays text, in embedded fonts, so it can be selected, searched and copied.
  • Page numbers are counted in the final PDF, after repeats and conditions.

Nothing flows from one page to the next. When content starts beyond the bottom or the right edge of its page, usually because a list is longer than the room left for it, it is left out of the PDF and the export says so: Page 2: 3 shapes start beyond the edge of the page and are left out of the PDF. The PDF is still generated.

Fix it in the template or in the data: limit the list with max items, give it more room, or spread it over several pages (see Page options).

Message Fix
Required variable "X" is missing Fill in X. For lines[2].label, fill in that field of the third item
Variable "X" is longer than its max length of N characters Shorten the value, or raise the variable’s max length
Variable "X" has more than its max of N items Remove items, or raise the list’s max items
Variable "X" is not a PNG or JPEG data URL Use a PNG or JPEG image
No page to export: every page is left out by its condition, or repeated for an empty list Check the page conditions, and that repeated pages get items
Too many PDF exports in progress: try again in a moment Wait a second and retry: exports run a few at a time
PDF generation timed out after 30s Reduce the number of pages or the size of the images

The Imprime button is meant for one-off documents. To generate many, use the same renderer through the API or MCP: