# Reset or remove a print template

## Overview

[Video: Reset or remove a print template](https://www.youtube.com/watch?v=TjlnsV8FPhY)

This flow describes how to reset the [print template](https://docs.ohc.network/concepts/platform/print-template.md) of a document, remove the default template, or remove an unrecognized template in Care.

After a reset, the document prints with the default template again, or with the standard layout if the facility has no default template.

## Pre-requisites

* You belong to the facility and can open it in Care.
* The template that you want to reset or remove is saved. Care offers **Reset to Default** and **Remove Template** only for a saved template.
* The facility has at least one other print template. If this template is the only one, Care keeps it.
* You have the permissions listed below.

## Permissions

| Permission | Access |
| - | - |
| Can Update on Facility | Lets you open **Print Templates**, and reset or remove print templates. 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/reset-or-remove-a-print-template-1-9fd35be0b8e26d50957e3b617117a6fc.webp)

### 2. Open the template

Find the row of the template:

| Template | Where to find its row |
| - | - |
| The template of a document | In **Document Templates**, the row of the document with the **Custom** badge. |
| The default template | In **Default Template**, the **Default** row. |
| An unrecognized template | In **Unrecognized Templates**, the row that shows the identifier of the template. |

On the row, select **Edit**.

![The Invoice row with the Custom badge and its Edit button](/assets/images/reset-or-remove-a-print-template-2-1192ce9f66d80e113414fad690f8ee97.webp)

### 3. Reset or remove the template

At the bottom of the sheet, select the button for the template:

| Template | Button |
| - | - |
| The template of a document | **Reset to Default** |
| The default template | **Remove Template** |
| An unrecognized template | **Remove Template** |

![The Invoice Template sheet, with the Reset to Default button outlined at the bottom](/assets/images/reset-or-remove-a-print-template-3-ebf76bf13e4888beecc7e783a8452101.webp)

### 4. Confirm

Care asks you to confirm. The dialog shows the name of the template in its title.

| Template | Dialog title | Dialog text |
| - | - | - |
| The template of a document, while the facility has a default template | "Reset Invoice template?" (with the name of the document) | "Invoice prints will use the default template." |
| The template of a document, while the facility has no default template | "Reset Invoice template?" (with the name of the document) | "Invoice prints will use the standard layout." |
| The default template | "Remove Default template?" | **Documents without their own template will print with the standard layout.** |
| An unrecognized template | "Remove \[identifier] template?" (with the identifier of the template) | **This template will be deleted.** |

In the dialog, select the button with the same label as in step 3: **Reset to Default** or **Remove Template**.

To keep the template, select **Cancel**.

Care saves the change and shows **Print templates updated successfully**.

Note: If this template is the only print template of the facility, Care keeps it, although it shows **Print templates updated successfully**. The row does not change.

Note: A reset or a removal works only while the facility has at least one other print template. To reset the only document template, set up the default template first. Then reset the document template.

![The Reset Invoice template? dialog, which says that Invoice prints will use the default template](/assets/images/reset-or-remove-a-print-template-4-301bf876f3eee2e5615802b3c04f9759.webp)

![The Invoice row after the reset, which uses the default template again](/assets/images/reset-or-remove-a-print-template-5-243179066cc35fe3eb1dc0dbaefff1c3.webp)

## Expected Outcome

* After you reset the template of a document, the row loses the **Custom** badge. It says **Uses the default template**, or **Uses the standard layout** if the facility has no default template.
* The document then prints with the default template, or with the standard layout.
* After you remove the default template, the **Default** row says **Not set up. Documents print with the standard layout.**
* Documents without a template of their own then print with the standard layout. Documents with a template of their own do not change.
* After you remove an unrecognized template, its row is gone. When no unrecognized templates remain, the **Unrecognized Templates** section is gone too.

## 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)
* [Customize the print template of a document](https://docs.ohc.network/flows/platform/print-template/customize-a-document-print-template.md)
