Print Settings ​

Print Settings holds the printing rules for the whole site. Open Print Settings from the search bar. You need the System Manager role to change them.

ERPNext runs in the browser, so your browser sends the final print to the printer.

PDF Settings ​

SettingDefaultWhat it does
Send Print as PDFOnAttaches documents to emails as PDF files. Clear it to send the print as HTML.
Repeat Header and FooterOnPrints the letter head header and footer on every page of the PDF. Clear it to print them only once.
PDF Page SizeA4The paper size of the PDF. Select Custom to enter PDF Page Height (in mm) and PDF Page Width (in mm).
PDF GeneratorwkhtmltopdfThe program that makes the PDF: wkhtmltopdf or chrome.

Page Settings ​

SettingDefaultWhat it does
Print with letterheadOnSelects the letter head option in the print view. The document must have a letter head, or a default letter head must exist.
Compact Item PrintOnPrints the item table with fewer columns. The item code, name, and other details print inside the Description column.
Print UOM after QuantityOffPrints the unit of measure next to the quantity.
Allow Print for DraftOnLets users print documents that are saved but not submitted.
Always add "Draft" Heading for printing draft documentsOnPrints "Draft" on drafts, so that nobody takes them for final documents.
Allow page break inside tablesOffLets a long table row continue on the next page.
Allow Print for CancelledOffLets users print cancelled documents.
Print taxes with zero amountOffPrints tax rows whose amount is zero. By default, only taxes with an amount print.

Compact Item Print, Print UOM after Quantity, and Print taxes with zero amount are added by ERPNext. The other settings come from the Frappe Framework.

Select Enable Print Server to send prints to a network printer through a CUPS print server. ERPNext stores the server in Network Printer Settings:

FieldDefaultWhat it is
Server IPlocalhostThe address of the CUPS server.
Port631The port of the CUPS server.
Printer Name-The printer to use. ERPNext lists the printers that the server reports.

A self-hosted site needs the pycups Python library. Install the CUPS development library first, and then install pycups from the frappe-bench directory:

bash
# Debian and Ubuntu
sudo apt-get install libcups2-dev
# Red Hat family
sudo yum install cups-libs

./env/bin/pip install pycups

Raw Printing ​

SettingDefaultWhat it does
Enable Raw PrintingOffSends raw commands to thermal and label printers through QZ Tray. Read Set up raw printing.
SettingDefaultWhat it does
Print StyleRedesignThe CSS style for all print formats. Read Apply a print style.

Fonts ​

SettingDefaultWhat it does
FontDefaultThe font of the print.
Font Size-The base font size of the print.