Blank Set
Blank Set Is it possible to use cascading style sheet to set the site visitor's printer to print blank page? Confidential information on a website should only can be seen by authorized person aft...
Blank Set
![]() Is it possible to use cascading style sheet to set the site visitor's printer to print blank page? Confidential information on a website should only can be seen by authorized person after they log in with their username and password. However, some immoral authorized user may print the confidential information then show it to other person. We cannot prevent the user from printing the information. So, is it possible to use cascading style sheet (CSS) to set the printer to print blank page, and no information will be showed on all papers after printing? If your answer is yes, give as much details as possible. If your answer is no, explain the reason in detail. Any suggestion will be appreciated. There are three 3 methods available for printer friendly versions of web pages. 1. Two copies of each web page, one for the screen and one for the printer. 2. A corresponding Adobe PDF file for each web page 3. One web page with two style sheets, one for the screen and one for the printer. The first method is very inefficient. The second is equally inefficient and brings in the usability problems that some people experience with PDF files. The third is surprisingly easy and very effective. For Print, you need to create 2 CSS: For Normal screen you need to create only 1 CSS: Programetically, before Login, Call this CSS: . Withis this CSS use, .body {display: none}Programetically, after Login, Call this CSS: . Within this CSS use Normal Print Layout for authenticated users without display: none.Finally, also take a look into this article: http://www.htmlgoodies.com/beyond/css/article.php/3470341 |
||||||||||||||||
|
||||||||||||||||
|
||||||||||||||||
|
||||||||||||||||
|
No items matching your keywords were found. |






















