Customizing the PDF
Learn how to set margins, headers, footers and other options.
Job parameters
When creating jobs, the following parameters are available to customize the PDF output.
You can set these parameters either as form data or as a JSON object in the body of the request.
This is an example of submitting parameters as a JSON object, using the curl
command line tool. This example uses an external file - body.json
- which contains the API parameters as JSON-formatted data.
Custom page sizes
To use a custom page size, provide height
and width
values within the page_size
parameter.
Here's an example of specifying a custom page size using JSON:
Size units
You can specify page height or width in millimetres (mm
) or inches (in
). If you don't specify a unit, inches are assumed. For example, these are all valid heights or widths:
11.5in
8in
300mm
155mm
12
(interpreted as 12 inches)
Last updated