<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Recto verso printing of paginated report - extra blank pages if necessary in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4098943#M36409</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="178992" data-lia-user-login="E__" class="lia-mention lia-mention-user"&gt;E__&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can open the paginated report in Report Server and select Print&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Select page size and&amp;nbsp;&lt;SPAN&gt;orientation. Select Print.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then wait for a minute.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Next, you can set the print page you want on the new print settings page.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you want odd-numbered pages, you can choose Odd pages only&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you also want to leave blank space, use an expression to conditionally add a blank page. You can add a rectangle or text box at the end of a cell and set its visibility based on the number of pages.&lt;BR /&gt;Add a rectangle or text box at the end of the cell.&lt;BR /&gt;Use an expression to set the visibility of this rectangle or text box. Expressions can check if the page number is odd and then make the rectangle or text box visible. For example:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=IIF(Globals!PageNumber Mod 2 = 1, False, True)
&lt;/LI-CODE&gt;
&lt;P&gt;Also adjust the page setup to ensure that the report's page setup (margins, size, etc.) is configured correctly to avoid any unexpected blank pages. You can check the following link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/guidance/report-paginated-blank-page" target="_blank"&gt;Avoid blank pages when printing paginated reports - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A title="https://community.powerbi.com/t5/community-blog/how-to-get-your-question-answered-quickly/ba-p/38490" href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C02%7Cv-yohua%40microsoft.com%7Ce1106bfabecb4734a5cc08dc2305bc51%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638423754744679080%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=24%2BceC5sFd3n3%2FhFDYILWFcNjCwVClBD%2BPBsSLVfJGk%3D&amp;amp;reserved=0" target="_blank" rel="noopener nofollow noreferrer"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yongkang Hua&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2024 02:32:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-08-14T02:32:21Z</dc:date>
    <item>
      <title>Recto verso printing of paginated report - extra blank pages if necessary</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4097190#M36396</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've made a paginated report that has a page end after every unit, which can consist of multiple pages. My colleagues now want to print the generated pdf recto verso, but they need to split the printed pages per unit. When a unit has an odd number of pages, the next unit starts at the backside of the pages of the previous one. Is there a way to add in a blank page at the end of the unit, only when the unit has an odd number of pages?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Eva&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 08:54:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4097190#M36396</guid>
      <dc:creator>E__</dc:creator>
      <dc:date>2024-08-13T08:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Recto verso printing of paginated report - extra blank pages if necessary</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4098943#M36409</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="178992" data-lia-user-login="E__" class="lia-mention lia-mention-user"&gt;E__&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can open the paginated report in Report Server and select Print&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Select page size and&amp;nbsp;&lt;SPAN&gt;orientation. Select Print.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then wait for a minute.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Next, you can set the print page you want on the new print settings page.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you want odd-numbered pages, you can choose Odd pages only&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you also want to leave blank space, use an expression to conditionally add a blank page. You can add a rectangle or text box at the end of a cell and set its visibility based on the number of pages.&lt;BR /&gt;Add a rectangle or text box at the end of the cell.&lt;BR /&gt;Use an expression to set the visibility of this rectangle or text box. Expressions can check if the page number is odd and then make the rectangle or text box visible. For example:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=IIF(Globals!PageNumber Mod 2 = 1, False, True)
&lt;/LI-CODE&gt;
&lt;P&gt;Also adjust the page setup to ensure that the report's page setup (margins, size, etc.) is configured correctly to avoid any unexpected blank pages. You can check the following link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/guidance/report-paginated-blank-page" target="_blank"&gt;Avoid blank pages when printing paginated reports - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A title="https://community.powerbi.com/t5/community-blog/how-to-get-your-question-answered-quickly/ba-p/38490" href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C02%7Cv-yohua%40microsoft.com%7Ce1106bfabecb4734a5cc08dc2305bc51%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638423754744679080%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=24%2BceC5sFd3n3%2FhFDYILWFcNjCwVClBD%2BPBsSLVfJGk%3D&amp;amp;reserved=0" target="_blank" rel="noopener nofollow noreferrer"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yongkang Hua&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 02:32:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4098943#M36409</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-14T02:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Recto verso printing of paginated report - extra blank pages if necessary</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4115772#M36525</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The printing of only odd does not help, because the printing is scripted (pdf is generated on schedule, and automatically printed), and the numer of pages per unit can vary between exports.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The text box does sound like a good solution, but I get an error that the PageNumber can only be used in the header or footer. I can't find an alternative that I can use on the report page - do you know of something that exists?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eva&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 13:03:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4115772#M36525</guid>
      <dc:creator>E__</dc:creator>
      <dc:date>2024-08-23T13:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Recto verso printing of paginated report - extra blank pages if necessary</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4118303#M36532</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="178992" data-lia-user-login="E__" class="lia-mention lia-mention-user"&gt;E__&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may need to adjust your paginated report to control your blank pages.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or add blank pages manually, albeit a bit of a hassle.&lt;/P&gt;
