Knowledge Base

Customize Print Format

  • 106views
  • February 7, 2024

Customize Print Format

Print Formats are predefined layouts generated for printing or emailing transactions.

This feature is useful for various transactions within BizCentric, including sales and purchase transactions, HR documents, and more.

In BizCentric, there are three types of Print Formats: Standard Print Format, Custom Print Format, and HTML Print Format.

Standard Print Format

Each Printable Document Type in BizCentric comes with its own Standard Print Format generated by the Frappe Framework. The layout of fields in the Standard Print Formats corresponds to the position of the respective fields in the document.

To make changes to the Standard Print Format, you’ll need to use Customize Form. You can also refer to the guide on adding fields in Print Formats for further assistance.

Custom Print Format

You can also generate your own personalized Print Formats using the Print Format Builder tool. This tool facilitates the creation of customized Print Formats by allowing you to drag and drop fields into a format according to your requirements.

When creating Custom Print Formats, BizCentric offers a variety of predefined templates in three styles: Modern, Monochrome, and Classic.

To create your versions, open an existing template from:

> Build > Views > Print Format

To edit/update your print and PDF settings, go to:

> Settings > Print Settings

HTML Print Format

To create an HTML Print Format, some familiarity with HTML, CSS, and Python is necessary. Here’s an example demonstrating how a Print Format with a specific format can be designed.

Print Formats are rendered on the server-side using the Jinja Templating Language. Each form can access the doc object, which holds details about the document being formatted. Additionally, common utilities are accessible through the frappe module. If you need assistance while crafting an HTML-based print format, you can seek support from the BizCentric Community forum or initiate a new post to address your query.