BI Publisher – Printing a Different Last Page

If the requirement is of printing a different last page, then the following could be used.

Create a section break in your template to ensure the content of the final page is
separated from the rest of the report.

Page layout –> Breaks –> Section Break –> Next Page

Insert the following syntax(in one tag) on the final page:

<?start@last-page:body?><?end body?>

Any content on the page that occurs above or below this tag will appear only on
the last page of the report. Also, note that because this command explicitly specifies the
content of the final page, any desired headers or footers previously defined for the
report must be reinserted on the last page.


Where The “Last Page Placeholder” field contains the syntax:
<?start@last-page:body?><?end body?>

It is important to note that if the report is only one page in length, the first page layout
will be used. If your report requires that a single page report should default to the last
page layout (such as in a check printing implementation) then you can use the
following alternate syntax for the “Last Page Placeholder” on the last page:
<?start@last-page-first:body?><?end body?>
Substituting this syntax will result in the last page layout for reports that are only one
page long.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s