Forge Component
(60)
Published on 17 May by Guilherme Pereira
60 votes
Published on 17 May by Guilherme Pereira

Hi All,

I need to generate a pdf. But it should not be in A4 format. I need to give the height and width of the pdf. How can I achieve that? Your response will be highly appreciated.


Thanks & Regards,

Vignesh.

Hello,

In GeneratePDF action, set OtherArgs " --page-size <Size>" . <Size> default is A4 and could be change to Letter, etc.
Or manually set " --page-height xx --page-width yy" where xx and yy unitreal.
More documentation : https://wkhtmltopdf.org/usage/wkhtmltopdf.txt