Zum Hauptinhalt gehen

Suche

Suche

"smarter" Line Feed

Kommentare

3 Kommentare

  • Avatar
    Fernando Ramos Miracle

    Hello Gemineo,

     

    If you are applying a GS1 standard to your Data Matrix barcode you can separate each application identifier (AI) on separate lines.

     

    If you are not using GS1, you'll need to customize the human readable text yourself. We offer several tools to do so: character template, search and replace, prefix and suffix. and even VB script.

     

    In your case, you would probably need to apply a VB script, so if the data exceeds a certain number of characters the scripts add a line feed or carriage return to it.

     

    *All the above can be access from the "Human Readable" node of the barcode properties. Note that this features are available only on v10.1 of our software.

     

    Regards.

    0
  • Avatar
    Shotaro Ito

    Not really paper-width aware, however you can do similar in Ver.10.0 Professional Edition's search and replace transform.

    1. Disable human readable of the Datamatrix.

    2. Create a paragraph text and get data source from Object Value of the Datamatrix's human readable.

    3. In Transform tab, add an Action with..

      - Search and insert after

      - Regular Expression

      - Search for:  .{10}[^-]*-

      - Insert: <<CR>>

    [attachment=1070:RegularExpression.png]

    This transform find a - which is after any(including -) of 10 characters, then insert a newline after that.

    From Ver10.1, you can perform these human readable transform within Datamatrix, as Fernando say.

    0
  • Avatar
    Legacy Poster

    Thank you for the replies.

     

    I'm using 10.0 Automation, so I will implement Shotaro's solution. I would have liked something more paper-width aware indeed, but working on the number of characters is a compromise that is acceptable for me. 

    I didn't know that we can use regular expression in the transform tab. So, that's a very valuable advice anyway, besides my initial issue.

     

    Thank to both of you again.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.