java - How to decode raw data (non-ascii char) from a barcode scanner -


me , dev team have project .... using handheld barcode scanner. in order job have convert barcode scanner signal raw data , send data trough rs232 our pc , process vb.net app. got raw data want process, problem raw data contain non-printable ascii char starting 220 255. question there method decode raw data meaningful printable-ascii (in language java,ruby, etc)?

scanner used solutions bs100. default setting scanner outputting it's data trough usb , it's autodetected hid keyboard, isn't common approach egineer on team have try one. think captured tough custom hardware serial connection needed. removed default usb port , change rj45 signal max487 ic , convert rs232 level can feed signal directly com1 of pc

data returned:

250 224 250 221 255 224 221 255 248 224 248 221 255 224 253 255 221 255 224 221 255 221 255 224 221 255 253 255 224 221 255 221 255 224 253 255 253 255 224 221 255 221 255 224 253 255 246 224 246 233 224 233 

from image: image scanned

if have changed scanner cable usb serial configuration need configure scanner interface use serial connection (see example). once serial interface has been configured should ascii characters returned (49 48 49 48 48 48 48 48 48 55 51).


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -