On Sep 11, 10:08 am, BrianS <
eclecticg...@gmail.com> wrote:
> On Sep 9, 7:29 pm, Nailson <
nailson.l.olive...@gmail.com> wrote:
>
> > Thanks for your reply. I just managed to execute some php code, but
> > I'm not getting the best results at all.
> > I can't even test it properly because the document are being generated
> > with some problems.
> > When I create the pdf with just some lines of data, the document
> > displays, but when I add some more data the document doesn't displays
> > and I get this error message: "Adobe Reader could not open 'test.pdf'
> > because it is either not a supported file or because the file has been
> > damaged"
>
> I don't see anything in your code that would cause this kind of error.
> I created a simple document that contains the script you posted and
> Acrobat was able to open it just fine. Do you have a sample of the
> code that is causing problems?
>
> > Is there any guide I should follow when creating pdfs to assure that
> > the document will display fine?
>
> Beyond what is available in the FAQ there's not a lot out there. If
> your HTML is syntactically correct and you are not running into any of
> the bugs that causes DOMPDF to error out your document should render.
> It may, perhaps, not look quite right if you are using unsupported
> styling, but it should at least display.
>
> You could try looking for some FAQs developed by users (such as those
). But otherwise there's