cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Crystal report viewer: Print range is greyed out in Print dialog

HusseinJ
Discoverer
0 Likes
635

Hello, I am having a problem when I try to print a report from the print dialog.

The Print range is greyed out like this:
crystal.png

I am using CRRuntime_32bit_13_0_21.

Is there an option somewhere to enable the pages and selection so that I can choose specific page to print ?

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

DellSC
Active Contributor
0 Likes

Have you tried upgrading the version of the SDK that you're using?  You're on SP21, which is very old and is not certified for Windows 11.

To upgrade:

1.  Download both the .exe that integrates the SDK into Visual Studio and the runtime version that you'll use when deploying your application.  You can find both through links here:  https://help.sap.com/docs/SUPPORT_CONTENT/crystalreports/3354091173.html.  The most recent version as of today is SP 35.

2.  Install the .exe on the computer with Visual Studio by right-clicking on it and selecting "Run as Administrator".  DO NOT install the runtime on the developer computer.  DO NOT get the assemblies through NuGet or other tools - they won't work unless they're properly registered and there are many dependencies that aren't found in those tools.

3.  You may have to replace the references in your application with references to the new version of the SDK.

4.  Recompile your application.  Since you're on SP21, I don't think you'll have to make any changes to your code like you would if you were on an earlier version.

5.  When you deploy your application, you'll need to uninstall the older version of the runtime and install the new version.  You cannot have two versions of the runtime installed on the same machine.

-Dell

 

HusseinJ
Discoverer
0 Likes

@DellSC 

Even if I choose a printer other than Microsoft print to PDF, it is still disabled.

No default printer has been set for the report, and this is a desktop application.

EDIT: Sorry this is my first post here. I meant to put this as a comment, not an answer.