On 3/2/10 10:49 AM, "Emmanuel" <[log in to unmask]> wrote:

> I don't know if this can be of any help to anyone, but just in case
> here is how we make pdf documents out of html pages. That's with
> Smile, you know, that famous (free) Applescript editor and a bit more...
> 
> -- make a browser window using webkit
> set www to make new web window with properties {path
> name:"http://www.quomodo.com
> "}
> -- save the visible screen as jpeg
> take screenshot of www in "/Users/emmanuel/Desktop/hardcopy.jpg"
> -- save the whole page as pdf
> save www in "/Users/emmanuel/Desktop/hardcopy.pdf"
> 
> Emmanuel
> Satimage-software, the makers of Smile
> Quomodo, the extensive users of Smile
> 

But if you convert it to an image first, you can't preserve sophisticated
pdf features such as internal and external links, a feature which
traditional html2pdf performs quite well, I think.

Laine Lee