Skip to content

How to encode a GS1 using the DataMatrix format #13

@cah-brandon-trebbien

Description

@cah-brandon-trebbien

What string should I pass to the datamatrix.py file so that I can have a GS1 encoded output with FNC1 characters and GS (group separators)?

i.e.
(01)00312345678901(21)040404(10)MYFAVLOT(17)201031

So that the appropriate function 1 characters are encoded into the barcode? Currently any attempt I have done (entering \x1d for example) has led to those characters actually being encoded straight into the text string itself.

i.e.
]d2(01)00312345678901(21)040404\x1d(10)MYFAVLOT\x1d(17)201031

My goal is to be able to scan this barcode and with the appropriate FNC1's or GS's inserted, the barcode can be parsed via standard GS1 logic.

This is an awesome project.. any help here would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions