DataMatrix 2D Font

Need assistance with programming Font Tools? Post here.

DataMatrix 2D Font

Postby StephenC on Thu Mar 29, 2012 2:50 pm

I'm interested in using your font, but I can only supply data to my equipment on a one line per one record basis. For example...

Code: Select all
00001~JOHN DOE   ~1234567890
00002~JANE DOE   ~0987654321
00003~BOB SMITH  ~5674926753

I notice the encoder needs to make multiple lines of text to represent the DataMatrix font, is there a way to pass the multi-line data on a single line? (in hex, or with special characters representing the CR/LF). In other words the encoder would need to output the font data on a single line of text. We are using ANSI text files here at our facility; we would not want to use Excel/Word/Access as a solution.

Re: DataMatrix 2D Font

Postby glitch on Thu Mar 29, 2012 3:01 pm

You can pass a different line separator to DataMatrixResultGetBarcodeString2 function. For example, if you pass “|” as the parameter, lines are separated with “|”. You need to convert it back in order to display the barcode correctly. ... f92bb77749

Let me know if you have any questions.
The information above is provided "AS IS", with no warranties, and confers no rights.
User avatar
Support Engineer
Posts: 198
Joined: Wed May 14, 2008 2:42 pm

Return to Font Tools API

Who is online

Users browsing this forum: No registered users and 1 guest