Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 54 Oracle Analytics and AI Sharing Center
- 26 Oracle Analytics and AI Lounge
- 312 Oracle Analytics and AI News
- 57 Oracle Analytics and AI Videos
- 16.4K Oracle Analytics and AI Forums
- 6.7K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 117 Oracle Analytics and AI Trainings
- 24 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Page Numbering on RTF templates
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
-
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'?>
"
0 -
Hi,
Instead of Numpages, use sectionpages and see if the numbering works.
0 -
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'
0 -
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
0