Aller au contenu principal

Recherche

Recherche

Extract data from a GS1-128 barcode scan

Commentaires

4 commentaires

  • Avatar
    Peter Thane

    It should pick it up correctly with the GS1 barcode created like this:

     

     

    0
  • Avatar
    Geiger Geiger

    Good morning Pthane,

    Thanks for your answer. 

    I agree 1st step is to do a text field in data entry form and then link it to a field out of the label.

    Then what I want to do is when scanning the EAN128 I need to extract each AI to a specific field of my label.

    Ex: the AI(10) will go to my label on field "Lot: XXX",  the AI(15) will  go to my field "best before: DD/DD/DD", etc...

    If it would be always the same structure of the EAN128 in term of AI's it would be easy to troncate the code to extract the information, but sometimes I can have different AI's from different suppliers and it makes the thing harder.

    I'm just wondering if I can earn some time by using an existing tool and not to code a full vb script (I'm not a coder).

    Since EAN128 is widely used in industries, I would be surprised no integrated EAN128 "translator" would be included in BT.

    Thanks.

    0
  • Avatar
    Peter Thane

    BarTender is a label printing package and not a scanning/verification package so you need to tell BarTender what to print and so although it will print correct GS1 symbols it does not recognise them when they are scanned in and so cannot pick up the AIs etc.

    I just noticed your 013700189510761310300012610ABC sting is also incorrect as there is no check digit on the GTIN and so I have added the check digit into the string.

    If you add a field onto your label (you can drag it off to the side so it doesn't print) and add three Object Value fields onto the label linked to that you can then use Truncation just to display the correct data and so no need for VB to be used. As you can see below for the GTIN I have discarded the first two characters to the left and then just kept the next 14 characters:

     

     

    0
  • Avatar
    Geiger Geiger

    Good morning Pthan, thank you for the answer.

    I know BT is used for printing barcodes, but data transmission from 1 label to another is also important and the barcodes don't do mistake (at the opposite of humans); that's why I thought BT would manage EAN128 "decodification" to transfer the data from a label to another.

    I have the same way to deal with EAN128 than you do so I'll follow that way.

    Thanks again.

     

     

    0

Vous devez vous connecter pour laisser un commentaire.