• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

web page printing

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah it did work
reply
    Bookmark Topic Watch Topic
  • New Topic