Link to home
Start Free TrialLog in
Avatar of hukamha
hukamha

asked on

Disable Printing

Can you give me a vbscript code or something else to not allow the user to print the page content?

Please help me!!!
ASKER CERTIFIED SOLUTION
Avatar of masirof
masirof

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hendridm
hendridm

Not fool proof, but would work for the average, non-enlightened user:

<style>
@media print {
      body {
            display: none;
}
</style>

They could still copy and paste, and such, but better than nothing?
There is no way to disable this feature as already said, people can always resort to simply pressing print screen and then copying the image somewhere and pritning it. I would to have suggested Flash, but it seems even that will not solve your problem.