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 wit
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_LA
Lou Apolonia wrote:
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
Do you mean how is the output printed on the client machine?
Then use css:
@me
Lou --
...and then Lou Apolonia said...
%
% 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.
In general, no. Since PHP runs on the server, it has nothing to do with
your b
4 matches
Mail list logo