The second page will be empty. In your CSS you can set the @page property as shown below. You can point to so when the user selects print it prints the PDF. Be aware that page break control is little more than a suggestion to the browser. Imagine a block with five lines of text. Apply classes: Of course, you have to apply any classes you Warning: image-orientation: none; does not override the orientation of non-secure-origin images as encoded by their EXIF information, due to security concerns. PORTRAIT, LANDSCAPE, or a specific width and height, like size: 8.5in 11in;. Start with: , hector26-Lastname-Firstname.htm. Who prints web pages? I hear you cry! Site design / logo 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA. Choose Portrait or Landscape. For wkhtmltopdf, you would add the -0 landscape parameter to the wkhtmltopdf call. All the templates in the package are fully customizable so you can personalize them in any style you want. The example output is embedded in an