Design a print format with the Print Format Builder ​

The Print Format Builder lets you build a print layout by dragging fields onto the page. Use it when the standard print format shows the wrong fields or the item table has too many columns.

You cannot edit the standard print format. The builder saves your layout as a new print format.

Prerequisites ​

  • The System Manager role.

Open the builder from a document ​

  1. Open a document of the type that you want to print, for example a Purchase Order.
  2. Select the Print icon.
  3. In the print view, open the menu and select Customize.
  4. Enter a name for the new print format, and continue.

You can also open the Print Format Builder from the search bar, select the DocType, and then select an existing print format to edit or create a new one.

Add and remove fields ​

  1. Find the field in the sidebar. Use the search box to find it by label.
  2. Drag the field to its place on the page.
  3. To remove a field, drag it from the page back to the sidebar.
  4. To change a section or a field, select its settings icon.
  5. Select Save.

For example, to show the supplier's contact name below the supplier name, drag Contact Person below Supplier Name.

Choose the columns of the item table ​

  1. On the page, find the table, for example Items (Table).
  2. Select Select Columns.
  3. Select the columns to print, and clear the columns to hide.
  4. Set the width of each column, and drag the columns into the order that you want.
  5. Select Update, and then select Save.

Add custom text or HTML ​

  1. Drag the Custom HTML block from the sidebar to the page.
  2. Select Edit HTML, and enter your text or HTML.
  3. Select Save.

Use the new print format ​

  1. Reload the page.
  2. Open the print view of a document.
  3. Select your print format in the print format dropdown.

To use the format by default, set it as Default Print Format in Customize Form.

Troubleshooting ​

Removing the description also removes the item code and name ​

When Compact Item Print is on in Print Settings, ERPNext prints the item code, name, and other details inside the Description column. Clear Compact Item Print in Print Settings, and then remove the description column.