This page last changed on Jun 10, 2010 by gcheck.

Making a NoPrint Macro and CSS, for hidding Comments, or anything on Print, or PDF Export

This page Refers from NoPrint Macro and CSS for Export PDF Stylesheet, if you need anything use User Macro First

The NoPrint macro, is a useful macro for Hidding information within a page.
It's usage permits the user to bound what should be ommited from the Print or PDF Export.
This should help some with those needs above.

How to setup your own NoPrint ( Mind it's lowercase only):

  • Making the Macro:
    1. Do a macro called "noprint".
    2. Check "Has Body", "Convert macro body..." , and "Macro generates HTML"
    3. Insert this template
      <div class="noprint">$body</div>
    4. Macro done!

Usage with the Wiki Markup Editor

What you need to type What you will get
Like {noprint}This Text will not be printed in Export{noprint} This
When Exporting PDF: " Like This "

Now you can go back to NoPrint Macro and CSS for Export PDF Stylesheet to finish your NoPrint Guide.

Document generated by Confluence on Jul 09, 2010 01:08