Generate pdf of page

Hi there,

I'm developing a functionality to generate a pdf of some data for a specific page.

I'm using tcpdf as library.

All is working good, but I have a question.

To launch the function which generate the pdf, I use page_type controller.

So, my download link is e.g /en/my-page/download_pdf/

My question is :
Is it better to use pages_type controller or a single page as for download_file ?

Is it faster ? Is page_type render page before launching the "generate" method ?

Thank you :)

View Replies:
moosh replied on at Permalink Reply
Little up ! :)
adajad replied on at Permalink Reply
Have you had a look at these for inspiration?
mhawke replied on at Permalink Reply