GS1-128 barcode parsing

纵饮孤独 提交于 2019-12-11 00:52:43

问题


Scanner Model :- Motorola- DS4208-HC

We need to parse the GS1-128 barcode. We know they are going to use GTIN(01), lot number(10), Expiration date(17), serial number (21). Input String:- (01)07612345678900(17)100503(10)AC3453G3(21)455777

The problem is that barcode reader outputs a string, the format is like this:

01076123456789001710050310AC3453G321455777

Since there is not a separator and both serial number and lot number are a variable length according to GS1 standard, we have trouble to identify the segments.

There should be a FNC1 character at the end of a variable-length field that is not filled to maximum; so that FNC1 will appear between the G3 and the 21. what I have read is NC1 is invisible to humans but can be detected by scanners and will be reproduced in the string reported by the scanner. Simply send the string directly to a text file and examine the text with a hex reader. The FNC1 should be obvious. But we are still not able to read FNC1 in the reader.


回答1:


Motorola Solutions Enterprise Business has been acquired by Zebra Technologies, so you can find support and developer forums on Zebra website Launchpad.

DS4208-HC support is available here. However seems that most of the documentation/software are only available under the model DS4208 support page

To configure the scanner you can use the 123Scan2 utility or the Scanner User Guide where you can find the configuration barcodes to enable/disable GS1 decoding (page 9-27).

Discalimer: I work for Zebra Technologies.



来源:https://stackoverflow.com/questions/37274162/gs1-128-barcode-parsing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!