Page Printing Order
Page Printing Order
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?
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
Hello,
You can use the following code:
Thank you.
You can use the following code:
Code: Select all
StiReport report = new StiReport();
report.Load();
report.PrinterSettings.Copies = 50;
report.Print();
Page Printing Order
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.Aleksey wrote:Hello,
You can use the following code:Thank you.Code: Select all
StiReport report = new StiReport(); report.Load(); report.PrinterSettings.Copies = 50; report.Print();
Page Printing Order
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.
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
I tried that and it doesn't work-it still prints all of the first pages, and then all of the page 2's.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.
Page Printing Order
Hello,
This property work correctly on our reports.
Can you please send us a sample report with data, which reproduce the issue?
Thank you.
We couldn't reproduce this behaviour.MikeC wrote:I tried that and it doesn't work-it still prints all of the first pages, and then all of the page 2's.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.
This property work correctly on our reports.
Can you please send us a sample report with data, which reproduce the issue?
Thank you.
-
- Posts: 2
- Joined: Fri Apr 18, 2014 1:32 pm
Re: Page Printing Order
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
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
- Attachments
-
- print_dialog_2.png (31.28 KiB) Viewed 4572 times
-
- print_dialog_1.png (24.01 KiB) Viewed 4572 times
-
- test.mrt
- (4.87 KiB) Downloaded 410 times
Re: Page Printing Order
Hello.
Do you use 64-bit system?
Please, try to enable EXDialog with next option:
Thank you.
Do you use 64-bit system?
Please, try to enable EXDialog with next option:
Code: Select all
Stimulsoft.Report.Print.StiPrintProvider.UseEXDialog = true;
-
- Posts: 2
- Joined: Fri Apr 18, 2014 1:32 pm
Re: Page Printing Order
Hello,
yes, I do. I enabled EXDialog and it works well.
Thank you very much.
yes, I do. I enabled EXDialog and it works well.
Thank you very much.
Re: Page Printing Order
Hello,
Let us know if you need any additional help.
Let us know if you need any additional help.