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
- Go to the Print Style list, click on New.
- Enter a name for the Print Style.
- Enter the CSS that'll define how the style will look like.
- 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.
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.