Writing PDF files from RunRev

Alejandro Tejada capellan2000 at yahoo.com
Thu Dec 4 05:18:12 EST 2003


Hi Alex,

Have you visited this link about PDF writing?

<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>>

I have saved this code from Rev as a binfile but
everytime that I've tried to open this file
as a PDF file, Acrobat Reader tells me that the file
has errors that could not be repaired and skips the
file...

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

What I'm doing wrong? 

1-Putting the wrong line endings? or 
2-Maybe the new versions of Acrobat do not repair
the file as the article stated?
3-Does Linux and MacOs X PDF readers accepts the file
created with this code as PDF?

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