Choose the preview order
Use the order picker above the page:
The page, block conditions and the customer’s language all follow the order you pick. Nothing is printed, numbered or saved by previewing.
Templates that print one document for all the selected orders always preview with three sample orders, so they have no order picker.
Preview the PDF
Click Preview PDF above the page. Foliant renders your current version, including unsaved changes, as the PDF your customers and printer will get, and shows it in a PDF preview window. Use it to check page breaks and fonts: the page in the editor shows only about where pages break (“About where the page breaks for this order. Preview PDF shows the exact pages.”). Nothing is saved or issued.Set the paper size
Choose the paper in the Paper list in the editor’s top row. The page resizes straight away.
The paper is saved with the template, and when Require publishing is on, a new paper size stays in the draft until you publish. A receipt’s PDF is as long as its content. On receipts, visual templates leave out wide columns and stack side-by-side blocks.
Zoom
Use the Zoom out and Zoom in buttons (− and +) above the page, from 50% to 100%. Zoom only changes your view, not the document.The document’s language and number format
Also in the top row:- Document language: Shop language (default), Customer’s language, or a fixed language. Dates and Foliant’s wording follow it.
- Second language: a language printed next to the first where a code template asks for it.
- Number format: Store money format, or Document language’s format (such as
1.234,56 €).
Good to know
- If the preview can’t be rendered, a banner says why, with the line of the Liquid error when it’s known. In the code editor, fix code errors first: “Fix code errors to update the preview”.
- A numbered document’s preview shows the number your next document would get, without using it up.
- Watermark: on / Watermark: off above the page opens the template’s watermark settings, which the preview shows too. See Add a watermark or stamp.