Page 1 of 2

Page Printing Order

Posted: Mon Sep 27, 2010 2:44 pm
by MikeC
I have a report that has 2 pages for each record. One (is on page 1) is a customer copy, the other (is on page 2) is the office copy. They have the same data but the office copy has some additional information at the bottom.

Right now if I have 50 records it prints all of the customer copies first (1-50) and then all of the office copies (51-100). I'd like it to print page 1 (customer copy), and then page 2 (office copy), and then start over on page 1 (customer copy) again so the customer copy and the office copy are printed in order.

How do I collate so it prints page 1, page 2, page 1, page 2, etc?

Page Printing Order

Posted: Mon Sep 27, 2010 3:54 pm
by Alex K.
Hello,

You can use the following code:

Code: Select all

 StiReport report = new StiReport();
 report.Load();
 report.PrinterSettings.Copies = 50;
 report.Print();
Thank you.

Page Printing Order

Posted: Mon Sep 27, 2010 4:00 pm
by MikeC
Aleksey wrote:Hello,

You can use the following code:

Code: Select all

 StiReport report = new StiReport();
 report.Load();
 report.PrinterSettings.Copies = 50;
 report.Print();
Thank you.
Won't that only work if I always have 100 printed pages (50 of each?)? If so, then it won't work because the total number will vary. It might be 100 total pages today, tomorrow it might be 68 pages, the next day it might be 166 pages, etc.


Page Printing Order

Posted: Mon Sep 27, 2010 4:58 pm
by Brendan
You can set the Collate property on the report object to 2.
You can select the report properties either from the dropdown in the properties window or just click on the blank border area outside the page designer pane.

Page Printing Order

Posted: Wed Sep 29, 2010 8:49 am
by MikeC
Brendan wrote:You can set the Collate property on the report object to 2.
You can select the report properties either from the dropdown in the properties window or just click on the blank border area outside the page designer pane.
I tried that and it doesn't work-it still prints all of the first pages, and then all of the page 2's.

Page Printing Order

Posted: Wed Sep 29, 2010 1:21 pm
by Ivan
Hello,
MikeC wrote:
Brendan wrote:You can set the Collate property on the report object to 2.
You can select the report properties either from the dropdown in the properties window or just click on the blank border area outside the page designer pane.
I tried that and it doesn't work-it still prints all of the first pages, and then all of the page 2's.
We couldn't reproduce this behaviour.
This property work correctly on our reports.
Can you please send us a sample report with data, which reproduce the issue?

Thank you.

Re: Page Printing Order

Posted: Wed Apr 23, 2014 1:18 pm
by Jaroslav Hrdinka
Hi,

I have a problem with collate property in the print , when I'd like to print more than one copy of multipage report. If I paste StiDesignerControl in my winform application, show preview and then click on print button, collate property doesn't work correctly (print_dialog_1.png from attachments is displayed) - at first are printed two (or more) copies of first page and then two (or more) copies of next page etc. If I save the preview (as .mrc file) and open it in installed Stimulsoft report viewer, then other print dialog (print_dialog_2.png) is displayed and completion work normally - pages are printed in order page 1, page 2, page 1, page 2...
I need print with collate property from my winform application - please could you help me? (in attachments are two images with print dialogs and stimulsoft report file for testing).

Thanks

Re: Page Printing Order

Posted: Thu Apr 24, 2014 12:48 pm
by HighAley
Hello.

Do you use 64-bit system?
Please, try to enable EXDialog with next option:

Code: Select all

Stimulsoft.Report.Print.StiPrintProvider.UseEXDialog = true;
Thank you.

Re: Page Printing Order

Posted: Tue Apr 29, 2014 7:05 am
by Jaroslav Hrdinka
Hello,

yes, I do. I enabled EXDialog and it works well.

Thank you very much.

Re: Page Printing Order

Posted: Wed Apr 30, 2014 7:52 am
by Alex K.
Hello,

Let us know if you need any additional help.