This is an archived forum post. The information may be outdated. Contact us if you have any questions.


wglass wrote on 2017-01-20:

How do I make my PDF be generated in landscape mode?

I'm submitting my request (for my paid account) as follows

<form name="downloadForm" target="_blank" id="convert-form" action="" method="post">
    <input id="downloadButton" type="submit" value="Download Certificate" name="downloadBtn" />

    <input id="convert_src" type="hidden" name="src" value="$downloadUrl">

    <input type="hidden" id="pdf_name" name="pdf_name" value="certificate"/>
    <input type="hidden" name="conversion_source" value="uri">

    <input type="hidden" name="width" value="8.5 in"/>
    <input type="hidden" name="height" value="11.0 in"/>
    <input type="hidden" name="margin_top" value="0.4 in"/>
    <input type="hidden" name="margin_left" value="0.4 in"/>
    <input type="hidden" name="margin_right" value="0.4 in"/>
    <input type="hidden" name="margin_bottom" value="0.4 in"/>
    <input type="hidden" name="pdf_scaling_factor" value="1" />

    <input type="hidden" name="use_print_media" value="true"/>

    <input type="hidden" name="username" value="xxx"/>
    <input type="hidden" name="key" value="xxx"/>

Thanks. WILL
support wrote on 2017-01-23:
Hello Will,

Swap the values of the width and height parameters. The following will generate landscape:
<input type="hidden" name="width" value="11.0 in"/>
<input type="hidden" name="height" value="8.5 in"/>