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

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
 
G

Guest

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
 
R

remi

If you just want to use the print function of the browser, you can use
javascript print() function.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top