Human Readable Data
I use BarTender to print labels for cases of fresh produce.
Our industry "Best Practices" recommends that the human readable code be formated under the barcode BUT on individual lines, broken by the AI code.
For Example
(01)74340023217005
(10)158442
(13)05082012
NOT: (01)74340023217005(10)158442(13)05082012
Thanks
Our industry "Best Practices" recommends that the human readable code be formated under the barcode BUT on individual lines, broken by the AI code.
For Example
(01)74340023217005
(10)158442
(13)05082012
NOT: (01)74340023217005(10)158442(13)05082012
Thanks
0
-
I don't think there is a way to break up the human readable directly like that from within the Barcode object.
However, with VB script, there is always a way. Simply create new text data strings, and link them back to your barcode object Shared Sub-String using the [i]mid(<data>,<start char>,<number of chars>)[/i] function. For example, assuming your Barcode sub-string was named "Barcode", your code for line two would read:
[i]Mid(Barcode, 19, 10)[/i]
You can repeat this process for the third line as well, changing your parameters as needed, and group everything together.
Details on the Mid(,,) function: www.w3schools.com/vbscript/func_mid.asp
Reply back if this isn't enough information to help.0 -
Shotaro Ito
★ BarTender Hero ★
nRyder is right, barcode object's human readable doesn't have option to break lines.
After create a paragraph(left aligned) text and retrieve datasource of the barcode's human readable by Label Object String (Object Value),
You can modify that data in More options > VB Script > OnProcessData event, to have line break(vbCrLf) before '(' character.
[code]Value = mid(replace(Value, "(" ,vbCr&"("),2)[/code]
[attachment=125:VbsMultiLineGS1text.png]0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare