cancel
Showing results for 
Search instead for 
Did you mean: 

CR2020 viewer print output is incorrect when PrintMode=PrintOutputController....

grchen168
Explorer
0 Kudos
545

Using Crystal Reports 2020 viewer in my C# WinForm application, after the data is loaded into the report, the RPT is correctly displayed in the viewer. 

And, when setting Viewer's PrintMode=PrintToPrinter, and then, click the print button of the viewer, the print-out is also correct.      So far so good.

But, this time, when setting the Viewer's PrintMode=PrintOutputController, and then, click the print button of the viewer, the print-out is incorrect!!  That is, the top & left margin of the print-out is too much.

Why the viewer in printmode='PrintOutPutController' does not produce the same result as print mode='PrintToPrinter' ??

Or, under the circumstance of setting PrintMode=PrintOutputController, what other measures should I take in my C# code in order to instruct the viewer print output as the same as when setting viewer's PrintMode='PrintToPrinter'?? 

 

View Entire Topic
grchen168
Explorer
0 Kudos

Hi, Don, 

Thank you for reply.

My default printer is Cute PDF Writer.

And, I try my rpt file with data with your application (RAS10_CSharp_Printers.exe), 

When the  "Viewer Print Mode" is "PrintToPrinter" selected, then click the viewer Print button, the print out is correct.   But, if the "Viewer Print Mode" is "PrintOutputControl" selected, then the print out from the viewer's Print Button is not correct.

Please have a look at the attached file.