You can either create a custom print stylesheet, or you can create a special print template. The print stylesheet is probably the easier approach. You can specify that a style rule is only active for printing by placing a
- Code: Select all
@media print { … }
in a stylesheet to override the default styles. You could e.g. hide certain sections of the page using the display: none rule.
Here is an example from the g2 module stylesheet that is set up to remove most of the frame when printing:
- Code: Select all
@media print {
#left_column,
#top-section,
.fineprint,
.search_form,
.xf-button-bar {
display:none;
}
}