PHP Printer functions
| From: | J. Wharton | Date: | Thu, 14 Mar 2002 19:09:48 +0000 |
| Subject: | PHP Printer functions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88566@lists.php.net to get a copy of this message | ||
I am attempting to change the orienation of printing for a page with a huge
table to landscape instead of portrait.
This is the code I used:
$defprintercon=printer_open();
printer_set_option( $defprintercon, PRINTER_ORIENTATION,
PRINTER_ORIENTATION_LANDSCAPE);
printer_close($defprintercon);
When extension=php_printer.dll is remarked out, I get an error message
saying that the function printer_open() is undefined, but when I leave the
dll in, it simply will not open the page (hangs forever).
Any advice is appreciated.
J. Wharton
PHP