|
Posted by Roy Kaldung on 05/07/07 13:53
Sam Alex wrote:
> Hi Everyone,
>
> I'm writing an application that needs to parse a database and then print the
> output with a header graphic to specific printers, depending on a field in
> the database. To do this, I'm thinking if parsing the database with php
> than somehow saving this output to a Postscript or PDF file with the graphic
> header, then printing this to the specific printer using lpr.
>
> Can someone point me to a site or utility that'll let me save an HTML page
> in PHP to PS or PDF? Or if someone knows of a simpler way of doing this,
> please let me know.
for pdf:
<http://www.fpdf.org/>
<http://www.pdflib.com> with <http://kaldung.com/pdftag/>
<http://pear.php.net/package/File_PDF>
for ps:
<http://pecl.php.net/package/ps>
hth,
Roy
Navigation:
[Reply to this message]
|