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
| Setting | Default | What it does |
|---|---|---|
| Send Print as PDF | On | Attaches documents to emails as PDF files. Clear it to send the print as HTML. |
| Repeat Header and Footer | On | Prints the letter head header and footer on every page of the PDF. Clear it to print them only once. |
| PDF Page Size | A4 | The paper size of the PDF. Select Custom to enter PDF Page Height (in mm) and PDF Page Width (in mm). |
| PDF Generator | wkhtmltopdf | The program that makes the PDF: wkhtmltopdf or chrome. |
Page Settings
| Setting | Default | What it does |
|---|---|---|
| Print with letterhead | On | Selects the letter head option in the print view. The document must have a letter head, or a default letter head must exist. |
| Compact Item Print | On | Prints the item table with fewer columns. The item code, name, and other details print inside the Description column. |
| Print UOM after Quantity | Off | Prints the unit of measure next to the quantity. |
| Allow Print for Draft | On | Lets users print documents that are saved but not submitted. |
| Always add "Draft" Heading for printing draft documents | On | Prints "Draft" on drafts, so that nobody takes them for final documents. |
| Allow page break inside tables | Off | Lets a long table row continue on the next page. |
| Allow Print for Cancelled | Off | Lets users print cancelled documents. |
| Print taxes with zero amount | Off | Prints 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.
Print Server
Select Enable Print Server to send prints to a network printer through a CUPS print server. ERPNext stores the server in Network Printer Settings:
| Field | Default | What it is |
|---|---|---|
| Server IP | localhost | The address of the CUPS server. |
| Port | 631 | The 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 pycupsRaw Printing
| Setting | Default | What it does |
|---|---|---|
| Enable Raw Printing | Off | Sends raw commands to thermal and label printers through QZ Tray. Read Set up raw printing. |
Print Style
| Setting | Default | What it does |
|---|---|---|
| Print Style | Redesign | The CSS style for all print formats. Read Apply a print style. |
Fonts
| Setting | Default | What it does |
|---|---|---|
| Font | Default | The font of the print. |
| Font Size | - | The base font size of the print. |