Re: Printing landscape
| From: | Luis Mirabal | Date: | Tue, 16 Mar 2004 03:55:45 +0000 |
| Subject: | Re: Printing landscape | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180512@lists.php.net to get a copy of this message | ||
actually, you can control your printer, look:
http://www.php.net/manual/en/function.printer-set-option.php
you have to do:
$handle = printer_open();
printer_set_option ($handle, PRINTER_ORIENTATION ,
PRINTER_ORIENTATION_LANDSCAPE);
printer_close($handle);
you've got many interesting options with this function.
( These functions are only available under Windows 9.x, ME, NT4 and 2000.
They have been added in PHP 4.0.4.)
and you can do something about the phase of the moon too, look here :P
http://www.phpclasses.org/browse/package/1201.html?download=targz
Cheers,
Luis.