PDF problem

dimoss

Well-Known Member
Hi,

I have a problem with the PDF creation as it doesn't fit all the columns of my list even in the Landscape mode.
Any ideas?

Thanks!

Dimos
 
Found it.
I made an extra pdf template and created a custom_css.php file using the following:

* {font-size: 9px !important;}
* {margin: 2px !important;}

Just in case someone else needed.
 
Hi

When I try to download the PDF with more than 150 records I get blank page.
I think this is posted before also from someone else.
Is it possible to avoid this somehow?

One solution (but not elegant) it could be to download PDF per 100 records.

Thanks

Dimos
 
Can you see any error message (set Joomla error reporting to max)? It may be a timeout issue, dompdf seems to be running quite a long time to create the PDFs.
 
is it always at 150 records that the error occurs, even if you change the paper size?
 
Hi Rob

I tried with a3 and it took 206 records.
I had a4 paper size.
I don't know why.
 
I had similar problems in the past and the issue was php memory_limit - the PDF writer needs mega amounts of memory - I had to up mine to 256MB (but they were very big reports). Have a look in your apache error log and see if there are any hints in there too.

Regards, Mark.
 
I don't think there's a lot we can about this. Sounds like a known issue in DOMPDF, with multiple page output.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top