Print Functionality
September 4, 2008 12:00 AM
I would add this. You need to either:a. Design the page so that it prints in portrait mode or b. Warn them with a display action message to print in Landscape mode. I also use a variable that is set initially to 0. After displaying the message, I set it to one. I have a condition on the display that allows it to run ONLY if the variable is 0. This way they only see the message one time, not every time they go to print.As to page size, here is the first tip from my Tips, Techniques, and Secrets Vol 2.1. Optimal Maximum Page SizeA 1024 x 768 screen has about 995 x 595 maximum in a browser with 3 toolbars showing at the top and a status bar at the bottom. Remember that while you can make the screen 995 wide, you will be able to print much less than that. With the default settings of .75 in on each margin, you can only print about 670 in portrait mode and 910 in landscape mode. So if you are planning on having your screens printed, then keep this in mind. Given all this, I set my page size at 900 x 600 so that it all shows on the screen and can be printed. Now that is my opinion. The opinion of another expert at http://www.baekdal.com/reports/actual-browser-sizes/ is 776x424px.
Discussions have been disabled for this post