Understanding Jinja template in print format

I am reading the code in the file https://github.com/frappe/frappe/blob/develop/frappe/templates/print_formats/standard.html
However, I am not sure where is the “layout, page or section” are declared to further customize the standard printing format ?

to be more specific

{% for page in layout %}
{% for section in page %}

Can anyone help ?
Best regards

hi @Hieu_Luu

You can go through the documentation here for using the new Print Format builder


here is another way to do the Print Format Customization broken down into modules

1 Like