Re: [PHP] Printing landscape

2004-03-15 Thread Luis Mirabal
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

Re: [PHP] Printing landscape

2004-03-15 Thread Firman Wandayandi
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

Re: [PHP] Printing landscape

2004-03-15 Thread Marek Kilimajer
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

Re: [PHP] Printing landscape

2004-03-15 Thread David T-G
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