Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Applet printing in Netscape browsers

 
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
 
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)


    Bookmark Topic Watch Topic
  • New Topic