2

I'm using this code128 barcode font. It works fine, but when I have an underscore (_) my usb barcode reader automatically transforms it in a minus (-). I tryed to switch the keyboard language and I get a slash (/). So, I suppose there's a problem with the language. I'd like to have a barcode that is language independent. Is this possible? How?

The code I used to generate the barcode representation is like the one stated here.

2
  • What your saying doesn't make sense. The underscore is an underscore in code 128 and shouldn't get confused with anything else. My suggestion is to manually decode the barcode and see what is actually being encoded. To manually decode the barcode, you can blow the barcode up real big on a piece of paper and use a ruler and pencil or scan it into photoshop (or similar) and count pixels. Determine which start code you are using and if the bar pattern or the underscore is a 1 1 1 2 2 4 link Commented Feb 19, 2013 at 17:07
  • Thank you for the help. I found the solution, read below. Commented Feb 20, 2013 at 8:15

1 Answer 1

2

I solved. The problem was the setting of my barcode scanner (a Datalogic HeronG). I set the USB interface to USB-KBD - ALT-mode. In the USB-KBD mode, the scanner simulates the national keyboard.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.