Did a fresh install of v7.12.2 and PDF Templates āPage Sizeā has no effect.
Pages always come out A4.
Letter (should be 8.5"x11") comes out A4 (8.27"x11.69").
Same for ālegalā.
Worked fine in V7.11.22
To fix the āPage Sizeā issue in the SuiteCRM 7.12.2 Version, you need to make changes in the Default file which is responsible for the PDF Generation. Currently āPage Sizeā is not passed as a Capital Letter thatās the reason for no effect while exporting the PDF.
You need to pass the āPage Sizeā value in strtoupper.
Modify the Code in below file,
/modules/AOS_PDF_Templates/generatePdf.php (Approx. Line number 147)