Page 1 of 2

Text string gets truncated on Printed report when different DPI settings are used

Posted: Wed Mar 02, 2011 4:47 pm
by ae
We have users that change their DPI settings to get more characters onto their small video screens (DPI setting = 90%)

This causes text fields with long strings (which have 'shrink to fit=True') to be truncated when the report is printed.

However, when the report is displayed in the Report Viewer it looks ok, and it is also ok when 'Save As PDF'.

Any suggestions on a workaround for this, or if it has been fixed in a recent release.

Thanks,
ae


Text string gets truncated on Printed report when different DPI settings are used

Posted: Thu Mar 03, 2011 7:15 am
by Alex K.
Hello,

Please send us a sample report with data which reproduses the issue.

Thank you.

Text string gets truncated on Printed report when different DPI settings are used

Posted: Tue Mar 08, 2011 7:06 pm
by ae
Attachments added to the initial post. Any thoughts on a solution/workaround.

Thanks,
Andrew

Text string gets truncated on Printed report when different DPI settings are used

Posted: Wed Mar 09, 2011 1:02 am
by Ivan
Hello,

We have tested your report on the latest build and, if we diagnose the issue in the correct way, the problem is already fixed.
Please check the latest prerelease build and let us know about the result.

Thank you.

Text string gets truncated on Printed report when different DPI settings are used

Posted: Mon Mar 14, 2011 2:48 pm
by ae
Thanks,

We'll try it at our next opportunity.

Andrew


Text string gets truncated on Printed report when different DPI settings are used

Posted: Mon Mar 14, 2011 9:58 pm
by Andrew
Hello,

Let us know about the result.

Thank you.

Text string gets truncated on Printed report when different DPI settings are used

Posted: Wed Apr 27, 2011 6:17 pm
by ae
Hi,

We have now upgraded and using Release 2011-01 but are still encountering the same problem.
Can you have a look at this again and let us know if we there is something else we must do to get the print to work properly.
Was the problem fixed in a more current release?

Thanks,
Andrew


Text string gets truncated on Printed report when different DPI settings are used

Posted: Fri Apr 29, 2011 6:36 am
by Ivan
Hello,

It seems internal bug of .NET Framework and GDI+ library.

As a workaround, please try to set the TextQuality property of the problem textboxes to Wysiwyg.

Thank you.

Text string gets truncated on Printed report when different DPI settings are used

Posted: Wed May 04, 2011 7:18 pm
by ae
Thanks for the workaround, that solved the problem.
Also the wysiwyg setting generates more accurate and consistent alignment between text boxes.

A couple of related questions to help us move forward...
) Are there any limitations of using this setting on all text boxes?
) Is there some way to reset all the text boxes on all reports (we have over a hundred that we would like to do).
) Is there a setting somewhere that will then cause all new text boxes to default to wysiwyg. I have 'use last format' option set, but it does not appear to work for the Text Quality attribute.

Thanks,
Andrew

Text string gets truncated on Printed report when different DPI settings are used

Posted: Thu May 05, 2011 4:08 am
by Ivan
Hello,
ae wrote:A couple of related questions to help us move forward...
) Are there any limitations of using this setting on all text boxes?
No. Only one known problem - sometimes there are problems with printing on some PostScript-printers.
ae wrote:) Is there some way to reset all the text boxes on all reports (we have over a hundred that we would like to do).
You can do it from the code, for example:

Code: Select all

            foreach (StiComponent component in yourReport.GetComponents())
            {
                if (component is StiText)
                {
                    (component as StiText).TextQuality = StiTextQuality.Wysiwyg;
                }
            }
ae wrote:) Is there a setting somewhere that will then cause all new text boxes to default to wysiwyg. I have 'use last format' option set, but it does not appear to work for the Text Quality attribute.
Please set the static property StiOptions.Engine.DefaultTextQualityMode = StiTextQuality.Wysiwyg;

Thank you.