Printing notes results in "overwritten" lines
Aldevinas Katkus
2-1-23
Operating system: Windows
I have a ONE string of 190 chars (there are no spaces in that string, it is a comma separated list) in the note and it does not wrap correctly when printed: it lines are printed one over another if I print it via Operations>>create email or first wrapped line is hidden behind the second line if printed to the standard Windows PDF printer, such as Microsoft PDF printer.

Investigation with hal shows, that the line is somehow magically splitted into more lines, as LineTextCnt(Noter) returns 3 instead of 1.

to make it work I tried
tstr = GetTextField(Noter);

OUTFORMFIELD("F_NOTE",tstr);
but this cuts the text, does not print everything either.

Is this a bug?

Carolina Valentino
2-6-23
thanks .. Aldevinas for your question. i ll check it with a pm and back to you
Carolina Valentino
2-6-23
thanks .. Aldevinas for your question. i ll check it with a pm and back to you
Carolina Valentino
2-6-23
this i got from programer

if there is no hidden characters you must report the bug.
I can provide workaround for it but bug should be reported

rwcnt = LineTextCnt(Noter);
for (i=0;i
tstr = tstr & LineTextGet(Noter,i);
end;
OUTFORMFIELD("F_NOTE",tstr);

this should be workaround for it but I want to know if its bug or not

thanks
Aldevinas Katkus
2-6-23
I have reported a bug Forms>>printing note results in overwritten text
Carolina Valentino
2-21-23
thanks
Carolina Valentino
2-21-23
thanks
Carolina Valentino
2-21-23
Adelvinas, could you add a Demodata on the bug?
Aldevinas Katkus
2-21-23
Demodata is attached.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
David Delač
Hi Piotr, The log entry:
2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024