aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes can we disable printing funciton in IE ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "can we disable printing funciton in IE ?" Watch "can we disable printing funciton in IE ?" New topic
Author

can we disable printing funciton in IE ?

Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
good day, can we disable the function of printing in IE ? thank you
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Nope, but you could use CSS media print to hide all of the content. Search google.

Eric
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31057
    
232

Alvin,
Why do you want to disable printing? This seems unfriendly to the user.

And even if you can make it harder to print, it is still possible. They can copy/paste your page to Word and print it there.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Alvin chew
Ranch Hand

Joined: Jan 08, 2004
Posts: 834
hi, jeanne and eric , thanks for reply .. we have a project which related to supply chain , we wanted to restrict normal user for printing some purchase order and some other forms ...
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31057
    
232

Alvin,
A user can print anything they can see. For example, they could take print screens.

All you can do is make it harder as Eric's solution suggests.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can we disable printing funciton in IE ?