Do you have the latest Hot Fix? I think this might be a known issue which was fixed.
If that does not help, you should Submit an incident to Infragistics Developer Support and, if possible, include a small sample project demosnsrating the issue.
After you install the hot fix installer, you'll have a new version of the NetAdvantage assemblies installed into your GAC, as well as placed in the installation directory of the toolset itself. You don't have to compile the assemblies for our controls - we've done that for you.
Your Visual Studio toolbox will still point at the previous version of the assemblies. Because of this, the first thing you'll want to do is to update these to point to the current version of the assmeblies instead. You can do this by running the Toolbox Utility again, or by manually replacing either the individual entries or the whole tab.
You might also have to update your applications to point at the new version of the assemblies. You can use the Project Uprgrade Add-In or Project Upgrade Utility to automate this, or you can update the references manually.
stanleyconstant,
I'm glad that my code is used ;)
My code only render the Report on the graphics surface of a printer. That is all.
You submitted code is a mess, unreadable, please attach a zip with sources if you want a reply ;)
Do you have tryed to print directly the Report w/o preview it (with Report.Print())?If yes the text still grey also on the printed document?
I used Report with many types of docs, but it still working good everytime... one suggestion, read your code that describe/create the Report, the problem could be here.
Regards,
Davide.
Okay. I understood the document printed fine in black. I guess the UltraPrintPreviewDialog will not work as a means of properly viewing the report with sharp black text.
Thanks for the help and the code.
I saw,the preview seems grey, but is not grey, it's correct!Remember that the preview is done on a scaled version of the document on a LCD monitor ... and the blackness of text may be affected by severals factors (ambiental light, adjustments of monitor, ecc).
If you print, via the preview dialog or via Report.Print(), the printed doc is correct.
To enable printing from preview dlg remove the lline 98 (e.Cancel = true;)To print directly fomr Report you must specific the printer name; you can get the name of default printer of the PC with this code:System.Drawing.Printing.PrinterSettings psets = new System.Drawing.Printing.PrinterSettings();string _currentPrinter = psets.PrinterName;
Ciao
The form with the sample UltraPrintPreviewDialog and Report code is attached. Thanks for the help. I was using the the google browser which doesn't work with the file upload on this forum.
From the "Reply" interface (not through "Quick Reply"), go to the "Options" tab. This will provide you with an option to upload and attach a file to your post.