&lt;P&gt;Regarding the second text box, it can only be used in the footer and header. However, you can do this in the form of custom code, which can be a bit complicated. You can check the following link:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/reporting-services/report-design/custom-code-and-assembly-references-in-expressions-in-report-designer-ssrs?view=sql-server-ver16" target="_blank"&gt;Custom code and assembly references in expressions in a paginated report in Report Designer - Microsoft Report Builder &amp;amp; Power BI Report Builder | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following code can be used:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Public PageNumber As Integer = 1
Public Function GetPageNumber() As Integer
    PageNumber += 1
    Return PageNumber
End Function
&lt;/LI-CODE&gt;
&lt;P&gt;Use custom code in your report to set the visibility of rectangles or text boxes to the following expressions:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=IIF(Code.GetPageNumber() Mod 2 = 1, False, True)
&lt;/LI-CODE&gt;
&lt;P&gt;Box selection table&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my preview:&lt;/P&gt;
&lt;P&gt;Before&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;After&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check the following links:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/reporting-services/report-design/add-code-to-a-report-ssrs?view=sql-server-ver16" target="_blank"&gt;Add code to a paginated report - Microsoft Report Builder &amp;amp; Power BI Report Builder | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A title="https://community.powerbi.com/t5/community-blog/how-to-get-your-question-answered-quickly/ba-p/38490" href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C02%7Cv-yohua%40microsoft.com%7Ce1106bfabecb4734a5cc08dc2305bc51%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638423754744679080%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=24%2BceC5sFd3n3%2FhFDYILWFcNjCwVClBD%2BPBsSLVfJGk%3D&amp;amp;reserved=0" target="_blank" rel="noopener nofollow noreferrer"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yongkang Hua&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 09:19:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4118303#M36532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-26T09:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Recto verso printing of paginated report - extra blank pages if necessary</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4122628#M36557</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't seem to figure out where the textbox should go. I put it here, underneath my table,&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;But it only shows up on the last page, and not between the row groups of [Kast]. Where should I put it to generate the empty page after the end of the row group?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eva&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 11:12:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4122628#M36557</guid>
      <dc:creator>E__</dc:creator>
      <dc:date>2024-08-28T11:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Recto verso printing of paginated report - extra blank pages if necessary</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4123885#M36564</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="178992" data-lia-user-login="E__" class="lia-mention lia-mention-user"&gt;E__&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My method doesn't necessarily require a text box, you can use it directly on your table. If you must use a text box, the text box for page numbers needs to be placed in the header and footer, and the footer is the space under the dotted line.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;When you click on the gray area on the right, the code will appear in the property bar on the right, and then you can embed the custom code in the code, and then continue the operation I said above&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yongkang Hua&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 02:33:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4123885#M36564</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-29T02:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Recto verso printing of paginated report - extra blank pages if necessary</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4124313#M36566</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I understand - your method of using the code on the table, will have the table only render on odd pages, right? What I need is slightly different - sorry for the confusion. I need to add an extra blank page if the group [Kast] ends on an odd page. This way, when we print recto verso, we can have the next item in the row group on a new seperate sheet of paper.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best,&lt;/P&gt;&lt;P&gt;Eva&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 06:51:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Recto-verso-printing-of-paginated-report-extra-blank-pages-if/m-p/4124313#M36566</guid>
      <dc:creator>E__</dc:creator>
      <dc:date>2024-08-29T06:51:32Z</dc:date>
    </item>
  </channel>
</rss>

