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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php