Re: Printing landscape
| From: | Michael Nolan | Date: | Tue, 16 Mar 2004 09:04:51 +0000 |
| Subject: | Re: Printing landscape | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180527@lists.php.net to get a copy of this message | ||
Luis Mirabal wrote:
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.)As one of the comments rightly says: "Should be pretty obvious, but in case there is any confusion... The printer in question is one that is connected to the _server_, not the _client_." Mike