germanoalves
<>
Hello!
Has anyone managed to customize a template to pdf using Mpdf?
I'm trying to place the pagination on the file sheets but I'm not getting.
I tried to include the tag {PAGENO} according to their documentation (https://mpdf.github.io/headers-footers/method-2.html) but I was not successful.
when clicking on the button to generate the pdf, it opens on the same page. I tried to include in the template file "$ mpdf-> Output ('file-name.pdf', 'D');" but it was wrong.
Also, the CSS settings do not match the table in the .pdf file.
I already inserted the styles directly in the table, and in an outside file and it didn't work either.
Has anyone ever experienced this?
Thank you!
Has anyone managed to customize a template to pdf using Mpdf?
I'm trying to place the pagination on the file sheets but I'm not getting.
I tried to include the tag {PAGENO} according to their documentation (https://mpdf.github.io/headers-footers/method-2.html) but I was not successful.
when clicking on the button to generate the pdf, it opens on the same page. I tried to include in the template file "$ mpdf-> Output ('file-name.pdf', 'D');" but it was wrong.
Also, the CSS settings do not match the table in the .pdf file.
I already inserted the styles directly in the table, and in an outside file and it didn't work either.
Has anyone ever experienced this?
Thank you!