wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes printer friendly page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "printer friendly page" Watch "printer friendly page" New topic

printer friendly page

Pranav Sharma
Ranch Hand

Joined: Oct 27, 2003
Posts: 256
I bring up a table with search results, but if/when the data is printed it is not user friendly with truncated data, data bleeding..etc.

I have seen sites with
1. the "print" link which brings up a simple page ready for print and also seen examples

2.where you hit print and the data prints in a format different from that shown on the screen (google maps).

My questions,
- Is 1. done on the server side or is it possible to achieve this using client side scripting. If so how.

- How is 2. achieved
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
You do not have to make a seperate page, you can try using place CSS with CSS Print Media.

I agree. Here's the link: http://aspose.com/file-tools
subject: printer friendly page
Similar Threads
Print Friendly presentation with servlets or JSP
a mozilla specific problem , after an js alert data not getting printed at client side.
% of non-AJAX browser on internet browser.
Apache FO Table Query
Refresh a combo box!!!