Specifying the Interaction of Headers, Footers, and Margins in Printed Views

By default in a printed BI Beans presentation bean, if the header or footer is too large to fit in the margin of the paper, then whatever part of the header or footer that does not fit in the margin appears in the printable area of the paper.

You can have the printable area automatically adjust itself for this circumstance, by setting the MarginAdjustment property of the view printer. The following table lists the valid constants for MarginAdjustment and explains what happens, in each case, if the header does not fit in the margin.

Constant for MarginAdjustment

What happens if the header does not fit in the margin

ViewPrinter.IGNORE_HEADERS_AND_FOOTERS

Part of the header or footer appears in the printable area of the page. (Default value)

ViewPrinter.ADJUST_FOR_HEADERS_AND_FOOTERS

The margin is increased, in order to make room for the header or footer. This reduces the printable area.

ViewPrinter.OCCLUDE_HEADERS_AND_FOOTERS

The printable area covers the part of the header or footer that does not fit in the margin.