cancel
Showing results for 
Search instead for 
Did you mean: 

DHTML viewer printing to PDF

dave_smith2
Participant
0 Kudos

We are using Crystal 2011 runtime SP 3 along with ASP.NET 4.0 and have a strange problem occurring. On certain machines (Windows 7/IE 9) when printing from the DHTML viewer, there is a prompt to export to PDF first. On other machines (also Windows 7/IE 9), the same reports display the normal printer dialog that we expect.

The server is IIS 7 on Windows 2008 64 bit.

We have not been able to isolate the cause of this? Does anyone have an idea as to why this is happening and what we can do to correct it? Again the same report behaves differently on different machines.

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Hello Dave

Crystal 2011 does not install any development runtime / SDK.

Can you please check the version of the CR references in your project?

- Ludek

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

dave_smith2
Participant
0 Kudos

Sorry, I meant we installed CR for VS 2010 using the following link:

http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_3.zip

former_member183750
Active Contributor
0 Kudos

There are two print modes:

PDF and ActiveX

What mode is the report viewer set to?

Is this an app you created, or is it a 3rd party app?

Is it a 32 bit or a 64 bit app?

- Ludek

dave_smith2
Participant
0 Kudos

It is a 32 bit application that we created. We are not setting the print mode explicitly.

The interesting thing is that the same report behaves differently when run from different machines with the same OS and browser type. On one, you get the printer dialog and on another you get the PDF export.

dave_smith2
Participant
0 Kudos

An update.

We set the print mode explicitly to ActiveX and received a dialog to install it upon printing. The printer dialog did display.

We removed the print mode setting and ran the report again and printed it. It displayed the regular Windows print dialog without the need for the ActiveX install. Why would it work this way and show the regular printer dialog on some machines and not others?

former_member188030
Active Contributor
0 Kudos

Dave,

After stting the PrintMode to ActiveX, recompile the application and then deploy it.

On the machines where it brings up the pdf export, check if any ( atleast one) printers are installed / available. Also, try and print a word file on such machines and see what happens.

Also, Check 'No Printer' on the report page setup options.

Hope this helps,

Bhushan.

Answers (1)

Answers (1)

Former Member
0 Kudos

I too am having the same issue, however I did some additional testing.

SSRS reports when clicking on the print button go directly to the print screen to select a printer.

I also uploaded a report with the no printer checked in both cr2011 and xir2 to see if it was a crystal setting and the same behavior appeared, the crystal reports regardless need are wanting to print to pdf first, then actually print.

former_member183750
Active Contributor
0 Kudos

Matt, if you could start another thread that may be helpful. As I see it, we now have CRVS2010, CR XI R2 and SSRS in the same thread. Each of the aforementioned will have a different behavior and SSRS being an MS product may only come into the picture as a comparison. CR will behave differently, even from CR XI R2 to CRVS2010.

- Ludek

Former Member
0 Kudos

I have another thread already, I just wanted to add that information just in case it triggered a thought.

The link to my direct thread is http://scn.sap.com/thread/3216257, but its the same exact issue.