Datamatrix Using A Reader Programming Code (234) S’abonner

0
Avatar
Legacy Poster

Hello,

 

I'm trying to generate datamatrix barcodes intended to program my barcode reader.

For this, I need to insert a "special" 234 code (aka "reader programming") in the beginning of my dataflow. Would it be possible to use Bartender to generate my barcodes ?

 

The only special characters I see are the classical control characters (ASCII 1..31 + 127).

I'm running BT Automation 10.0

 

Thanks. 

4 commentaires

0
Avatar
Ian Cummings
Modérateur
Actions pour les commentaires Permalien

Is it ASCII code 234 that you want?  I guess you could use a single line VB script data source with an expression of: Chr(234)

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Doesn't seem to work, but maybe I'm doing something wrong.

What I want to encode is the codeword 234, see the Wikipedia page http://en.wikipedia.org/wiki/Data_Matrix#Encoding (the table just above "text encoding").

Let's compare with another barcode generator: http://generator.onbarcode.com/online-data-matrix-barcode-generator.aspx
To generate a barcode enabling me to enter/exit the configuration mode for a Datalogic Gryphon GD4400 scanner, I'm using the following code (with the parameter "process tilde" set to true):
[font='Courier New']~rp$P~013[/font]

[font=arial, helvetica, sans-serif]~rp is a placeholder for my "234 reader programming code". Generally ~xxx is a placeholder to encode xxx ASCII characters.[/font]

[font=arial, helvetica, sans-serif]If I compare using Chr(xxx) in Bartender and ~xxx in this online generator, I get the exact same result only if xxx < 128. [/font]
[font=arial, helvetica, sans-serif]Moreover, I don't get the same results for ~234 and ~rp , which make me think that those so-called codewords are not encoded the same way than plain ASCII in a datamatrix barcode. Somehow this online generator is aware of how to raw encode ~rp while it doesn't seem possible in Bartender.[/font]

[font=arial, helvetica, sans-serif]I'm really sorry to bother you with this very technical and specific thing. I achieved to generate online the barcodes I wanted, so it's not a big deal for me, neither an urgent issue. I just wanted to learn how I could achieve the same result within Bartender, out of curiosity and maybe for extended flexibility in the future.[/font]

Thank you anyway for your initial suggestion.
0
Avatar
Ian Cummings
Modérateur
Actions pour les commentaires Permalien

In the symbology settings what did you select for the prefix?  Have you tried "Reader Initialization" as this is what you'll most likely need.  Either that or choose "None", where you then manually set the prefix.

 

Reader Initialization: Indicates that the symbol encodes a message used to program the reader system.
0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

That's it !

 

In fact I was looking at the wrong place: in the prefix/suffix dropdown menu, instead of the prefix in symbology tab.

 

Thank you.

Vous devez vous connecter pour laisser un commentaire.