How can i print from the broweser without displaying the dialog print ?

  • Thread starter Thread starter Tamer Ibrahim
  • Start date Start date
T

Tamer Ibrahim

And to prevent the user from printing more than one copy of this .aspx
form, I want to make it disappear just after it has been printed.
Any help will be most appreciated.
tamer
 
You'll need to look for some sort of speciaized printing ActiveX control that
can be installed via the browser. The browser printing function is
client-side, and the client gets to control it.
Peter
 
If you just want to use the print function of the browser, you can use
javascript print() function.
 
You'll need to look for some sort of speciaized printing ActiveX control that
can be installed via the browser. The browser printing function is
client-side, and the client gets to control it.

I think that user always will be able to print as many copies as he/
she needed by using standard File-Print, or PrintScreen functions.

There some sort of tricks you may find useful like having custom style
for printing

<style media="print">
body {display:none}
</style>

to make the body invisible for the print function

For example, you can write a js which will change the style in XXX sec
and user will not be able to print with File-Print after that time.
 
Back
Top