mpdf / mpdf.github.io

mPDF documentation
https://mpdf.github.io
Other
508 stars 160 forks source link

Set WriteFixedPosHTML in all pages #183

Closed tiagocaus closed 2 years ago

tiagocaus commented 2 years ago

I need to add text on ALL created pages. How to do this?

$mpdf->WriteFixedPosHTML('<table border="0"><tr><th text-rotate="90" style="font-family: Arial;font-weight: normal;">www.siteeee.com</th></tr></table>', 10, 190, 3, 0, 'visible');

tiagocaus commented 2 years ago

@finwe Why was it closed?

Klap-in commented 2 years ago

Your question is a troubleshooting question... Please read the template which you deleted when you submitted the issue.

To help you, here as quote... :

Please use https://stackoverflow.com/questions/tagged/mpdf for all your general questions or troubleshooting!

Submit here ONLY issues about mPDF DOCUMENTATION. For mPDF issues and feature requests see: https://github.com/mpdf/mpdf/issues

Guideline: https://github.com/mpdf/mpdf/blob/development/.github/CONTRIBUTING.md

tiagocaus commented 2 years ago

@Klap-in I did that, but there is already a saint wanting to close my question!

https://stackoverflow.com/questions/72903423/set-writefixedposhtml-in-all-pages

tiagocaus commented 2 years ago

@finwe @Klap-in I think it is necessary to create a new function so that it is possible to repeat the "WriteFixedPosHTML" on all pages.

finwe commented 2 years ago

@tiagocaus What's stopping you?