search for: totalpagenum

Displaying 1 result from an estimated 1 matches for "totalpagenum".

2006 Jan 03
2
Pdf::Writer ; page numbering, and table wrapping
...e numbers and secondly with auto-wrapping of simple_table. First pdf.start_page_numbering(pdf.margin_x_middle, pdf.absolute_bottom_margin, 9, :center, nil, nil) Using the default ''pattern'', is rendering ''x of N+1'' - or specifically it always thinks that <TOTALPAGENUM> is 1 greater than the number of pages in the document. I''ve rendered 1, 2 and 3 page documents, and it responds with "1 of 2", "1 of 3", "1 of 4", etc. Using the pattern string (''<PAGENUM> of <TOTALPAGENUM>'' results in the...