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
0
Comments
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?
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
Try Arial in place of Helvetica, perhaps play around with the clear fonts until you get a good match.
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.
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.
Are you using \ or \n ?
Also are you printing to a "real" printer or a Generic Text printer?
I've tried Arial, size 8 and 10.