In 2014, GS1 are planning the introduction of a new barcode standard, GS1 DataBar (previously known as RSS or Reduced Space Symbology). In preparation for this, we're readying our Motorola devices to scan these barcodes so when suppliers start sending stock with these on them we'll be ready.
To scan these barcodes, you will need to update your devices to the latest EMDK for .NET (2.5 Update 1 at time of writing). To do this, you need to uninstall your existing EMDK, then install the new version, then install the update. This will allow you to take the correct symbol cabinet file for your device and deploy it to your device.
You will also need to update your application project references to the new 2.5 version of DLLs now installed on your PC.
As usual, there seems to be a deafening silence on the internet about how to do this but as it turns out, it's not so hard to work out. After calling the "Actions.Enable()" method on your barcode object (Symbol.Barcode.Actions.Enable), you can enable additional decoders. To help you identify the ones you need, however, you need to know the historic IDs for your barcode types.
Old RSS Name | New GS1 DataBar™ | Motorola Decoder |
---|---|---|
RSS-14 | GS1 DataBar Omnidirectional | Symbol.Barcode.DecoderTypes.RSS14 |
RSS-14 Truncated | GS1 DataBar Truncated | Symbol.Barcode.DecoderTypes.RSS14 |
RSS-14 Stacked | GS1 DataBar Stacked | Symbol.Barcode.DecoderTypes.RSS14 |
RSS-14 Stacked Omnidirectional | GS1 DataBar Stacked Omnidirectional | Symbol.Barcode.DecoderTypes.RSS14 |
RSS-14 Limited | GS1 DataBar Limited | Symbol.Barcode.DecoderTypes.RSSLIM |
RSS-14 Expanded | GS1 DataBar Expanded | Symbol.Barcode.DecoderTypes.RSSEXP |
RSS-14 Expanded Stacked | GS1 DataBar Omnidirectional | Symbol.Barcode.DecoderTypes.RSSEXP |
Once you do this, you can easily enable the decoders for these barcode types;
_BarcodeScanner.Decoders.SetEnabled(Symbol.Barcode.DecoderTypes.RSS14, True)
_BarcodeScanner.Decoders.SetEnabled(Symbol.Barcode.DecoderTypes.RSSEXP, True)
_BarcodeScanner.Decoders.SetEnabled(Symbol.Barcode.DecoderTypes.RSSLIM, True)
Comments
Post a Comment