Forge Component
(64)
Published on 17 May by Guilherme Pereira
64 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.

Solution

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 

Solution

vigneshkumar Thalamuthu wrote:

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.

Friend


Did you get this resolved?

I have this problem


Rodrigo, if an answer is marked as solution, it means that Vigneshkumar or a forum moderator considered it correct.

Please try what Hendra suggested.