> For the complete documentation index, see [llms.txt](https://vezolve.gitbook.io/activebooks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vezolve.gitbook.io/activebooks/printing/print-settings.md).

# Print Settings

In Print Settings you can set your printing preferences like Paper Size, default text size, whether you want to output as PDF or HTML, etc.

* Since ActiveBooks is a browser-based application, the actual print command is executed by the browser you're using.

**You can access to print settings via:**                                                                           Settings > Print Settings                                                                                                   &#x20;

![](https://429967333-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MgEi4gT9xOnYSAL1Pei%2F-Mi0gL5r9qQuGX9DkKAQ%2F-Mi18xH_uXezx-RjdbV7%2FPrint%20Settings.png?alt=media\&token=a9e28190-b618-4005-8254-ffff97e1fb98)

### 1. PDF Settings <a href="#id-1-pdf-settings" id="id-1-pdf-settings"></a>

#### 1.1 PDF or HTML <a href="#id-11-pdf-or-html" id="id-11-pdf-or-html"></a>

* When you email any document (like Sales Order/Invoice) from ActiveBooks, it is sent in the PDF or HTML format.                                          &#x20;
* The file is sent in PDF by default.
* If you wish to send a document in the HTML format, just uncheck the option "Send Print as PDF".

#### 1.2 Repeat Header and Footer in PDF <a href="#id-12-repeat-header-and-footer-in-pdf" id="id-12-repeat-header-and-footer-in-pdf"></a>

* The letterhead is a master where you can define the standard Header and Footer which is appended to the document's Print Format.
* If this property is enabled, then Header and Footer are added to each page.
* If you don't want header and footer repeat on each page, just disable this setting.

#### 1.3 PDF Page Size <a href="#id-13-pdf-page-size" id="id-13-pdf-page-size"></a>

* The default size for printing PDF pages is A4, you can change it to letterhead size.

### 2. Page Settings <a href="#id-2-page-settings" id="id-2-page-settings"></a>

#### 2.1 Print With Letterhead <a href="#id-21-print-with-letterhead" id="id-21-print-with-letterhead"></a>

* Enabling this property will automatically tick the Letter Head option when printing a document.
* Note that you need to either set Letter Head as default or select one in the transaction for it to appear in the print view.

#### 2.2 Compact Item Print <a href="#id-22-compact-item-print" id="id-22-compact-item-print"></a>

* Transactions like sales orders/invoices have a table detailing items bought or sold.
* It has multiple columns like Item Name, Description, UoM, Rate Amount, etc.
* If there are many columns in the Item table, then Print Format looks bit cluttered.
* You can improve the view of the table by enabling Compact Item Print.

-As per this setting, there will be only four columns in the Print Format, namely: Description, Qty, Rate, and Amount.                                                   -The values of other columns (like name, description, image, serial nos. etc.) are concatenated in the Description column.

![Normal Printing](https://429967333-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MgEi4gT9xOnYSAL1Pei%2F-Mi0gL5r9qQuGX9DkKAQ%2F-Mi1CNIg4p9xYDANbJGv%2FNormal.png?alt=media\&token=dba0b3eb-6566-46e5-b9f5-d0e5199b0b65)

![Compact Printing](https://429967333-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MgEi4gT9xOnYSAL1Pei%2F-Mi0gL5r9qQuGX9DkKAQ%2F-Mi1CTromRTQx2kWY-dW%2FCompact.png?alt=media\&token=151f3511-7c0e-4950-8d8e-1203ca49f684)

#### 2.3 Allow Print for Draft <a href="#id-23-allow-print-for-draft" id="id-23-allow-print-for-draft"></a>

* The documents (mostly transactions) have two stages of authentication, Save and Submit.
* The saved documents are the first draft and not submitted to the system.
* Hence printing is restricted for the documents at this stage.
* However, if you wish to permit users to print documents at the Draft stage as well, enable this checkbox.

#### 2.4 Always add "Draft" Heading for printing draft documents <a href="#id-24-always-add-draft-heading-for-printing-draft-documents" id="id-24-always-add-draft-heading-for-printing-draft-documents"></a>

* Enabling this setting also print "Draft" in the Print Format, thus indicating that document shared is not completely authenticated yet.

#### 2.5 Allow Page Break Inside Table <a href="#id-25-allow-page-break-inside-table" id="id-25-allow-page-break-inside-table"></a>

* If an item's description captures more than usual space of a page, then enabling this setting will split the item's details to the next page.
* Hence, a page break will be inserted between the Item Description, and the rest of the details will be pushed to the next page.

#### 2.6 Allow Print for Canceled <a href="#id-26-allow-print-for-canceled" id="id-26-allow-print-for-canceled"></a>

* Canceled transactions are the ones which don't have any impact on the reports.
* If you wish to allow printing for the canceled transactions, then enable this setting.
* A transaction can be canceled only once it is submitted.

#### 2.7 Print Taxes with Zero Amount <a href="#id-27-print-taxes-with-zero-amount" id="id-27-print-taxes-with-zero-amount"></a>

* In the sales and purchase transactions, you can add apply multiple taxes on the item.
* By default, in the print format, only taxes which have some amount calculated are visible.
* If you wish to also print the tax which was not applied and has zero tax amount, enable this setting.

### 3. Network Printer / Print Server <a href="#id-3-network-printer-print-server" id="id-3-network-printer-print-server"></a>

* You can enable print server by filling the print server IP and port. Then chose the default printer.

  Before enabling this feature you have to install the `pycups` library.

  You may need first to install `cups` library if is not already on your system

  For Debian OS Family:

  `sudo apt-get install libcups2-dev`

  For Red Hat OS Family:

  `sudo yum install cups-libs`

  After that, install `pycups` in the env using the command:

  `./env/bin/pip install pycups`

  This is executed from the `frappe-bench` directory.

### 4. Raw Printing <a href="#id-4-raw-printing" id="id-4-raw-printing"></a>

* You can enable raw printing and print to many supported thermal printers.
