RE: [PHP] PHP & PDF
| From: | James E. Hicks III | Date: | Fri, 17 May 2002 18:15:34 +0000 |
| Subject: | RE: [PHP] PHP & PDF | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98156@lists.php.net to get a copy of this message | ||
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:mnc@stoic.net]
Sent: Friday, May 17, 2002 2:02 PM
To: php-general@lists.php.net
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