Skip to Content
author's profile photo Former Member
Former Member

Several reports, one print job?

Hello,

I have several reports that I'd like to ensure print "together".

Is there a way to do this?

ReportDocument reportDoc1 = new ReportDocument();

ReportDocument reportDoc2 = new ReportDocument();

reportDoc1.Load( "rpt1.rpt" );

reportDoc1.Load( "rpt2.rpt" );

reportDoc1.PrintOptions.PrinterName = printerName;

reportDoc1.PrintToPrinter(1, false, 0, 0);

// Do some stuff.......but I don't want any other print jobs to print between

// reportDoc1 and reportDoc2......?

reportDoc2.PrintOptions.PrinterName = printerName;

reportDoc2.PrintToPrinter(1, false, 0, 0);

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Dec 19, 2008 at 09:34 PM

    Only way will be to put the reports into one report as subreports.

    Ludek

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Frank,

      Other option is to export them to DPF, Word/RTF etc. and then create an app to open each file and append them onto the end of the last file using that exported format SDK.

      CR doesn't have any way of doing this other then what Ludek suggested.

      Thank you

      Don

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.