5. How Do I Create Pages in Landscape Format?

You can set the page format for the whole document to US-Letter landscape:

@page { size: letter landscape }

or A4 landscape:

@page { size: A4 landscape }

You can also use landscape format for certain elements only:

@page landscape_page {size: A4 landscape}

<table style="page: landscape_page">...</table>

This creates a page break before and after this table.