aspose file tools*
The moose likes Servlets and the fly likes print from jsp?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "print from jsp??" Watch "print from jsp??" New topic
Author

print from jsp??

verduka fox
Ranch Hand

Joined: Jan 18, 2001
Posts: 178
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.
James Swan
Ranch Hand

Joined: Jun 26, 2001
Posts: 403
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: print from jsp??
 
Similar Threads
How to get text file printed in Java program or From JSP page?
need some help printing please
print applet
logging what is printed
Java Print API For Web based Applications?