Netsuite Advanced PDF

iDi*_*ess 1 html pdf freemarker netsuite bfo

我正在尝试使用Netsuite中的Advanced PDF为Bill of Materials创建打印输出.我正在使用源代码.如何将打印的方向从纵向更改为横向?我知道在使用WYSWYG时,我只需在模板设置中选择方向,但在使用源代码时该选项不可用.

谢谢!

mic*_*oel 6

您可以使用标记size上的属性设置页面大小<body>.

<body size="A4-landscape">
Run Code Online (Sandbox Code Playgroud)

要么

<body size="letter-landscape">
Run Code Online (Sandbox Code Playgroud)

链接到文档