Re: printing revisited.

From: Date: Fri, 17 Feb 2006 00:25:40 +0000
Subject: Re: printing revisited.
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6747@lists.php.net to get a copy of this message
On Thu, 2006-02-16 at 14: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 already wrote a bunch of code to perform printing using the > php_printer library after somehow missing the WIN32 only disclaimer and > now I have no solution for linux. If I have to write more printing code > I think I'd rather replace the win32 only php_printer code with > something crossplatform as it will be easier to maintain that way. I use pdflib to create a pdf then use ghostscript through a system call as in exec("gs "."$file). it works for me. John Coder

« previous php.gtk.general (#6747) next »