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.