Hi,

I use the PDF Export with TCPDF and it works fine on node pages. But when I try to output a view, it just renders the first page and stops after that.

For example when there is a long list which only fits to three pages, then the PDF is only one page. The content, in this case the table stops after page one.

I dont use addons for the views module, just the fields that are available in the views module itself.

Comments

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

Can I ask you to be more precise? Does it a) stop at page 1 of the PDF or b) at page 1 of the pager configured in your View?

Depending on the above I would suggest:

a) Trying the wkhtmltopdf library.
b) The module creates a PDF version of your content. If you're using a paged View, then it will output single pages of that View. You need to create an unpaged version of that View and point the PDF links to it.

João

xeeya’s picture

Hi João,

thanks a lot for your quick reply and sorry for my unprecise explanation.

I use a unpaged version of the view. It stops at page 1 of the PDF.

Sadly I cannot install wkhtmltopdf because of shared hosting. Also dompdf seems not work that properly, but I will try to install this evening again and let you know about the results.

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No further info in two weeks. Closing the issue

Luna’s picture

Are you sure you cannot use wkhtmltopdf on your host? I'm on shared hosting as well (without shell access) and after some struggling I got wkhtmltopdf to work and the results are great. It solves your views problem as you can see here www.vinceremo.nl/experience for example.
It also works very well with panel pages containing pictures as you can see here www.vinceremo.nl/about. Results are far better then with the other PDF options.