# Customising your PDF

The PDF Creator plugin comes with a number of options that allow you to customise your PDF

<table><thead><tr><th width="206">Option</th><th width="137">Type of field</th><th>What it does</th></tr></thead><tbody><tr><td>Field Name</td><td>text</td><td>Set the name of the PDF file your user creates</td></tr><tr><td>Auto download</td><td>yes/no</td><td>Choose whether you want the PDF to automatically download in the browser</td></tr><tr><td>Save to database</td><td>yes/no</td><td>Choose whether you want to save the PDF to your Bubble database</td></tr><tr><td>Scale</td><td>number (1-10)</td><td>The scale used for rendering the PDF. A higher value will result in a higher quality image, but also a larger file size and a longer time to create the PDF.</td></tr></tbody></table>

There are also a number of options that allow you to customise the layout of your PDF

<table><thead><tr><th width="206">Option</th><th width="137">Type of field</th><th>What it does</th></tr></thead><tbody><tr><td>Orientation</td><td>text</td><td>Choose either 'Landscape' or 'Portrait'</td></tr><tr><td>Top Margin</td><td>number</td><td>Sets a top margin in your PDF (in px)</td></tr><tr><td>Left Margin</td><td>number</td><td>Sets a left margin in your PDF (in px)</td></tr><tr><td>Bottom Margin</td><td>number</td><td>Sets a bottom margin in your PDF (in px)</td></tr><tr><td>Right Margin</td><td>number</td><td>Sets a right margin in your PDF (in px)</td></tr><tr><td>Format</td><td>text</td><td>Select the dimensions of your PDF</td></tr><tr><td>Custom Dimensions</td><td>number</td><td>Only applies if you select 'custom' for the 'Format'. Allows you to specify height and width in px for the PDF. Syntax is 'width, height' (EG: 400, 800)</td></tr><tr><td>Pagebreak</td><td>yes/no</td><td>Sets pagebreaks to avoid elements overlapping on pages of the PDF. See <a href="/pages/bjquHFBJAorPbC6fGVrw">this section</a> for more details.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cranford-tech.gitbook.io/pdf-creator/implementing-key-features/customising-your-pdf.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
