on 01-07-2014 7:42 PM
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!
Any other ideas I can try?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you try another printer?
Is this a default printer? If not, can you try a default printer?
Using something like Process Monitor may not be bad idea to see if there are any permissions, etc., issues.
- Ludek
I am a bit confused on your reply, I am not able to select a printer when using the control. As soon as I click the print button it gives the No Printer configured error. I do have a default printer set up, and if I try to print from the IDE or the Crystal Reports IDE, v12 I think, I can select the printer or print right to the default. But using the "SAPBusinessObjects.WPF.Viewer" control in my Desktop WPF application I just get the No Printer Configured Error.
Process Monitor showed no permission error or anything, just my threads and connections to SQL
Thanks
You must have a default printer set up. Please see if the issue goes away once you do have any default printer setup (Can be MS XPS).
And a BTW.; Just an explanation how these things work. SCN is a community site not technical support. Thus we do not do Goto meeting or Teamviewer, etc. This would be reserved for paid phone incidents only. Phone incidents can be created here:
Crystal Single Case Technical Support - SAP Business Objects US Online Store | SAP Online Store
- Ludek
Hi Bobby,
Your screen shot shows you have a network path to your printer, this doesn't mean you have a printer installed. You physically need to install a printer on your Local PC by adding a new Device ( assuming you are using Windows 7 or above.
So when you printed from the IDE click the printer name drop down list.
What do you see?
Here's mine....
Don
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Add the report to your project. Then use the CR designer to view the report in the .NET IDE. Then try to print from the designer. Does that work?
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.