I do not know of a way to do it. It would be nice if conditional display was available in the template for objects. Not only do I want to hide columns or objects, but I would like to hide a range of pages, based on a variable. My work around it to have two different templates, but that requires it to be more static than dynamic when you decide to print the report. When using On-Demand, I have two different buttons and each calls a different template based on the scenario desired.
Sounds like an idea.