I am developing a jsp site for our intranet. The site uses frames to display daily information for the users which will need to be printed. There is one frame which will contain most or all of the vital information that needs to be printed. They have requested that the print function produce a report; something "nicer" than just the print functionality off of the browser. Is this possible? How would I do this? At the very least, if I have to use the browser print functionality, I need to ensure that everything is visible in the printed version (make sure that something is not too wide for the printed version). Any suggestions? I greatly appreciate any insight into this issue.
posted 14 years ago
Why don't you have a look at a couple of news websites www.cnn.com and www.idg.net (there are plenty of other sites). Each of these sites has the notation of a "printer friendly" version of a news article, you could adopt a similar approach. Also, if MSIE will be the main browser to be used by your company's intranet, do a search on www.msdn.com for "printing internet explorer", the articles will show you how to use specific CSS attributes, and DHTML for controlling printing of web pages. James.