Categories
- All Categories
- Oracle Analytics Learning Hub
- 30 Oracle Analytics Sharing Center
- 18 Oracle Analytics Lounge
- 238 Oracle Analytics News
- 45 Oracle Analytics Videos
- 16K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 88 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations 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