[Xprint] HTML to PostScript to PDF

Matthew Hooper Matthew.Hooper at flinders.edu.au
Mon Oct 11 10:30:26 EDT 2004


Probably the easiest way would be to use PHP with the PDF functions 
enabled, and just pass the URL as a parameter to the script in the URL, 
so that the script opens the URL and reads it like a file including all 
your CSS, and then creates a PDF document based on the URL.

Hope this helps,

    Matt.

Michael Blinn wrote:

> New to the list but didn't see much like this in the archives; 
> probably because I'm asking the wrong list.
>  
> Odd question - I'm trying to on-the-fly convert server-side HTML to a 
> PostScript or (preferably) PDF. - Something as simple as html2ps 
> doesn't work for me because I need to support CSS. Someone suggested 
> scripting Gecko to render PS and my research into this method led me 
> to Xprint, though I am not in an X11 environment. As I'm writing this 
> I feel as I'm in the wrong place ;)  Any ideas?
>  
> I wouldn't be adverse to writing a C interface if that is what is 
> necessary. Anyone point me in the right place?
>  
> Cheers,
>  Michael Blinn
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Xprint mailing list
>Xprint at mozdev.org
>http://mozdev.org/mailman/listinfo/xprint
>  
>

-- 

Matthew Hooper
Library Systems Officer
Flinders University Library
G.P.O. Box 2100
ADELAIDE, South Australia 5001
t  +618 8201 2068
f  +618 8201 2508
http://www.lib.flinders.edu.au/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/xprint/attachments/20041011/7b44fa71/attachment.htm


More information about the Xprint mailing list