Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to include the ToC page in page counting on mPDF?
- Page - Subject
- 01 - Front
- 02 - Notes
- 03 - ToC <<<< Plz, note the page number
- 04 - First useful topic
- 05 - [Other]
- First Useful Topic ............... 03
- [Other]........................... 04
- First Useful Topic ............... 04
- [Other]........................... 05
- $mpdf->TOCpagebreak();
- $mpdf->WriteHTML('<pagebreak resetpagenum="4" suppress="off" />');
Add Comment
Please, Sign In to add comment