cancel
Showing results for 
Search instead for 
Did you mean: 

ReportDocument.PrintToPrinter print multiple copies not working

Former Member
0 Kudos

I would try to print multiple copies for my report(by crystal report), but only can get one copy to be print out. Following is my code:

BTW, the app is winform app. and I am using CR XI.

about reportDoc.PrintToPrinter(2, false, 0, 0), I have tried to set the parameter (collated ) to both true and false, but nothing works.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Hello Peter

What is the exact version of CR you are using? CR XI is just not enough info (In the designer go to Help | About). Also, what version of VS are you using?

And is the issue collating or printing a number of copies?

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

Former Member
0 Kudos

Hi Luke,

I believe that the version of dll I am using is 11.5.9708.826, But when I refer it from the visual studio, it's 11.5.3700.0

And the issue is about printing a number of copies. No matter the parameter copies(first parameter) I set, only one copy can be printed.

former_member183750
Active Contributor
0 Kudos

The difference is that 11.5.3700.0 is the version of the assembly (this never changes from SP to SP). And 11.5.9708.826 is the file version. This changes from SP to SP. This is normal for all assemblies.

What bothers me is that as far as I know, SP 6 is supposed to have a version of 11.5.12.1838. Where version 11.5.9708.826 came from, I have no idea(?). You?

It may be worthwhile to try and run the SP 6 update in any case and see what that does. See this blog on how to.

- Ludek

Former Member
0 Kudos

After I installed SP6, it's still not working. Then I went to Crystal report design tool to open the report and try to print, it still just printed one copy even I set the Number of copies to 2 or any number is greater than 1. I used the "Microsoft XPS Document Writer" as the test printer, so the printing just generated 1 file for printings.

Is that possible the printer causing this issue?

former_member183750
Active Contributor
0 Kudos

Yup, "Microsoft XPS Document Writer" is the issue. Don't use it. Use a real printer driver.

- Ludek

Answers (0)