Skip to Content
author's profile photo Former Member
Former Member

Problem Printing from SAPBusinessObjects.WPF.Viewer

C# WPF application, Visual Studio 2010 ,CR version 13

everything except the print button works, I can export copy, etc. Just not print.

code to make Viewer

reportViewer = new CrystalReportsViewer();

reportViewer.Owner = GetWindow(this);

reportViewer.Name = "CrystalReport";

reportViewer.ShowLogo = false;

reportViewer.ShowToolbar = true;

reportViewer.ShowOpenFileButton = false;

reportViewer.ViewerCore.ReportSource = report;

reportViewer.ToggleSidePanel = SAPBusinessObjects.WPF.Viewer.Constants.SidePanelKind.None;

When I click the Print button on the toolbar it says "No printers are configured. Please configure a printer on the system before printing."

I have 4 network printers on my machine, and a default printer is selected.

How do I make it popup a printer dialog box for the user to select the desired printer/printer options/page options, and then print.

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2014 at 03:32 PM

    Any other ideas I can try?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 08, 2014 at 03:15 PM

    Hi Bobby,

    Try this MS Kbase article:

    http://support.microsoft.com/default.aspx?scid=kb;en-us;184291

    Try running your app under Administrator account, it will likely work also since the Admin has full access to all devices.

    Don

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.