Screen, Print and PDF views
What each view shows and why they differ. Export and rendering in the DocStudio designer user guide.
The three buttons in the toolbar choose the render target of the preview. All three come from the same document and the same renderer, with different page rules.
| View | What it models | Header and footer |
|---|---|---|
| Screen | An on-screen sheet: the page content in one continuous sheet | Inside the sheet, above and below the body |
| The browser print layout, using page size and margins | Repeated on every page, in the margins | |
| The layout used by the PDF service, printed by Chromium | Printed by Chromium in the margins, from separate templates |
Why they look the same for some documents
A document made only of a fixed region, like a certificate, has no header, footer or margins, so all three previews are nearly identical. The differences show for flow documents with margins, a header or a footer.
Header and footer in Print and PDF
These views print the header and footer in the page margins. The canvas shows the page body only and displays a notice: "Header and footer print in the page margins and are not shown in this preview." The real print or PDF has them, with real page numbers.
Page numbers
A page number in the footer shows 1 in the Screen preview. In Print and PDF output it shows the real page and total.
No pagination in the preview
The canvas never draws page breaks. To check breaks, download the PDF or use the browser print dialog.
Which one to use
- Design in Screen.
- Switch to Print or PDF to check page size, margins and content.
- Download the PDF for the final check.
Limits
The previews use the browser's own fonts unless the host provides fonts. The PDF service embeds the host's fonts, so text metrics can differ slightly. See The PDF looks different.