Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to restrict Multiple Copies while printing with Print Option

 
k sabeerdeen
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


hi experts..

My need is to print my application's response jsp page, and it should be printed with only one copy.

i need to achieve atleast any one of the below given points:

0) Direct print without Print dialog box & Save as option
1) Print dialog should be buypassed
2) Multiple copies restiction.
3) Disable no of copies in print option


Browser : IE
OS: Windows
Technology: Javascript / Ajax / Jquery


Kindly suggest. Thanks in advance




 
Maneesh Godbole
Saloon Keeper
Posts: 11070
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What problem are you trying to solve by limiting the printing to only one copy. You do realize that one print can be photo copied later on right?
 
k sabeerdeen
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Dear Maneesh,

You are right. My requirement is response jsp page should be printed only once and it should not be saved any where.
We can say as like "Demand Draft".
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64973
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For what purpose? Security? I hope not, because that would be very silly.

In any case, it cannot be done, so the reason is irrelevant.
 
Paul Clapham
Sheriff
Posts: 21137
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You also can't prevent me from printing your document to the PDFCreator printer driver and making a PDF out of it. So as the others have already said, trying to control what the user does with the output of your JSP is pointless.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic