Description
You can do this using css.
- Create a div at the end of your page and give them a class name
disclaimer - Create a stylesheet file for a normal view of your page and set the
display attribute to none - Create another css file called
print.css and set the display attribute to visible
Example
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title></title> <link href="myCSSfile.css" rel="stylesheet" type="text/css" media="screen"> <link href="print.css" rel="stylesheet" type="text/css" media="print"> <head> <body> <div class="disclaimer">Your disclaimer text</div> </body> </html>
Your myCSSfile.css
.disclaimer { display: none; }
Your print.css
.disclaimer { display: block; }
Additional Information
source share