Forum How do I...?

Creating PDF in Landscape orientation

Using the linux version of princexml (licensed), I can't get the page orientation to be landscape. The content is formed in landscape, but the PDF page layout is portrait, so words run off the right hand side of the page.

Here's the beginning of my @page (it goes on for awhile, with @top and @bottom and other style declarations):

@page {
size: US-Letter landscape;
margin: 100px 50px 50px 50px;

I tried it with and without the margin:, too.

Nevermind. I was using FPDF/FPDI to add pages, and it was changing the orientation through defaults. It works now.