Writing PDF files from RunRev
jbv.silences at Club-Internet.fr
Sun Nov 30 07:43:54 EST 2003
I haven't visited the link, but have some experience writing PDF
files from Metacard.
One thing I'd like to point out : it's VERY important to follow
closely the structure of a PDF file, as described in the PDF
format tutorial (don't have the URL at hand right now, but it's
available on Adobe website).
That format has several requirements that can lead some versions
of Acrobat Reader to detect errors and refuse to open the file, if
they're not followed.
There is some tolerance on some requirements (like having the
right amount of bytes in the file included in the trailer) but
nevertheless, the more closely your file follows the PDF format
requirements, the better.
Hope that helps,
> Hi everyone,
> Looking in the web for insights for writing PDFs
> I found this link:
> that shows this code to write a PDF file:
> 1 0 obj<</Pages 2 0 R>>
> 2 0 obj<</Kids[<</Parent 2 0
> BT/R 14
> 1 0 0 1 72 720 Tm
> Tf(Hello World!)Tj
> trailer<</Root 1 0 R>>
> but everytime that I've tried to open this code
> as a PDF file, Acrobat Reader tells me that the file
> has errors that could not be repaired and skips the
> If could visit the link, please read the article
> and try it by yourself.
> What I'm doing wrong?
> Thanks in advance.
> Visit my site:
> Search the mail list:
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode