cancel
Showing results for 
Search instead for 
Did you mean: 

CrystalReportViewer PrintMode PDF

Former Member
0 Kudos

I am using CrystalReport 13 SP20, in web .net program.

I set PrintMode of CrystalReportViewer to "PDF", this successfully popup printdialog to print the PDF.

However, the print dialog always default to "Scale to Fit" instead of "Actual Size". Then I open the PDF file, there is embedded javascript inside the PDF file generated by CrystalReport:

<<
/S /JavaScript
/JS (this.pageNum=0;this.print\({bUI: true,bSilent: false,bShrinkToFit: true}\);this.closeDoc\(\);)
>>

My question is, is there any way to override the "ShrinkToFit: true" to "ShrinkToFit: false" ???

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi JH,

We looked at the source code and that value is hard coded in our source.

Since it's Java there is no option you can access it to alter it in CR SDK's.

Only option is to write your own Print button code.

Thanks

Don

Answers (0)