Print() and collate problems

Stimulsoft Reports.NET discussion
Post Reply
FrenkR
Posts: 131
Joined: Mon Jan 05, 2015 12:15 am

Print() and collate problems

Post by FrenkR »

Hi,
using 2016.2.2 and bullzip PDF printer. In a following case I would like to print only pages 2-5 from a rendered report to a printer in 2 copies with collating. I have following code:

Code: Select all

StiReport _report;
  /*... here is code for generating report */
  _report.Render(); // rendering report(to print only some pages from it)
  _report.report.PrinterSettings.PrinterName = printerId;
  _report.report.PrinterSettings.ShowDialog = false;
  _report.report.PrinterSettings.Copies = copies;
  _report.report.PrinterSettings.Collate = true;  // want to collate printing
  _report.report.Print( false, 2, 5, 2);
With this code, I would expect printing in following order: 2,3,4,5,2,3,4,5. But report is printed in following order: 2,2,3,3,4,4,5,5. After further testing, I found out that parameter "_report.report.PrinterSettings.Collate" has no function here(there is no difference in output if I set it to "false" or "true").
Is there any additional settings to force printing in collated order?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Print() and collate problems

Post by HighAley »

Hello.

What printer do you use?
Does your printer support the Collate?
If not, you should do it manually.

Thank you.
FrenkR
Posts: 131
Joined: Mon Jan 05, 2015 12:15 am

Re: Print() and collate problems

Post by FrenkR »

printer is "bullzip PDF". Then it looks like this driver has no support for that.
If I understand correctly, "Print() method takes RenderedPages() list from report and "sends" them to spooler. So if printer has no "collate" support, then I should change this list in a way I want to print(e.g. duplicating pages to emulate "copies" and sorting page by page to emulate "collation")?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Print() and collate problems

Post by HighAley »

Hello, Frenk.

Unfortunately, there is no way to know if the printer support Collapsing or not.

Thank you.
Post Reply