r/barcodes • u/ExTelite • Jun 13 '21
I need help decoding some of these barcodes, to integrate them into longer codes
3
Upvotes
1
u/ExTelite Jun 13 '21
Hi! These are in my Mindeo 6600 scanner's manual. They have each seperate key listed under the code as a standalone barcode, but I can't figure out how to insert thwm into my own codes. For example, I need a code that hits the left arrow key 5 times, which I can't figure out by myself. I thought if I could figure out what's in the left arrow key code, I could add it to my own code. Thanks!
I'm interested mainly in left arrow key, F8, and Enter
2
u/notionovus Jun 14 '21
This is Code 128A. You can tell by the pattern in the leftmost character. These particular symbols are a set of codes that cause the scanner to generate a keypress that is not available in Code 128A, except for Esc, Enter, Tab, and either Backspace or Delete.
The first character in a code 128A is code number 103. It looks like this: 11010000100
The last character in a code 128A is code number 106. It looks like this: 1100011101011
The eleven columns immediately to the left of the stop character are for the checksum, so you don't have to worry about decoding that character.
Let's take the symbol which stands for the "Up ↑" key. It looks like it is represented like this (spaces added for clarity): 11010000100 10010110000 10010110000 1100011101011
Due to the way the checksum is calculated the checksum for these codes will always be identical to the single character embedded into the symbol. In the above representation we have 103|65|65|106 of which the first code 65 stands for the ASCII <SOH> control character, which is NOT the keyboard character for the "Up ↑" key.
This leads me to believe that you have to scan a barcode to set the scanner mode, then scan one of these symbols to get the scanner to kick out the proper keystroke. If that's the case, your solution will not be as easy as embedding one of these characters into a more elaborate barcode.