Re: printing revisited.
| From: | Benjamin Smith | Date: | Thu, 16 Feb 2006 23:55:06 +0000 |
| Subject: | Re: printing revisited. | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6746@lists.php.net to get a copy of this message | ||
On Thursday 16 February 2006 11:27, Brian Stumm wrote:
>
> Looking for input on what others are doing regarding printing,
> specifically with regards to *nix. Particularly interested in solutions
> that are *free* and also cross-platform. I understand most are probably
> using some sort of pdf creation method then piping the file out to the
> printer port. Anyone have any other creative methods for generating
> printable output? Anyone using the php postscript library? Perhaps
> creating a PNG or similar using imagemagick then piping that to lpt?
I never interface with a printer, directly. In my apps that produce printed
output, I render to HTML, then use HTMLDoc to convert to PDF. Then, I do an
OS type check, and call an appropriate function to bring up the PDF to the
end user. (One each for Win9x, WinNT, and Linux, don't yet support Mac OSX)
-Ben
--
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 1978