Writing PDF files from RunRev

Alejandro Tejada capellan2000 at yahoo.com
Sun Nov 30 07:08:55 EST 2003


Hi everyone,

Looking in the web for insights for writing PDFs
I found this link:

<http://www.mactech.com/articles/mactech/Vol.16/16.03/DynamicPDF/>

that shows this code to write a PDF file:

%PDF-1.
1 0 obj<</Pages 2 0 R>>
2 0 obj<</Kids[<</Parent 2 0
R/Resources<</Font<</R
<</Subtype/Type1/BaseFont/Arial>>
>>>>/Contents<<>>stream
BT/R 14
1 0 0 1 72 720 Tm
Tf(Hello World!)Tj
endstream
>>]>>
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
file...

If could visit the link, please read the article
and try it by yourself.

What I'm doing wrong?

Thanks in advance.

al 


=====
Visit my site:
http://www.geocities.com/capellan2000/
Search the mail list:
http://mindlube.com/cgi-bin/search-use-rev.cgi

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/


More information about the use-livecode mailing list