• 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
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Applet printing in Netscape browsers

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)


 
Sometimes you feel like a nut. Sometimes you feel like a tiny ad.
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic