Bar code scanner
-
Has anybody here had any experience writing code to work with a bar code scanner? I’m just now starting to research this and I’m looking for resources. My most basic requirement is to be able to generate a bar code that is associated with a specific folder in a directory structure. When that bar code is scanned, the folder will open up. Thanks Brad
-
Has anybody here had any experience writing code to work with a bar code scanner? I’m just now starting to research this and I’m looking for resources. My most basic requirement is to be able to generate a bar code that is associated with a specific folder in a directory structure. When that bar code is scanned, the folder will open up. Thanks Brad
Most barcode scanners just return text. It is just like someone typed keystrokes into the keyboard. So the only issue is what barcode type to use and does your barcode scanner support it. Certain barcode types only allow numbers, others allow both alpha and numeric. Some have check digits others don't. If you need to create a barcode that your scanner can read, often this is as easy as finding the correct font and just displaying that font with the correct text. So in your case, I would probably go with code 39 since it allows alpha characters. That way you could just create barcodes for your folder names. Then when the scan in your barcode you would have text that should be the folder name. At that point you could use that to open that folder. NOTE not all symbols are supported in some barcodes. So if you plan on needed to barcode certain symbols make sure the barcode you choose supports it. Hope that helps. Ben
-
Most barcode scanners just return text. It is just like someone typed keystrokes into the keyboard. So the only issue is what barcode type to use and does your barcode scanner support it. Certain barcode types only allow numbers, others allow both alpha and numeric. Some have check digits others don't. If you need to create a barcode that your scanner can read, often this is as easy as finding the correct font and just displaying that font with the correct text. So in your case, I would probably go with code 39 since it allows alpha characters. That way you could just create barcodes for your folder names. Then when the scan in your barcode you would have text that should be the folder name. At that point you could use that to open that folder. NOTE not all symbols are supported in some barcodes. So if you plan on needed to barcode certain symbols make sure the barcode you choose supports it. Hope that helps. Ben
Thanks. That gets me on the right track.