Skip to Content

Crystal Report Removes spaces and cuts word on the right side

I have a Text field with CanGrow = True - the font is Times New Roman 12, the style is HTML. I have version 13_0_19.


I have 2 problems - Words are cut on the right side and if the text is formated with a number of spaces inside the spaces will be deleted.

The HTML formatting is <body> text from database </body> - sometimes <br>.

I have asked this Before but no good answer :

https://answers.sap.com/questions/389073/crystal-report-removes-spaces.html

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Feb 05 at 08:12 PM

    Deleting extra spaces is part of what HTML does. I'm not sure whether there's a way around that.

    For cutting off words, I might try making the right margin a little wider. Also, is the Page Setup using a specific printer? That can have a significant impact on how the report is rendered on the screen. For reports that display in html, you might want to try turning on "No Printer (optimize for screen display)" or "Dissociate Formatting Page Size and Printer Paper Size" to determine whether either of those settings will help.

    -Dell

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 01 at 07:08 PM

    Hi Inge,

    Try this KBA and book mark it:

    https://apps.support.sap.com/sap/support/knowledge/public/en/2165260

    Lots of registry keys to adjust DB connections, fonts, formatting etc.

    These should fix all of your viewing and printing issues.

    Don

    Add comment
    10|10000 characters needed characters exceeded

    • I tried with

      MapMaxTypeToString
      UsePrecisePositioningForText
      TruncationAdjustment

      TrimTrailingSpace

      but no change in output, Words are cut on the right and blanks in a text are removed