Skip to main content

How to set margins for output PDF

Updated over 12 months ago

How to set margins for output PDF

For Zapier, Integromat and others plugins insert custom profiles into profiles field. For API calls please set value as string in profiles parameter as string.

You can set margins for the output PDF using profiles as well. Example:

{ "orientation": "Landscape", "margins": "10px 20px 50px 10px "}

The order of margin parameters margins is the following: top, right, bottom, left

Or you can set one single margin value and it will apply for all sides. For example, to set 10px margin for all sides:

{ "margins": "10px"}
Did this answer your question?