Report and fixed text alignment question
gicif
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
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
-
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 money0 -
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.
Thanks0 -
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 money0 -
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.0 -
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.
Experience is what you get when you hoped to get money0 -
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?0 -
I'm using \ chars and printing to a real printer.0
-
Unfortunately work with even font size, not solve the problem.
I've tried Arial, size 8 and 10.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
