> For the complete documentation index, see [llms.txt](https://docs.ninox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ninox.com/builder-hub/visualize-and-organize-your-data/create-and-adjust-print-layouts.md).

# Create and adjust print layouts

## Create your first print layout <a href="#create-your-first-print-layout" id="create-your-first-print-layout"></a>

Use a print layout to control how a record turns into a PDF.

Print layouts help you decide what a PDF includes and how it is structured. Use them for customer-facing documents such as quotes, invoices, or confirmations, and for internal summaries. You can add text, images, fields, and linked records, then arrange them so each PDF shows the right information for its audience.

{% hint style="info" %}
Users with the **Admin** role can save print layout changes without turning on **Builder mode**.
{% endhint %}

{% stepper %}
{% step %}

#### Open the print editor

In a record form, click the <i class="fa-print">:print:</i> printer icon in the top right.\
You can also open the three-dot menu and select **Print this record**.

<figure><img src="/files/w4vDiVbMQEtU9UMiGR5c" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Review the first layout

The first time you open the print editor for a table, Ninox creates a layout with all current fields.\
Review this automatic layout before you start editing.
{% endstep %}

{% step %}

#### Add the content you need

Click **+ Insert** in the top bar.\
You can add **Text** , a static **Image**, and **Data** fields from your current table.

{% hint style="info" %}
Use **Text** to display static text or a value returned by a script.

For example, to show the client name from a linked record on an invoice, use `client.full_name`.
{% endhint %}
{% endstep %}

{% step %}

#### Arrange and edit the layout

Select an element to highlight its frame.\
Drag it to move it.\
Drag the square handles to resize it.\
Click **Edit script** **<>** to change the content of a field or element.
{% endstep %}

{% step %}

#### Check the settings panel

Use the right-side panel to adjust page and object settings.\
The available options depend on what is selected.\
For a full settings reference, see the overview below.
{% endstep %}

{% step %}

#### Save the layout

Click **Save changes** when you are done.\
If this is your first layout, enter a **Layout name** and click **Save**.
{% endstep %}
{% endstepper %}

## Manage print layouts

{% hint style="info" %}
You can save multiple print layouts in the same table.
{% endhint %}

After you save your first layout, Ninox opens it by default. If you save more than one layout, choose one from the drop-down list next to **Back**.

If you add fields to the table later, Ninox does not update saved layouts automatically. Add the new fields to the layout yourself if you want them to appear in the PDF.

Use the arrow next to **Save changes** to manage layouts:

Choose **New layout** when one table needs different PDF outputs.

* Enter a layout name.
* Choose a layout type:
  * **Blank** starts with an empty page.
  * **Automatic** adds all current fields and their labels.
  * **Copy current layout** creates a copy of the current layout.

<figure><img src="/files/TWjVwX45Hvjo0R0jsLhO" alt=""><figcaption></figcaption></figure>

From the same menu, you can also:

* Use **Save as** to save the current layout as a copy with a different name.
* **Rename** the current layout.
* **Discard changes** if you do not want to keep your edits.
* **Delete** the current layout.

## Edit layout elements

Existing print layouts stay editable at any time. When you open the print editor, you are already in edit mode.

* At the bottom of the page, use **Show grid** to show or hide the grid.
* Use the **Zoom** slider to zoom in or out.
* Use **Undo** and **Redo** to reverse or restore changes.
* Use **Cut**, **Copy**, and **Paste** to reuse recurring styles and content.
* Open the three-dot menu in the top bar to arrange and align elements:
  * **Send to front** and **Send to back**
  * **Align left**, **center**, or **right**
  * **Align top**, **middle**, or **bottom**
  * **Distribute horizontally**
* To remove an element, select its frame and click <i class="fa-scissors">:scissors:</i> **Cut**, or press <i class="fa-delete-left">:delete-left:</i> delete or <i class="fa-delete-right">:delete-right:</i> backspace on your keyboard.

Use the settings panel to adjust the layout. Available options depend on what you select.

Select the page to change page settings. Select a text, data, image, or linked table element to adjust its position, size, styling, and display options.

### Adjust page settings

Click an empty area or the page margin to edit the page layout. You can set:

* **Paper size**
* **Header and footer** height
* Page **Margin** width
* **Print attachments** to include record attachments in the PDF

<figure><img src="/files/aTT3cHuKxBTRefebc6N0" alt=""><figcaption></figcaption></figure>

### Adjust element settings for text, logic, or data fields

If you select a text box, logic, or data field, but not an image field, you can set:

* The page area, such as **Flow with content** or a repeating **Header** or **Footer**
* A fixed or automatic element **Height**
* The exact element **Position** with X and Y coordinates, plus **Width** and **Height**
* Inner **Padding** between the content and the element border
* **Colors** for the background and text
* **Border** color, width, and radius
* **Font** family and size
* Text formatting such as **Bold**, **Italic**, or **Underline**
* **Text** alignment
* Text **Line height**

<figure><img src="/files/y1sfV3pgluYHTlPY9EQz" alt=""><figcaption></figcaption></figure>

### Adjust image field settings

For an image field, you can set:

* The page area, such as **Flow with content** or a repeating **Header** or **Footer**
* A fixed or automatic height
* The exact element **Position** with X and Y coordinates, plus **Width** and **Height**
* **Colors** for the background and text
* **Border** color, width, and radius

<figure><img src="/files/aMowJrLU2RgfnE2C318w" alt=""><figcaption></figcaption></figure>

### Adjust content and column settings for linked tables

This section applies when the print layout shows records from a linked table.

Use these settings to control which linked records and columns appear in the PDF. This is useful, for example, when a customer should see only relevant details.

{% hint style="info" %}
These changes apply only to the print layout. They do not change the underlying linked table.
{% endhint %}

Select the table shown in the print layout for a field of type <i class="fa-arrow-left">:arrow-left:</i> **Link many records** to control its content and presentation in the PDF. You can use all options listed above for **Text**, **Logic**, and **Data** fields, except **Text** alignment and text **Line height**.

You can also use these linked-table options:

* **Show header** to show or hide the column titles
* **Show footer** to show or hide aggregation results for columns where you set an **Aggregation**
* **Hide columns**, **Filter**, and **Sort**
* **Border style** to choose how the table grid looks
* **Cell padding** to define the distance between the value and the cell borders

You can also change table columns directly in the selected table frame:

* Use **Hide columns**, **Filter**, and **Sort** at the top right
* In the drop-down menu for each column:
  * **Rename column**
  * **Duplicate column**
  * **Insert column left** or **right**
  * **Sort** in ascending or descending order
  * **Aggregation**, depending on the data type, which you can display in the footer with **Show footer**
  * **Hide column**

<figure><img src="/files/qb3MNkDJu0c77lZQpcWU" alt=""><figcaption></figcaption></figure>

## Generate a PDF <a href="#generate-a-pdf" id="generate-a-pdf"></a>

When your print layout is ready, click **Generate document** in the top right. By default, the PDF opens in your browser.

Click the arrow next to **Generate document** to choose what to generate:

* **Generate PDF for selected record**
* **Generate PDF for all records**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.ninox.com/builder-hub/visualize-and-organize-your-data/create-and-adjust-print-layouts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
