This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet printing in Netscape browsers

 
Rao Kuna
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am having a problem of printing a Java Applet (using AWT) in Netscape browsers (4.7.x). The applet is printing fine in IE 5/ AOL 5 etc, but in Netscape it is cutting at the right side and full applet is not being printed.
Can anyone give me a solution, how to solve this problem for Netscape browsers ?
Your help is greatley appreciated.
Thanks
Rao
 
Peter Gragert
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I came across the same problem.
One (bad) workaround was: make the 'boundingbox' greater than
necessary: width=500 if it was 400 e.g. (same with height)
and check if it worked (was sufficient bigger)
 
Rao Kuna
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Peter
Thanks for the reply. Infact, yestarday surprisingly, I got the same idea and gave the same solution. If the browser is Netscape, increased X and Y co-ordinates dynamically and it worked fine.
But I know that the solution is not a proper one and I was wondering how people are handling this problem. One thing, I noticed is Netscape's font size is bigger than IE's font size even for the same font. May be that is the reason, Netscape takes more space to print.
Anyway, I can live with this solution for now.
Once again, thanks for the reply.
Rao Kuna
Originally posted by Peter Gragert:
I came across the same problem.
One (bad) workaround was: make the 'boundingbox' greater than
necessary: width=500 if it was 400 e.g. (same with height)
and check if it worked (was sufficient bigger)

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic