Re: html2pdf on windows?
| From: | Michael Power | Date: | Thu, 27 Feb 2003 09:07:11 +0000 |
| Subject: | Re: html2pdf on windows? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18726@lists.php.net to get a copy of this message | ||
You could always try a slightly more complicated approach...
I used to use the Adobe Post Script Printer Driver (free from www.adobe.com)
via VB6 and MSOffice (i.e. VBA to select correct printer and print) to
create a post script file. I think you should be able to do the same with
PHP=>COM functions.
Then use the command line app. Ghostscript (free from www.ghostscript.com)
to convert the Post Script to a PDF.
The advantage of this approach is you can create a PDF out of anything you
can select a printer for and print from via COM... Just a thought???
Cheers
Mike
--
Michael Power
Software Developer
Concentrix Limited
_______________________________________
Helping you strengthen your customer relationships
To find out more about how we can help you visit our website
http://www.concentrix.co.uk
The Technology Centre, Epinal Way,
Loughborough, Leicestershire, LE11 3GE
T: +44 (0)1509 235000 F: +44 (0)1509 221740
_______________________________________
> "Anthony"
> has anyone gotten html2pdf to work on NT? I'm putting together a Linux
box
> right now to use specifically for this purpose but since part of my app is
> NT only it would be awesome if I could get it to run on my NT box. IIS5
and
> Win2K if that makes any difference.
>
> If you've done this, please help me out :)
>
> - Anthony
>
>
>