The best solution is to edit “standard.html” from the menu
it will be and work like a charm.
{%- from "templates/print_formats/standard_macros.html" import add_header2, add_header,
render_field, add_letterhead, add_foot -%}
{% for page in layout %}
<div class="page-break">
<div style="margin:1.5cm;"><br><br><br>
<img alt="TESTING" src="/templates/print_formats/barcode.php?text={{ doc.name }}%20in%20{{ doc.doctype }}&orientation=vertical&size=40" />
<br><br><br><br><br> {{ add_header2(doc)}}
{% for section in page %}
<div class="row">
{% for column in section %}
<div class="col-xs-{{ (12 / section|len)|int }}">
{% for df in column %}
{{ render_field(df, doc) }}
{% endfor %}
</div>
{% endfor %}
</div>
{% endfor %}
{{ add_header(loop.index, layout|len, doc) }}
</div>
</div>
{% endfor %}
{%- if trigger_print -%}
<script>
window.print();
window.close();
</script>
{%- endif -%}