> For the complete documentation index, see [llms.txt](https://docs.reportandrun.com/manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.reportandrun.com/manual/readme/report-generation/generate-a-pdf.md).

# Generate a PDF

Download a PDF version of your report for saving and sharing.

1\. Click **Publish** near the top-right corner of the report screen.

2\. Choose **Generate PDF** from the drop-down menu.\
![](https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FMprqbGr2uzjw723JNs0p%2Fgenerate-pdf-create2.jpg?alt=media\&token=4b7c275d-7161-41d3-bfba-31937ca98f67)

{% hint style="info" %}
Other document formats - including XLSX and DOCX - are available in the Publish menu.\
&#x20;![](https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FyEBJAmWT6mN4RSZaQ8KG%2Fgenerate-pdf-version-options.jpg?alt=media\&token=741af3bf-f101-400c-b924-81ee1a620641)
{% endhint %}

3\. In the *Publish* window, you can adjust the report template by clicking one of the layout icons in the center of the screen. \
![](https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FwTT1X1ngZHAZL2VJmiQq%2Fgenerate-pdf-switch-template.jpg?alt=media\&token=a86e5c8d-c0d6-478f-b783-fbd3fe1763b9)

4\. Click **Create**.\
![](https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FlIjiEa8tmJ8hiLorNSHL%2Fgenerate-pdf-create.jpg?alt=media\&token=b225db2e-1d00-4d5e-8593-6b123cd47f8e)

5\. An orange bar will appear at the top of the screen as the report is generating. This bar will turn green when the report is complete.

6\. Click the report name in the center of the green bar to download your PDF. \
![](https://2258011682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FckLB3gwA2WX6jXVfuW08%2Fuploads%2FDU8QQPYa0tuXFB30i4OS%2Fgenerate-pdf-report-complete.jpg?alt=media\&token=1bd96bd5-bb7c-435c-a6ba-53f7c907959a)<br>

{% content-ref url="/pages/gN5HMI7cPxbNk7jXlNma" %}
[Quick Start Guide](/manual/readme/quick-start-guide.md)
{% endcontent-ref %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.reportandrun.com/manual/readme/report-generation/generate-a-pdf.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
