Re: Printing in windows

From: Date: Wed, 04 Oct 2006 17:52:29 +0000
Subject: Re: Printing in windows
References: 1 2 3 4 5  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7320@lists.php.net to get a copy of this message
Danni - I actually do have a couple of reports in rendered html, but I use the COM into IE for those. The direct printing is for a series of governmental forms we have to produce. I need exact positioning, and we had trouble trying to use PDF - the file format wasn't acceptable on the other end. So, I generate text files, with the first line reserved for the report type, and then use the PHP Printing commands to output them to an associated printer. It works amazingly well, and isn't a printer or memory hog. The only glitch we ever hit was a problem with one of the commands (printer_set_option) and an older LJ 4. Windows went GPF on us. But we replaced the printer with a slightly newer one and all was well. HTH, Madeleine D. Danni Moiseyev wrote:
can you print out rendered html? i think its the easiest way to "build" up a page . On 10/4/06, Madeleine D. <mmdrake@bctonline.com> wrote:
I'm so buried I haven't been able to follow this thread all the way, and I know my email is messed up as well, so I'm probably getting this late
-    but... I print directly from php-gtk in Windows just fine.  Not
fancy, but definitely doable. So if someone still needs help, let me know. Otherwise, I'm back to buried. Madeleine D. Anant Narayanan wrote:
Read these threads: http://marc.theaimsgroup.com/?l=php-gtk-general&m=107779403115301&w=2 http://marc.theaimsgroup.com/?l=php-gtk-general&m=107640839323667&w=2 http://marc.theaimsgroup.com/?l=php-gtk-general&m=104345129118381&w=2 http://marc.theaimsgroup.com/?l=php-gtk-general&m=104310354207018&w=2
:) I guess that means there's no support for printing directly from PHP-GTK on Windows yet. As a hack, you could execute a .bat file with the file path as an argument or something like that from within your PHP code. Cheers, - Anant
-- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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