« Last post by CogFanGal on 21 Apr 2017 01:08:31 pm »
Does anyone know if this is a known issue in Cognos 10.2.2 or if there is a work-around? Here's the requirement:
The Inventory Report generates a 2-4 page report for each of the Product Categories, page breaking for each Product Category. The business would like to print the PDF output on double-sided paper, but we would need to force a blank page for a report that was only 3 pages long so that the back side of page 3 is blank and NOT the first page of the next Product Category report.
They currently run the report for 1 Product Category at a time so that it can be printed double-sided without impacting the next Product Category report. Bursting would also be tedious as they would have to go and print each one individually.
I've read several forum postings that it appear the Render Variable for PDF output doesn't work with the PageNumber() function. I can display the same Variable expression on the 'blank page' but it seems the variable isn't holding the value.
I've tried using a Boolean Variable: mod (PageNumber () , 2 )
As well as a String Variable: If ( mod (PageNumber () , 2 ) = 0 ) then ('Y') else ('N')
The 'blank page' renders whether the calculation for the variable returns 1 or 0 (or 'Y'/'N'). Any thoughts?