douwen1313 2017-03-14 13:56
浏览 37
已采纳

重置页面数字mpdf为页脚

I'm Working with mPDF on my project and now stuck on this problem. First let me describe my PDF structure:

  • First page is a cover page.
  • Second page to seven or eight dynamic page is Table Of Content page.
  • After Table Of Content page Main content page.

So the problem is:

There is header,footer,page number in cover page and TOC page. How do I remove that? The content page number start with no 8. How do I reset it to become no 1?

  • 写回答

1条回答 默认 最新

  • dourangdz750379 2017-08-02 10:57
    关注

    You can reset it to become no 1 by using resetpagnum parameter:

    <pagebreak resetpagenum="1">
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?