sdglhm / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Error message from acrobat reader when I try to generate a PDF document #354

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi everybody,
I try to describe the error I get. I hope you can help me :)

I have an HTML page, with a "PDF" button at the bottom.
Clicking it, I should be able to get the same page in PDF format.

You can look it at this link 
http://test1.artistiko-service.com/fattura.php?fid=44&user_id=35

The pdf output file is the one I attached. Everytime I try to open it, Acrobat 
Reader open an alert pop-up with a different message.

I'm using dompdf 0.5.2 and the O.S on the server is centOS 5.6

Thank you,
Roberta

Original issue reported on code.google.com by greenpea...@gmail.com on 16 Sep 2011 at 1:44

Attachments:

GoogleCodeExporter commented 9 years ago
Hard to say without further testing where the problem lies. I don't think it's 
with DOMPDF directly because I can render with 0.5.1 and 0.6.0 beta 2. In fact, 
you might consider upgrading to beta 2 because it does a much better job with 
your document. See here: 
http://eclecticgeek.com/dompdf/debug.php?identifier=1f0d9528dde26ba1ab889e50f917
61e6

Looking at the source of the PDF there appears to be some unnecessary character 
near the top of the PDF. These are probably related to your problem. So the 
question is where they come from. There could be a system library compatibility 
on your server. Or PHP may be throwing some kind of error. Or the DOMPDF files 
could have been corrupted somehow.

So first shot, try downloading a fresh copy of DOMPDF and see if that helps.

Original comment by eclecticgeek on 22 Sep 2011 at 3:46

GoogleCodeExporter commented 9 years ago
I've updated to beta, and now it works!
I have still some problems with some special chars (like €) and CSS, I'll try 
to resolve them.

Thanks for all :)

Original comment by greenpea...@gmail.com on 30 Sep 2011 at 11:17

GoogleCodeExporter commented 9 years ago
If you specify the correct character encoding you'll have better luck with your 
text. However, keep in mind that unless you've enabled Unicode support you'll 
only be able to use characters supported under Windows ANSI encoding.

If you continue to run into issues feel free to post to the support forum.

Original comment by eclecticgeek on 1 Oct 2011 at 12:39

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:16