Re: Printing landscape
| From: | Firman Wandayandi | Date: | Tue, 16 Mar 2004 15:29:21 +0000 |
| Subject: | Re: Printing landscape | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180473@lists.php.net to get a copy of this message | ||
Hi Lou,
Printer function to do that is printer_set_option()
http://www.php.net/manual/en/function.printer-set-option.php
The code might be like this:
--- begin code ---
$handle = printer_open();
printer_set_option($handle, PRINTER_ORIENTATION,
PRINTER_ORIENTATION_LANDSCAPE);
..
--- end code ---
PS: This function only available under Windows and I cannot found javascript
function to do that, if you found it, please tell me.
Good Luck,
Firman
----- Original Message -----
From: "Lou Apolonia" <lapolonia@medforceinc.net>
To: <php-general@lists.php.net>
Sent: Monday, March 15, 2004 9:35 PM
Subject: [PHP] Printing landscape
> Is there a function/parameter that tells the printer to print in
> landscape? I believe I've searched through the Printer Functions and
> haven't encountered such a thing.
>
> Any help is appreciated.
>
> L
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>