Version 6.x.x Source

Table Name: tabPrint Format

Fields

Sr Fieldname Type Label Options
1 doc_type Link DocType DocType
2 disabled Check Disabled
3 column_break_3 Column Break
4 standard Select Standard
No
Yes
5 custom_format Check Custom Format
6 section_break_6 Section Break
7 print_format_type Select Print Format Type
Server
Client
8 html Code HTML
HTML
9 section_break_9 Section Break
10 edit_format Button Edit Format
11 column_break_11 Column Break
12 font Select Font
Default
Arial
Helvetica
Verdana
Monospace
13 css_section Section Break
14 css Code Custom CSS
15 custom_html_help HTML Custom HTML Help
16 section_break_13 Section Break
17 print_format_help HTML Print Format Help
18 format_data Code Format Data
19 print_format_builder Check Print Format Builder

Controller

frappe.print.doctype.print_format.print_format

Class PrintFormat

Inherits from frappe.model.document.Document

export_doc (self)

No docs


extract_images (self)

No docs


on_trash (self)

No docs


on_update (self)

No docs


validate (self)

No docs



Public API
/api/method/frappe.print.doctype.print_format.print_format.make_default

frappe.print.doctype.print_format.print_format.make_default (name)

Set print format as default


Linked In: