Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Junior Mechanic
Posted
Check out the use of style sheets to prevent objects from being printed. In the edit page add a custom header - <link rel="stylesheet" type="text/css" href="print.css" media="print" />

Then using an editor(word pad, note pad) create and save a file 'print.css' The following is an example -
body {
color : #000000;
background : #ffffff;
font-family : "Arial";
font-size : 11pt;
}
a {
text-decoration : underline;
color : #0000ff;
}
#Obutdiv, #Obuthome, #Obutdonate, #Obutguest, #Oaboutus, #Obutpromo, #Obutdonateo, #Ocounter, #Obutpromo, #Oobj954,
#Ocount, #Obut2008o, #Obuabto, #Obuabtu, #Obut2006o, #Oobj302, #Oobj480

{
display : none;
}


The 'display : none;' references the objects above that are prefiex with a '#O'. These objects will not print.
 
Posts: 4 | Registered: June 11, 2008Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
You can also use the wild card character (*) to prevent all objects from being printed:
* { display: none; }

But note that is is only a deterrent. If someone wants to print your page, it can still be done.
 
Posts: 5067 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
Thanks for an excellent tip. I need printer-friendly pages -- pages that omit all the non-essential graphics and so save my visitors' ink supplies.

I've got a feeling this is built into SiteSpinner Pro -- just build your printer page on the secondary layout page, and SSPro takes care of all the CSS.
 
Posts: 9213 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.