Report and fixed text alignment question

gicifgicif Member Posts: 16
Hi all,
I need to realize a report of type "contractual conditions", thus I have tons of fixed text and this text must be exactly formatted. I use multiline textbox and the problem here is that text seemingly randomly aligned and truncated on the right side by the report engine. I tryed to adjust report margin, textbox width, etc, but this doesn't solve. Moreover, what I see at design time is not what i see in preview and, even, the preview layout and print layout on paper are different and, more, layout on paper printed on different printer are different too... ](*,)
This isn't truly Microsoft philosophy...
Alternative I have?
Programming and calling a Word instance with the right template and so on?
Our Navision ver. is 5.0
Many thanks in advance.
gicif

Comments

  • colingbradleycolingbradley Member Posts: 162
    You can specify in the text box Horizontal Alignment and vertical alignment.
    Also, if you check the File/Page Setup and select the printer you would normally print to, you can then preview and it will be the same as when printed to that printer.

    The only thing remaining a problem is the way the multi-line works. Can you give an example of what the problem is?
    Do you need it to wrap in a certain place or length?
    Experience is what you get when you hoped to get money
  • gicifgicif Member Posts: 16
    Yes, I've tried with File/Page Setup but this not solve, thanks for the suggestion.
    For example a text line is wrapped in correct place in preview but is truncated when printed, or vice versa, is truncated in preview and is wrapped when printed.
    Another case is a text line that is wrapped in correct place in preview but is wrapped in another place when printed.
    I've tried with escape sequence "\n" in the string and it seems work fine in preview but when printed, "\n" characters are printed out too, because what I see in preview (thus determining the position of "\n") isn't what is really printed out.
    I use left-top alignment and multiline for all textboxes.
    Thanks
  • colingbradleycolingbradley Member Posts: 162
    Have you tried changing the font size or even the font. There have been situations where the printer interprets the font in a different way.
    Try Arial in place of Helvetica, perhaps play around with the clear fonts until you get a good match.
    Experience is what you get when you hoped to get money
  • gicifgicif Member Posts: 16
    Hi colingbradley,
    all my textboxes are in Arial, size 9 font.
    I will play with other font/size but i think here is a bug of Navision on the multiline textboxes management.
    With standard textbox (single line) i've no problem, but I've tons of text and transpose the whole text in hundred of singleline textboxes and set the right width of every line, I think it's for crazy people :shock:
    Thanks again.
  • colingbradleycolingbradley Member Posts: 162
    For reasons I cannot recall, font size 7 and 9 behave differently to 8.
    I am sure someone who knows more will let us know.
    It may be to do with the calculation done by the printer with odd number font sizes.
    You can see this with bold 7, it is different behaviour to bold 8.
    :cry:
    Experience is what you get when you hoped to get money
  • kapamaroukapamarou Member Posts: 1,152
    gicif wrote:
    I've tried with escape sequence "\n" in the string and it seems work fine in preview but when printed, "\n" characters are printed out too, because what I see in preview (thus determining the position of "\n") isn't what is really printed out.
    Thanks

    Are you using \ or \n ?

    Also are you printing to a "real" printer or a Generic Text printer?
  • gicifgicif Member Posts: 16
    I'm using \ chars and printing to a real printer.
  • gicifgicif Member Posts: 16
    Unfortunately work with even font size, not solve the problem.
    I've tried Arial, size 8 and 10.
Sign In or Register to comment.