TCPDF Rotate Whole page by 180 Degree (Upside down/Reverse)

TCPDF is full of power but have terrible parameter and poor documentation.
In case your printer need to print PDF in reverse position.
This article may save you some time reading the source code:

If you are using predefined format, change:


to

If you are using custom size, change:

to

Test on TCPDF 6.2.11

Leave a Reply

Your email address will not be published.