Print Copy Names.frx 2.1 KB

12345678910111213
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Report ScriptLanguage="CSharp" ReportInfo.Description="Demonstrates how to print several copies of a report where each printed copy has a predefined name. To do this:&#13;&#10;- put a Text object with text [CopyName#] on the report page. It will display a copy name;&#13;&#10;- go to the &quot;Properties&quot; window and select the &quot;Report&quot; object. Open its &quot;PrintSettings&quot; property and invoke the &quot;CopyNames&quot; property editor;&#13;&#10;- give names to each copy in the editor. Note that the very first name is used to display a report in the preview window. For example:&#13;&#10;&quot;Copy name for the preview&#13;&#10;The first copy&#13;&#10;The second copy&#13;&#10;Other copies&quot;&#13;&#10;- print a report. You will see that each printed copy has its own name." ReportInfo.Created="10/25/2009 23:36:01" ReportInfo.Modified="03/28/2023 17:27:53" ReportInfo.CreatorVersion="1.0.0.0" PrintSettings.CopyNames="Copy name for the preview&#13;&#10;the first copy&#13;&#10;the second copy&#13;&#10;other copies">
  3. <Dictionary/>
  4. <ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
  5. <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="292.95" CanGrow="true">
  6. <TextObject Name="Text1" Left="548.1" Top="37.8" Width="160.65" Height="18.9" Text="[CopyName#]" HorzAlign="Right" Font="Segoe UI, 9pt"/>
  7. <TextObject Name="Text2" Left="170.1" Top="85.05" Width="359.1" Height="141.75" Border.Lines="All" Text="Print several copies of this report (set copies in the print dialog). You will see that every copy has its own name printed on the top right corner." HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 10pt"/>
  8. </ReportTitleBand>
  9. <PageFooterBand Name="PageFooter1" Top="294.95" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
  10. <TextObject Name="Text12" Left="9.45" Width="217.35" Height="28.35" Cursor="Hand" Hyperlink.Value="https://www.fast-report.com/en/product/fast-report-net/" Text="Generated by FastReport" VertAlign="Center" Font="Segoe UI, 9pt, style=Underline" TextFill.Color="Blue"/>
  11. </PageFooterBand>
  12. </ReportPage>
  13. </Report>