Page 1 of 1

Datamatrix Barcodes

Posted: Tue Apr 07, 2026 3:58 pm
by cmhjon
Hello everyone,

I am looking to generate (ECC200) Datamatrix barcodes either by drawing individual native LC graphic rectangles to make up the entire barcode or by using a Datamatrix font. Either is fine provided the barcode is scannable with a barcode reader. The barcode when scanned will be used to enter data into a row on a spreadsheet with each piece of data being separated by a tab and ending with a carriage return.

Please DM me if you think you could produce this.

Thank you and best regards,
Jon :-)

Re: Datamatrix Barcodes

Posted: Tue Apr 07, 2026 4:14 pm
by dunbarx
Hmmm.

Another one. At least the AI bots are participating...

Craig

Re: Datamatrix Barcodes

Posted: Tue Apr 07, 2026 5:23 pm
by cmhjon
? I am definitely not a bot :)

I am working on an app (to replace an existing app) to print labels for my team and one of them uses a Datamatrix barcode. I’ve tried to make sense of how source data is encoded to produce the barcode but it’s over my head.

Re: Datamatrix Barcodes

Posted: Wed Apr 08, 2026 1:59 pm
by dunbarx
cmhJon

My bad, I should have seen that was not your first post.

Not even close. :oops:

Craig

Re: Datamatrix Barcodes

Posted: Wed Apr 08, 2026 4:38 pm
by richmond62
"Somewhere else" a very clever chap has already implemented THAT in webTalk.

Re: Datamatrix Barcodes

Posted: Fri Apr 10, 2026 1:08 pm
by cmhjon
Hi Richmond,

That very chap reached out to me and although I have the standalone HTML file he provided which does the work, I have no idea how to implement it into LiveCode. I assigned the HTML file to a browser widget and can see the web page but after that, I am lost :(

Jon

Re: Datamatrix Barcodes

Posted: Fri Apr 10, 2026 6:26 pm
by richmond62
Well, webTalk is NOT LiveCode: it is a completely unconnected implementation of xTalk, so you have about 0% chance of carrying that across to LiveCode.

As webTalk is Open Source, even if you could 'lift' that code into LiveCode you would probably be violating the Open Source licence as, I assume, you are using the current, commercial version of LiveCode.

Re: Datamatrix Barcodes

Posted: Fri Apr 10, 2026 7:37 pm
by SWEdeAndy
Hi Jon,

I have experience with building interaction between LiveCode and embedded browser functions. I could take a look at it if I get the html file and some example data that you want to base the barcode on.

/Andreas

Re: Datamatrix Barcodes

Posted: Sat Apr 11, 2026 9:24 am
by tperry2x
I will just remind you of the license agreement governing the use of Webtalk:

If you are in any way affiliated with "Livecode":
1. Delete all copies of this software you obtained.
2. Do not use any part of this software.
3. Do not copy any of the code for your own use.
4. Do not pass [in full / in part] to Livecode testers.
5. Do not use internally within your company[ies].
6. Persons working on behalf of Livecode's interests are prohibited from using, decompiling or reverse-engineering this project in any way.

I was simply pointing out a way that datamatrix barcodes could be produced. No internet connection is required, no subscription required, and as a tool you could use to create (and print) these off as you needed.

Not to worry, I was just trying to be helpful: back to whence I came now.

Re: Datamatrix Barcodes

Posted: Sat Apr 11, 2026 2:38 pm
by SWEdeAndy
No worries, I have found a better solution, MIT licensed. I have a working proof of concept:
LC barcode.png
LC barcode.png (13.2 KiB) Viewed 193 times
Jon, please contact me at andreas@wheninspace.se to discuss further.