• 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

Unable to suppress print dialogue box in IE7

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
While trying to print a page from jsp i need to suppress the pop up print dialogue box . How to go about with this , can any one help ?
Thanks in advance

Anuja
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can't.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Imagine visiting a site and it randomly starts printing 1000 completely black pages!

If your company only cares about IE and allows ActiveX, you can look into controls that can do it. Use google.

Eric
 
anuja Edathu
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the information again, But our system is a billing system and user finds it annoying to have to click OK for each receipt.
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's an anti-spam feature, like Eric said. Complaining about security features is a normal thing to do but it doesn't follow that those features should be disabled.
 
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
I would say you are using the WRONG technology for the system.

You can always look at applets and such to print too.

Eric
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

anuja karthikeyan wrote:user finds it annoying to have to click OK for each receipt.


It sound like the users are printing a lot of receipts. You could make this easier - as the user goes through the application have him "save" the receipt to a temporary space. Like how a shopping cart works. Then when done, the user can go to that space, and click print once. Maybe giving a HTML or PDF page of all the receipts. Then the user clicks ok only once.

Hmm. What would be a name for such a space. A wallet? A portfolio?
 
anuja Edathu
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I got a work around using VBscript and it is working fine with IE7. But now i am not sure whether to go ahead with it, due to the security issue mentioned in this thread. Thank you for the valuable information.
Anuja K
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic