Somebody remembers how to properly paginate(show p...
# suitescript
a
Somebody remembers how to properly paginate(show page number) when using pdfset with the render module?
m
I'm assuming you're using BFO since you mention pdfset - What I'm doing for that is:
Copy code
<head>
  <macrolist>
    <macro id="pageNumber">
      <p align="right" margin="4px 0"><span class="dataSmall">Page <pagenumber/>/<totalpages/></span></p>
    </macro id="pageNumber">
  </macrolist>
  [...]
</head>
<body footer="pageNumber">
Obviously apply your own formatting to the <p> and <span> tags, I just grabbed that straight from one of our scripts
a
@MTNathan I appreciate your response, however this is the standard way to do paging, when you are merging multiple PDF files using PDF set, that pagenumber is only valid within one PDF but not across all the PDF files you are mergin...
m
Oh right, I guess you couldn't put that body tag into each pdf you're merging. Darn, in that case I don't think I'll be of much use - I've used pdfset but I haven't done page numbering in those instances. Hopefully someone else here has though.