Print Style

In Print Style you can define custom CSS styles applied to Print Formats.

ERPNext comes with preset styles for printing documents. You can also create new styles using CSS that can be applied to all your print formats.

The standard print Styles in ERPNext are: Monochrome, Modern, and Classic. To create a new Print Style go to:

Home > Settings > Print Style

1. How to create a new Print Style

  1. Go to the Print Style list, click on New.
  2. Enter a name for the Print Style.
  3. Enter the CSS that'll define how the style will look like.
  4. Save.

The styles you create here apply to both standard and custom print formats. To find out the various CSS classes available, you can make a standard print format, open in a new page and see the source.

A default Print Style, can be set from Print Settings.

All Print Format styles are based on Bootstrap (Version 3) CSS Framework.

Print Style

If you have enabled developer mode and tick on Standard then system will generate the JSON file for the Print Style. You can contribute a default print style with this.

  1. Print Format
  2. Print Headings
  3. Letter Head
  4. Cheque Print Template
Discard
Save

On this page