Printing a hidden page.
I want to refine the way my users can print reports on one of my web sites. Basically, I have a "print friendly page" button that will create another page with the data - absent side and top nav stuff.
I am wondering if I can just have a print button and then create a hidden page that will call the javascript print method. I have tried creating a hidden page to no avail.
So, my questions are: is it possible to create a hidden page and then print it? And if so, what is the syntax for creating the hidden page.
Finally, is there a way to put the printer into landscape mode also?
Thanks for any suggestions.
|