# PDF

## Requirements (self-hosted)

| GLPI Version | Minimum PHP | Recommended |
| ------------ | ----------- | ----------- |
| 10.0.x       | 8.1         | 8.2         |
| 11.0.x       | 8.2         | 8.4         |

{% hint style="info" %}
This plugin is available without a [GLPI Network](https://services.glpi-network.com/#offers) subscription. It is also available on [GLPI Cloud](https://glpi-network.cloud).
{% endhint %}

***

## Install the plugin

* Go to the marketplace. Download and install the plugin **PDF**

<div align="left"><figure><img src="https://3573604317-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUCcURk2xlvtpVGbiRZf%2Fuploads%2FHDAAZna0pIJ4LyU6hHyn%2FPDF.png?alt=media&#x26;token=7001375d-c0eb-4f55-8627-84db541c8d0b" alt="images/PDF-1.png"><figcaption></figcaption></figure></div>

***

## Set up the plugin

* From **Setup > General > Print to pdf**, select :
  * your preferred currency
  * Any text that will be displayed on the PDF.

<figure><img src="https://3573604317-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUCcURk2xlvtpVGbiRZf%2Fuploads%2Fgit-blob-c2ae084f71b2ac7ade06ec407c0c262b15987237%2FPDF-2.png?alt=media" alt="images/PDF-2.png"><figcaption></figcaption></figure>

***

## Using the plugin

{% hint style="info" %}
Printing a contract and its related elements
{% endhint %}

* From **Management > Contracts**, select the contract you require
* From the **Print pdf** tab
* Click on **Print**

<figure><img src="https://3573604317-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUCcURk2xlvtpVGbiRZf%2Fuploads%2Fgit-blob-c7b7268eacab586de2b8f2f86af9ac5fc8828f82%2FPDF-3.png?alt=media" alt="images/PDF-3.png"><figcaption></figcaption></figure>

<figure><img src="https://3573604317-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuUCcURk2xlvtpVGbiRZf%2Fuploads%2Fgit-blob-1c6f72f50592422d0f1f7d7af76c7a8157966031%2FPDF-4.png?alt=media" alt="images/PDF-4.png"><figcaption></figcaption></figure>


---

# 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://help.glpi-project.org/doc-plugins/plugins-glpi/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.
