Page break in Html2Pdf

后端 未结 4 576
野性不改
野性不改 2020-12-06 08:18

I am in the process of generating a dynamic pdf file, which contains data of around 10,000 users, in general the app is developed using MySQL and PHP. The dynamic content is

4条回答
  •  无人及你
    2020-12-06 08:58

    html2pdf supports page tag:

    protected function _tag_open_PAGE($param) {} 
    

    at line 2229. You can see there what attributes are supported. For example following creates one page in landscape and one in portrait mode:

    
    ... some content ...
    
    
    ... some content ...
    
    

提交回复
热议问题