Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Printing a web page from Applet

 
Victoria Bernstein
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Is there any way to print the contents of the browser window from within an applet?
Thanks a lot,
Victoria
 
maateen ashraf
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
make a URL object & get contents of the html page from that url
show the contents using inputstream on the textarea of applet
feel free to ask if u r still not out of problem...
 
Victoria Bernstein
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks maateen,
I understand how to do it.
Another question: are there any commercial or freeware ready-to-use applets that accomodate printing?
Thanks
 
baba
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well maateen...
i dont get a single word u said...pleaz feel free to elaborate it in lay language... i mean simplest as possible...try placing an example which can say print a file "C:\test.txt" from a print button in an applet
thanx in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic