We are generating Consignment notes where each XML may contain multiple consignment notes each containing multiple pages.
In testing we used "page-break-after: always;" to force a page break between each unique consignment note however the page numbering did not indicate where each consignment note starts & ends. ie
Page 1 of 8
Page 2 of 8
Page 3 of 8
:: ::
Page 8 of 8.
We then replaced the "page-break-after: always" with "counter-reset: page 1 pages 1" which now produces
Page 1 of 2
Page 2 of 2
Page 1 of 3
Page 2 of 3
Page 3 of 3
:: ::
Page 1 of 1
where the number of pages now reflects the page number and number of pages per unique consignment note with the exception of the last page where we are now generating an extra blank page at the end of the document containing only a header & footer numbered page 1 of 1, This blank page is not output when using "page-break-after: always".
Any clues as to how I can eliminate the last blank page from outputting?
Prince 9.5
In testing we used "page-break-after: always;" to force a page break between each unique consignment note however the page numbering did not indicate where each consignment note starts & ends. ie
Page 1 of 8
Page 2 of 8
Page 3 of 8
:: ::
Page 8 of 8.
We then replaced the "page-break-after: always" with "counter-reset: page 1 pages 1" which now produces
Page 1 of 2
Page 2 of 2
Page 1 of 3
Page 2 of 3
Page 3 of 3
:: ::
Page 1 of 1
where the number of pages now reflects the page number and number of pages per unique consignment note with the exception of the last page where we are now generating an extra blank page at the end of the document containing only a header & footer numbered page 1 of 1, This blank page is not output when using "page-break-after: always".
Any clues as to how I can eliminate the last blank page from outputting?
Prince 9.5