This is a migrated thread and some comments may be shown as answers.

ReportFooter small font warped

6 Answers 60 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Koren
Top achievements
Rank 1
Koren asked on 05 Apr 2012, 11:16 PM
We are having issues with some notes that appear in our report footers in 8pt Arial coming out "warped" (i.e. kind of italic but not quite).  We use this font in some detail lines and in the page footer and those appear fine.  If we render the report to PDF and then print it, it is also fine.  We only have the problem when we use the ReportProcessor PrintReport option.  I have double, triple checked that we are not doing anything different with these textboxes in the reports.  They are all set to 8pt Arial no bold, no italic.  In the same footer, some come out fine and some are warped.  No rhyme or reason that I can see.
The attached picture shows two sets of notes - the first group from a report footer that show the problem and the second group from a detail section that are fine.

Any ideas?

6 Answers, 1 is accepted

Sort by
0
IvanY
Telerik team
answered on 09 Apr 2012, 02:11 PM
Hi Koren,

We were unable to reproduce the issue at our end with the layout described and the sample text provided - perhaps there are some other details that you are missing. In order to advise you appropriately it will be best if you send us a runnable sample that exhibits the problem and provide us with additional information, like what Report Viewer you are using and the exact print setup of the viewer and the printer. Additionally you can check if the problem is not printer related by trying another printer.

Kind regards,
IvanY
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Koren
Top achievements
Rank 1
answered on 09 Apr 2012, 03:22 PM
We are not using a reportviewer in the batch print process.  I am including the code below for our printing.  We tried this to two different printers and got the same results.  It will be tough to get a runnable sample of the problem because these reports are part of a bigger system but I will see what I can do.

private bool PrintReport(IReportDocument reportDocument, string trayName, string duplexOption)
        {
            bool _goodPrint = true;
            //Print report
            try
            {               
                // Obtain the settings of the default printer.
                System.Drawing.Printing.PrinterSettings _printerSettings = new System.Drawing.Printing.PrinterSettings();
                _printerSettings.PrinterName = _printerName;
                //_printerSettings.PaperSources
                if (_printerSettings.IsValid)
                {
                    // Adjust the printer settings if necessary...
                    _printerSettings.DefaultPageSettings.PaperSource = ReportUtility.GetSelectedPaperSource(_printerSettings, trayName);
                    if (duplexOption == "Vertical")
                        _printerSettings.Duplex = System.Drawing.Printing.Duplex.Vertical;
                    else if (duplexOption == "Horizontal")
                        _printerSettings.Duplex = System.Drawing.Printing.Duplex.Horizontal;
                     
                    // Print the report using the printer settings.
                    ReportProcessor _reportProcessor = new ReportProcessor();
                    _reportProcessor.PrintReport(reportDocument, _printerSettings);
                }
                else
                {
                    _errorMessage += " Printer unvailable. ";
                    _logging.WriteMessage(_printRequestInfo + " Printer unavailable.");
                    _goodPrint = false;
                    _printerUnavailable = true;
                }
            }
            catch (Exception ex)
            {
                _errorMessage += "Error printing Analysis Data. Message: " + ex.Message;
                _logging.WriteMessage(_printRequestInfo + " Error printing Analysis Data. Message: " + ex.Message);
                _goodPrint = false;
            }
            return _goodPrint;
        }

0
IvanY
Telerik team
answered on 10 Apr 2012, 12:35 PM
Hi Koren,

Thank you for the code provided - we printed the report in the proposed manner, but once again we were unable to reproduce the issue. You can create a very simple report, it could be only one textbox with no data source - just experiment with the report you have and leave in it only the items that are causing the issue.

Greetings,
IvanY
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Koren
Top achievements
Rank 1
answered on 05 Dec 2014, 04:36 PM
Okay, I know this took a while but just noticed this is still happening on a number of our reports.  I played with the reports yesterday changing the length of the text, what displays, comparing the font to text that appears correct, etc.  All of the text boxes that are printing odd (displaying okay in PDF) are in the report footer.  The font on all the text boxes in the footer is set to Arial 8pt.  If I remove the asterisk, the footnote appears to print correctly.  We send asterisk to the printer up in the detail section without a problem so I'm not sure what the issue would be in the report footer.
0
Koren
Top achievements
Rank 1
answered on 05 Dec 2014, 05:03 PM
Also tried same font and text including the asterisks out of word straight to our printer and that works fine.
0
Hinata
Top achievements
Rank 1
answered on 10 Dec 2014, 12:02 PM
Hi Koren,

Can you attach some kind of a really simple report which shows the described problem? Even better attach a project where this simple report is exported fine to PDF from the preview in the report designer, but when you run the app and export programmatically the result is not correct. Maybe this will help with resolving the problem.
Tags
General Discussions
Asked by
Koren
Top achievements
Rank 1
Answers by
IvanY
Telerik team
Koren
Top achievements
Rank 1
Hinata
Top achievements
Rank 1
Share this question
or