I m setting up my print format with printformat builder and HTML fields.
We are using envelopes with clear windows for address so I need my address area in a stable
position.
Depending on wether the pagination and document status show up or not
the address area is moving up or down.
I managed to hide the native pagination via
.page-number {
display: none;
}
but I need it in the Head of the document so it doesnt move my address area
hence I tried to fetch page number and max. page number with
{{ _("Page #{0} of {1}").format(page_num, max_pages) }}
in the Head of print format builder …but output is
Page #{{ page_num }} of {{ max_pages }}
rather then
Page # 1 of 2
what am I doing wrong?