I can't set page size A4. Only 'other size' is available by default. I tried to set it obviously in the code, but unsuccessfully. Can you make ready versions of page size?
$rtf->setPageWidth(21); // in cm
$rtf->setPageHeight(29.7); // in cm
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't set page size A4. Only 'other size' is available by default. I tried to set it obviously in the code, but unsuccessfully. Can you make ready versions of page size?
There is now setPageWidth() and setPageHeight() methods, you need to use the following code:
$rtf->setPaperWidth(21);
$rtf->setPaperHeight(29.7);
I hope this was of help.
Best regards
thanks a lot :)