Skip to main content

Search

Search

Human Readable Data

Comments

2 comments

  • Avatar
    Legacy Poster
    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
  • Avatar
    Shotaro Ito
    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

Please sign in to leave a comment.