RE: printing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx]
> Sent: Monday, February 14, 2005 4:46 PM
> To: php-windows@xxxxxxxxxxxxx
> Subject:  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
>
>
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux