Closed (fixed)
Project:
Printer, email and PDF versions
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
16 Aug 2009 at 21:19 UTC
Updated:
11 Jul 2015 at 02:47 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedsorry, dompdf_0-5-2_alpha1.zip gives fake images with a red cross on it
Comment #2
jcnventuraCan you provide an URL to this page which is giving you problems?
Comment #3
Anonymous (not verified) commentedhttp://www.snowpedia.it/node/504
Comment #4
jcnventuraI have no idea what's going on. Can you enable the printer-friendly page part of the module so that I can try to reproduce it at my end?
Comment #5
Anonymous (not verified) commentedyou can access to print functionality as
user:registrato
password:registrato
thanks a lot for your answer
Comment #6
jcnventuraThat's a lot of pages in that book.. You're probably running out of memory in the process that creates the PDF. Note that the max PHP memory is around 32Mb usually, and a book that size will need a lot more than that to generate.
Comment #7
Anonymous (not verified) commentedI've set a 128MB memory limit, but the problem is still there.
Comment #8
Anonymous (not verified) commentedI've investigated deeper. It seems the problem is caused by tables.
http://www.snowpedia.it/printpdf/495 is not properly rendered - contains tables
http://www.snowpedia.it/printpdf/504 is not properly rendered - contains tables
http://www.snowpedia.it/printpdf/493 is properly rendered - doesn't contain tables - this image is oversizing the page
http://www.snowpedia.it/printpdf/45 is properly rendered - doesn't contain tables
I'm actually using tcpdf_4_8_007
any solution?
Comment #9
Anonymous (not verified) commentedsame issue with tcpdf_4_8_009
any solution?
Comment #10
jcnventuraYes, you're right..
In my case, TCPDF 4.8.0009 only generates 3 pages and chokes up in some tables.
dompdf 0.5.1 gives a WSOD, with some errors in the log ("warning: DOMXPath::query(): Invalid expression in dompdf-0.5.1/include/stylesheet.cls.php on line 573.").
wkhtmltopdf 0.8.3 generates the complete PDF, but without any image... I have also a 128Mb memory limit.
There's nothing that can be done by this module in either case. Feel free to submit bug reports to each project.
João
Comment #11
jcnventuraNo further info in two weeks. Closing the issue.
Comment #12
Anonymous (not verified) commenteddompdf_0-6-0_alpha2 is actually working
tcpdf_4_8_013 does not work
wkhtmltopdf-0.8.3-static does not work
Regarding dompdf do you have any Idea how to automatically resize images to fit in A4 pdf size?