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



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

Reply via email to