CrystalReportViewer PrintMode

Posted on 2012-08-16
Last Modified: 2012-09-01
I am trying to make printing report compatible with all browse. Since ActiveX is only working on IE, therefore I set the printmode to PDF.  I am using the following in the code, which is getting exectued.  

CrystalReportViewer1.PrintMode = CrystalDecisions.Web.PrintMode.Pdf

I am also using the following in the ASPX

@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR"


 <CR:CrystalReportViewer ID="CrystalReportViewer1" PrintMode="Pdf" runat="server" AutoDataBind="true" />

When I press the printer button on some PC I get a print dialog box and on some other PC I got PDF export dialog.  Both PC are using the same version of IE.

Any idea, where is the settings to control this behaviour?
Question by:imccorp
    LVL 13

    Expert Comment

    There may be no adobe acrobat active X installed on the other computers.

    You can set via

     myCrystalReportViewer.PrintMode = CrystalDecisions.Web.PrintMode.Pdf
    private void SetPrintMode()
          crystalReportViewer.PrintMode = PrintMode.Pdf;


    Author Comment

    All PCs have Adobe Active X installed.
    LVL 100

    Expert Comment

    DO they all have Adobe reader installed?

    Are they all the same version and fairly new?


    Author Comment

    Yes, all of them has Adobe Reader, but different version.

    I dont think it was due to Adobe reader version, because those machines that have the same Adobe reader version has different behaviour.
    LVL 100

    Expert Comment

    What version of reader doesn't work?

    I know there is a minimum version required but I don't know what it is.


    Author Comment

    We are using version 9 and version 10.

    The one that have different behaviour was at version 10.

    Accepted Solution

    Managed to resolve the issue by reinstalling the Adobe Reader on the PC that having different behavior.

    Author Closing Comment

    Managed to resolve it by myself

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
    How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now