Skip to Content
avatar image
Former Member

PrintToPrinter ignoring PrinterSettings.Copies for single page reports

I'm currently running into an issue when trying to print a Crystal report using Report.PrintToPrinter. If the generated report contains a single page, then only a single copy of the report is printed, regardless of the value set in PrinterSettings.Copies. However, as soon as the generated report contains multiple pages, the correct number of copies is printed. I've confirmed this behavior on multiple pcs and printer combinations.

Below is the call to PrintToPrinter that I'm using. I've also checked at that point that the value of dlg.PrinterSettings.Copies is set correctly. (dlg.PrinterSettings.DefaultPagesettings.PrinterSettings.Copies also reflects the correct number of copies)

Report.PrintToPrinter(dlg.PrinterSettings, dlg.PrinterSettings.DefaultPageSettings, false)

Any ideas why this would be the case? Any suggestions on how to resolve this issue would be greatly appreciated.

PS: Using CR13 and a Win based application.

Thanks in advance,
Anthony

Add comment
10|10000 characters needed characters exceeded

  • Former Member

    Nobody has run into this issue before? No suggestions?

    Hope I've posted this in the correct spot... No idea how to tell if this is in the CR forum (if that is even a thing anymore?)

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 27, 2017 at 05:42 AM

    Update: Unfortunately, this problem is still persisting and I simply can't get a single page report to print multiple copies.

    Can anyone confirm this behavior or does anyone have any suggestions?

    Thanks in advance,

    Anthony

    Add comment
    10|10000 characters needed characters exceeded