Reputation: 67
I am trying to create a print out for Bill of Materials using Advanced PDF in Netsuite. I am using source code. How can I changed the orientation of my print out from portrait to landscape? I know that when using WYSWYG, I can just simply choose the orientation in the Template Setup but that option is not available when using Source Code.
Thanks!
Upvotes: 2
Views: 3920
Reputation: 3783
You can set the page size with the size
attribute on the <body>
tag.
<body size="A4-landscape">
or
<body size="letter-landscape">
Upvotes: 11