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">
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥30 ansible连接设备报错
  • ¥60 pmsampsize包取值问题
  • ¥15 波形合成电路的设计学习
  • ¥15 unity脚本挂不上
  • ¥15 数学建模数学建模需要
  • ¥20 Java Sound Api 调用Mixer.getLine偶现Line unsupported错误。
  • ¥15 使用cuda加速opencv运算但是报错AttributeError: module 'cv2.cuda' has no attribute 'getCudaEnabledDeviceCount'
  • ¥15 java输入输出异常
  • ¥15 三子连珠对弈小游戏制作
  • ¥15 C++扑克牌游戏的编程