Expand my Community achievements bar.

SOLVED

Generation of PDF from the AEM pages

Avatar

Community Advisor

Hi Team,

we have a requirement to convert pages to pdf we are exploring all the options. 

One we are thinking to try this Creating PDF output in Adobe CQ . Have couple of doubts on this is this feasible/what challenges we will see/is this best approach to do etc.

Thanks

Uma

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

If you wanna create custom pdf page and don't want to render exact html page in pdf format, in that case, you can use PDF APIs e.g. Apache PDFBox

We once had a requirement to create custom PDF out of page and not the exactly as page look and for that we utilised the Apache PDFBox API.
I can also share custom code if you need it for reference.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

If you wanna create custom pdf page and don't want to render exact html page in pdf format, in that case, you can use PDF APIs e.g. Apache PDFBox

We once had a requirement to create custom PDF out of page and not the exactly as page look and for that we utilised the Apache PDFBox API.
I can also share custom code if you need it for reference.