I've gotta be able to do either one. Sometimes the script just stops with the PS
and sends that in the email based on a flag. It depends on what format the
customer prefers his invoices in.

James

-----Original Message-----
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 17, 2002 2:02 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] PHP & PDF


On Fri, 17 May 2002, James E. Hicks III wrote:
> I do a
>
>    system("html2ps SOME.html > SOME.pd");
>
> then I do a
>
>    system("ps2pdf SOME.pd");

How about just:

   system('html2ps < some.html | ps2pdf > some.pdf');

?

miguel


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to