Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Page Numbering on RTF templates

Received Response
477
Views
4
Comments

Summary

Page Numbering on RTF templates

Content

I have a report which I need to print invoices on a duplex printer.  I need to be able to insert a blank page on invoices which contain an even number of pages to prevent the next invoice from printing on the back page of the previous invoice. To accomplish this I added the following code at the end of the report:

The problem is that I would like the number of pages to NOT include the blank page added  or  be able to create a watermark on the blank page with something like "THIS PAGE INTENTIONALLY LEFT BLANK". Any suggestions would be helpful Keith

Answers

  • Sherry George
    Sherry George Rank 7 - Analytics & AI Coach

    Hi Keith,

    Did you check this feature below:

    Oracle Business Intelligence Publisher Report Designer's Guide

    "

    To end on an even page with layout:

    Insert the following syntax in a form field in your template:

    <?section:force-page-count;'end-on-even-layout'?>

    To end on an odd page layout:

    <?section:force-page-count;'end-on-odd-layout'?>

    If you do not have layout requirements for the final page, but would like a blank page ejected to force the page count to the preferred odd or even, use the following syntax:

    <?section:force-page-count;'end-on-even'?>

    or

    <?section:force-page-count;'end-on-odd'?> 

    "

  • Sherry George
    Sherry George Rank 7 - Analytics & AI Coach

    Hi,

    Instead of Numpages, use sectionpages and see if the numbering works.

  • Keith Buajitti
    Keith Buajitti Rank 3 - Community Apprentice

    Sorry but the pated text did not appear.  You can probable infer which lines refer to section:force-page-count;'end-on-odd-layout' vs section:force-page-count;'end-on-odd'

  • Keith Buajitti
    Keith Buajitti Rank 3 - Community Apprentice

    Thanks for your suggestion. I had used the

    but the

    works a bit better. However, if I use the

    code then the page is added and the number of pages is incremented so now I might see Page 1 of 2 (if a blank page was added) when I would like to see Page 1 of 1.  The page count seems to be derived from NumPages which I want to exclude added blank pages. If I use

    then a blank page is added with the same layout, but I want to change the watermark to THIS PAGE INTENTIONALLY LEFT BLANK. Any suggestions on either of the above Thanks for your help