ā03-17-2018 12:21 PM
greetings everyone !!
here i would like to implement bill printing through labview which is an integral part of an application. I've attached an front panel which gives some idea of what i want to do and also what was my problem too..we can observe text overlapping in the string indicator where there should be some space gaps and straight alignments to look good right !! so.. i have to set offset values to avoid the text overlapping for that how can i do that ., i mean how can i know the best possible offset values to arrange billing in nice alignment ??
thanking you
ā03-17-2018 12:23 PM
What is "bill" printing?
You didn't attach the front panel you mentioned, so maybe that would have helped explain what you are trying to do.
ā03-17-2018 12:24 PM
@ivanjoel wrote:
. I've attached an front panel ...
You have not attached anything.
ā03-17-2018 12:24 PM
greetings everyone !!
here i would like to implement bill printing through labview which is an integral part of an application. I've attached an front panel which gives some idea of what i want to do and also what was my problem too..we can observe text overlapping in the string indicator where there should be some space gaps and straight alignments to look good right !! so.. i have to set offset values to avoid the text overlapping for that how can i do that ., i mean how can i know the best possible offset values to arrange billing in nice alignment ??
thanking you
ā03-17-2018 12:52 PM
You do know what LabVIEW means, don't you? Laboratory Virtual Instrument Engineering Workbench. It is not a "general-purpose Programming Language", which means that some "general purpose programs" (like creating pretty billing statements) are not its Primary Task.
However, with a little work and ingenuity, you can "fake it". Here are several possibilities:
See if this helps.
Bob Schor
ā03-17-2018 01:02 PM
Well, attach the VI instead if a truncated picture. (Why is there a FOR loop?)
If you want perfect character alignment, use a fixed width (monospaced) font (Courier, Consolas, terminal, etc.) and defined size. Now you can resize your text indicator for an exact number of rows and columns and you can place any given character at any given exact location by just unserting the right amount of spaces and linefeeds.