This question has been flagged

I have a requirement in which I need to print Sales order number in all pages for multiple documents selected for a single pdf output with Webkit Mako.

I tried to get the Sales order number (SOXXXXXXXX) in Header and print for 'n' number of pages.

My case:
1. Select 3 SO records (S0000010, S0000011, S0000012) each having lines for 2 pages.
2. Print these selected records
3. In all pages, the last records number is only available @ header (S0000012).

When I looked at how webkit works,  I got to know that header and footer is loaded once only.  So, how can I make the Header value dynamic?

Avatar
Discard