note 72577 added to ref.printer
| From: | mdwyer at timestreamtech dot com | Date: | Wed, 24 Jan 2007 23:06:10 +0000 |
| Subject: | note 72577 added to ref.printer | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-122165@lists.php.net to get a copy of this message | ||
I was able to print nice looking reports (under unix) by sending out formatted text out through
'enscript'. The various configuration options on enscript took care of fonts and headers
etc. The result was a postscript file which I just sent to the server's local printer.
One could also pipe it through a PS to PDF filter and send it back to the user, I suppose.
For another job, I learned how to write postscript and just wrote directly to postscript files.
Learning how to write postscript is probably only marginally harder than learning how to use this
API, and is probably more portable.
----
Server IP: 217.160.72.57
Probable Submitter: 170.131.131.254
----
Manual Page -- http://www.php.net/manual/en/ref.printer.php
Edit -- https://master.php.net/note/edit/72577
Del: integrated -- https://master.php.net/note/delete/72577/integrated
Del: useless -- https://master.php.net/note/delete/72577/useless
Del: bad code -- https://master.php.net/note/delete/72577/bad+code
Del: spam -- https://master.php.net/note/delete/72577/spam
Del: non-english -- https://master.php.net/note/delete/72577/non-english
Del: in docs -- https://master.php.net/note/delete/72577/in+docs
Del: other reasons-- https://master.php.net/note/delete/72577
Reject -- https://master.php.net/note/reject/72577
Search -- https://master.php.net/manage/user-notes.php