# Customize the print template of a document

## Overview

[Video: Customize the print template of a document](https://www.youtube.com/watch?v=Scn4qvu9xt0)

This flow describes how to give one document its own [print template](https://docs.ohc.network/concepts/platform/print-template.md) in Care, for example a different paper size for invoices.

The document's own template replaces the default template for that document only.

## Pre-requisites

* You belong to the facility and can open it in Care.
* If you want the document to start from the default template, the facility has a default template. See [Set up the default print template](https://docs.ohc.network/flows/platform/print-template/set-up-the-default-print-template.md).
* If you add an image, you have its web address. Care has no upload for print template images.
* If you add an image, it is a PNG, JPEG, GIF, WebP or SVG file.
* If you add an image, the website that holds it allows Care to load it (cross-origin resource sharing).
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Update on Facility | Lets you open **Print Templates** and save the template of a document. You need it in the facility's root organization, which Care names Administration. Facility Admin, Administrator and Staff have it by default. |

## Steps

### 1. Open Print Templates

In the facility sidebar, under **Administration**, select **Settings**.

Care shows the settings sidebar of the facility.

Under **Facility**, select **Print Templates**.

![The facility sidebar, with Settings outlined under Administration](/assets/images/customize-a-document-print-template-1-9fd35be0b8e26d50957e3b617117a6fc.webp)

### 2. Find the document

In **Document Templates**, find the group of the document: **Billing**, **Appointments**, **Clinical** or **Pharmacy & Inventory**.

Find the row of the document, for example **Invoice** in **Billing**.

For the documents in each group and the printouts that each row changes, see [Documents a template affects](https://docs.ohc.network/concepts/platform/print-template.md#documents-a-template-affects).

The row shows how the document prints now:

* **Uses the default template**: the document prints with the default template.
* **Uses the standard layout**: the facility has no default template.
* **Custom**: the document already has a template of its own.

![The Billing group of Document Templates, with the Invoice row that uses the default template](/assets/images/customize-a-document-print-template-2-7462e0ebb09fda290a6a0275a5cc51b6.webp)

### 3. Open the template of the document

If the document has no template of its own, select **Customize**.

If the row shows **Custom**, select **Edit**.

Care opens a sheet with the name of the document in its title, for example "Invoice Template".

If the facility has a default template and the document has no template yet, the sheet says "Starts with a copy of the default template. Changes apply only to Invoice prints." The fields show the settings of the default template.

In other cases, the sheet says "Used for Invoice prints instead of the default template."

![The Invoice Template sheet, which starts as a copy of the default template](/assets/images/customize-a-document-print-template-3-eb8ea8e35155d572f94fbd4969cffda1.webp)

### 4. Change the settings

Change only what this document needs.

The sheet has the same four sections as the default template. For each field, see [Set up the default print template](https://docs.ohc.network/flows/platform/print-template/set-up-the-default-print-template.md).

| Section | What it sets |
| - | - |
| **Page Settings** | The paper size, the orientation and the margins. |
| **Branding** | The **Logo**, the **Header Image** and the **Footer Image**, each by its web address. |
| **Watermark** | A text that prints across every page. |
| **Print Setup** | **Auto Print**, which opens the print dialog by itself when the document opens. |

Note: The template of the document replaces the default template completely. A setting that you clear does not come back from the default template.

Note: **Medication Administration** always prints in landscape. **Portrait** has no effect on it.

Note: The print screen for the charge items of an account has its own **Hide Header** option. It leaves out the logo, the header image and the facility details, but the footer image still prints.

![The Page Settings section of the Invoice Template sheet, with A5 and Landscape selected](/assets/images/customize-a-document-print-template-4-935cde5580fbb5832500d1f52e4f54d4.webp)

### 5. Save the template

Select **Save**.

Care saves the template, shows **Print templates updated successfully**, and closes the sheet.

Note: For a new template, **Save** is available at once. If the facility has a default template, the new template starts as a copy of it. If you save without changes, the document keeps that copy.

Note: If the facility has no default template and you save without changes, the document prints with the standard layout. A default template that you set up later does not change this document.

Note: For a template that is already saved, **Save** stays disabled until you change something.

![The Invoice row after saving, with the Custom badge and A5, Landscape and Watermark](/assets/images/customize-a-document-print-template-5-3277ee0a2e026e1acd6a804a85d28a89.webp)

## Expected Outcome

* The row of the document shows the **Custom** badge, a summary of its template, and **Edit**.
* The printouts of that document use its own template. Other documents do not change.
* Later changes to the default template no longer reach this document. To make the document follow the default template again, reset its template. See [Reset or remove a print template](https://docs.ohc.network/flows/platform/print-template/reset-or-remove-a-print-template.md).

## Related

Concepts:

* [Print template](https://docs.ohc.network/concepts/platform/print-template.md)

Flows:

* [Set up the default print template](https://docs.ohc.network/flows/platform/print-template/set-up-the-default-print-template.md)
* [Reset or remove a print template](https://docs.ohc.network/flows/platform/print-template/reset-or-remove-a-print-template.md)
