【发布时间】:2021-07-07 12:59:34
【问题描述】:
我正在尝试使用 Xamarin 应用程序中的 EMDK 扫描 TC20 上的 DHL 标签。不幸的是,我没有得到任何反馈。条形码称为 Identcode。我可以在 Zebra Demo App 中扫描条形码。
我尝试了许多不同的设置,但不幸的是它不起作用。 附上要扫描的条形码图像。
config.DecoderParams.I2of5.Enabled = true;
//config.DecoderParams.I2of5.Length1 = 55;
//config.DecoderParams.I2of5.Length2 = 55;
//config.DecoderParams.I2of5.Redundancy = false;
//config.DecoderParams.I2of5.ConvertToEan13 = false;
//config.DecoderParams.I2of5.ReportCheckDigit = false;
config.DecoderParams.I2of5.SecurityLevel = ScannerConfig.SecurityLevel.Level3;
【问题讨论】:
-
我知道这不是您具体问题的答案,但上次我使用 Zebra TC20/21(大约 6 个月前)时,我发现 Zebra Xamarin EMDK 有点不可靠并且没有得到很好的支持。使用带有 android 意图输出的内置 datawedge 软件/方法对我们来说要可靠得多。当您获得意图(因此代码中存在问题),或者您没有获得意图并需要查看 datawedge 中的设置时,也更容易诊断问题。值得一看是否适合您。
-
我现在已经使用 DWDEMO 在设备上构建了一个工作配置。不幸的是,这在带有 EMDK 的 XAMRIN 中不起作用。
config.DecoderParams.I2of5.Enabled = true; ...I2of5.Febraban = false; ...I2of5.VerifyCheckDigit = ScannerConfig.CheckDigitType.No; ...I2of5.Length1 = 6; ...I2of5.Length2 = 55; ...I2of5.Redundancy = true; ...I2of5.ReportCheckDigit = false; ...I2of5.SecurityLevel = ScannerConfig.SecurityLevel.Level1; ...I2of5.ConvertToEan13 = false; ...I2of5.ReducedQuietZone = false;
标签: c# xamarin barcode-scanner motorola-emdk