Forum How do I...?

How to export to a single page.

Rudolfo
Hi,

I have been trying to export a dynamic length php page to a single page pdf file for the last few days, but I can't seem to find a way. I always end up with a multiple page file.
Is there a way to do this?
mikeday
If there is more content than can fit on a single page, do you just want to clip it? You could apply "overflow: hidden" to the body element.
Rudolfo
No, I want all the content to be visible, and I want all the content to be in a single page even if the page have to be 4m long.
mikeday
Oh right! There is actually no easy way to do that at the moment, you would need to run Prince in a loop checking the page count and increasing the page height each time.