The PDF does not look like the screen
The page count or the layout of the PDF differs from the editor. How to check and fix it.
The editor and the PDF use the same layout engine. Differences almost always have a simple cause.
Check
Click Check pagination in the status bar. The server prints the PDF and compares its page count with the screen's.
One page more on screen
The editor shows empty blocks so that you can click them. The PDF does not print them. On a template where several fields are empty, the screen can therefore count one page more. This is not an error.
The real data is longer
The editor shows the sample data. A real document, with a longer address or thirty more rows, takes more room. Test with realistic data by filling in the document, or use cutting at a number of characters.
The PDF uses an old version
Save the template (or make it available), then generate again.
The font changes
See A font does not show.
Printing from the browser
Do not print the editor with Ctrl+P: the browser scales the page and adds its own margins. Use Preview or the final PDF.