A
A
AR2017-01-13 15:21:48
Yii
AR, 2017-01-13 15:21:48

How to add page to pdf using Yii2-mPDF?

Good afternoon.
Please tell me how to add pages using mPDF to generate PDF.
There is some content that the user generates, it can take up 1 line on a sheet, or it can take up 5 sheets. It is necessary to add some content at the end of the created document. The point is to have the added content start on a new page, no matter where the user-generated content ends.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2017-01-13
@amio

https://mpdf.github.io/reference/mpdf-functions/ad...
https://github.com/kartik-v/yii2-mpdf/blob/master/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question