Hi all,
I have a PHP page which displays tabular data across 20 columns. I want to print this page in landscape orientation from Internet Explorer 6. How can I do this?
Any early help will be highly appreciated.
Thanks and Regards.
Hi all,
I have a PHP page which displays tabular data across 20 columns. I want to print this page in landscape orientation from Internet Explorer 6. How can I do this?
Any early help will be highly appreciated.
Thanks and Regards.
First go to:
File >> Page Setup
At the left bottom of that window u will see Orientation with 2 radio buttons:
Portrait
Landscape
Then go to:
File >> Print ...
And at the right bottom of that window, click on the "Print" button..
Or u ca do all this through Print Preview: File >> Print Preview
Thanks for the response.
But, I want to do it progmatically.
Well it's javascript for a print page button, but in terms of landscape v. portrait, I don't know that I've ever seen it done. I'm going to guess some pretty intense CSS. Try Googling "Javascript print landscape" or various variations of that.
the print function is client side, I dont think there is anything in PHP to help you do what you want to do. Also, what is and isnt landscape is determined by the client's screen resolution, and print will be determined in their settings.
I suggest try to make a "printer friendly" version of the page and have that as an option