About printing and print formats
A print format is the layout that ERPNext uses when you print a document, save it as a PDF, or attach it to an email. Every printable document, such as a Quotation, a Sales Invoice, or a Purchase Order, has at least one print format.
How a printed document is built
ERPNext builds each print from these parts:
| Part | What it controls | Where you set it |
|---|---|---|
| Print format | Which fields appear, and where | Print Format list, or the Print Format Builder |
| Letter head | Your logo, address, and footer at the top and bottom of the page | Letter Head list |
| Print heading | The title on the page, for example "Proforma Invoice" instead of "Sales Invoice" | Print Heading list |
| Print style | The CSS that sets fonts, colors, and spacing | Print Style list |
| Print settings | Site-wide rules, for example the PDF page size and whether drafts can print | Print Settings |
ERPNext renders the print on the server. Your browser then prints the page or downloads the PDF.
Types of print format
| Type | How you make it | Who it suits |
|---|---|---|
| Standard | ERPNext generates it from the form layout. You cannot edit it directly. | Everyone. It follows the form, so a field that you add to the form can appear in the print. |
| Print Format Builder | Drag and drop fields onto a page, and add custom HTML blocks. | Users who want a different layout without code. |
| Custom (HTML and Jinja) | Write the layout in HTML with Jinja tags. | Users who know HTML and need full control. |
| Raw printing | Write the printer's own command language. | Thermal receipt and label printers. |
To change the standard format, change the form: show or hide fields with Print Hide in Customize Form. To get a different layout, create a new print format.
Which tool to use
- To hide or show one field in the standard print, use Customize Form.
- To rearrange fields or remove item table columns, use the Print Format Builder.
- To design a fully custom layout, write an HTML and Jinja print format.
- To print on a thermal printer, set up raw printing.
- To print bank cheques, create a Cheque Print Template.
You need the System Manager role to create or edit print formats.