File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web page printing

 
prasad agarwal
Ranch Hand
Posts: 79
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,..

Well i have a question,.. i have a JSP page with a print button which does what is expected. The thing that is troubling me is: in the JSP page we have a textarea


Sometimes the content is very huge that everything will not be visible and we get a scrollbar ,.. no problem here.. but what we want is when we take a print-out, we actually want everything inside the <textarea> to be printed rather than what is visible...

I really apprecaite your help on this very much
I guess this can be achieved thru CSS... but i'm not that good at it.

Thanks again

[ March 06, 2007: Message edited by: prasad agarwal ]

[ March 06, 2007: Message edited by: prasad agarwal ]
[ March 06, 2007: Message edited by: Bear Bibeault ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmmmm

Not positive it will work in all browsers, but worth a shot:



Eric
 
prasad agarwal
Ranch Hand
Posts: 79
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Eric Pascarello,

Thanks a lot man,.. you always help me when it comes to CSS and javascript
i mean it ,.. always.. Appreciate


I bought your book "Ajax in Action"; I started the book but got busy with the project ,.. so it's been a while,...
I will get serious and try to finish the book,... in the mean time if i have questions in the book, i can ask you

Cheers
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did that code actually work? I work that as a whim without testing. I thought I would take a shot in the dark! lol

And if you have questions on the book, feel free to ask here or on Manning's forums.

Eric
 
prasad agarwal
Ranch Hand
Posts: 79
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah it did work
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic