printing tabs and accordions