RE: [PHP-WIN] printing
| From: | Warren Vail | Date: | Tue, 15 Feb 2005 01:16:38 +0000 |
| Subject: | RE: [PHP-WIN] printing | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25579@lists.php.net to get a copy of this message | ||
Jason,
It helps to remember how most PHP applications are structured (server
side/browser side) and the options you want to use depends on where you want
the printing to occur.
Server Side;
the manual for the printer functions
http://us4.php.net/manual/en/ref.printer.php
contains the following
disclaimer;
These functions are only available under Windows 9.x, ME, NT4 and 2000. They
have been added in PHP 4.0.4.
which means that your server needs to be a windoz platform.
Client (Browser) Side;
Two solutions come to mind, one is preparing a PDF file on the fly and
letting the user print via the Adobe interface
http://us4.php.net/manual/en/ref.pdf.php
the other is accomplished via JavaScript. You should be able to find some
help with printing a web page at http://www.hotscripts.com
HTH,
Warren Vail
> -----Original Message-----
> From: Jason Beaver [mailto:jbeaver@sierraoffice.com]
> Sent: Monday, February 14, 2005 4:46 PM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] printing
>
>
> Has anyone ever done any printing from PHP. I have recently been
> trying to
> get the printer functions to work with no success. anyone have any hints?
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>