如何使用条形码扫描仪读取条形码图像中的数据? [英] How to read data from barcode image using barcode scanner?

查看:311
本文介绍了如何使用条形码扫描仪读取条形码图像中的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在MFC窗口应用程序中,我有一个条形码图像.
我想使用条形码扫描仪对其进行扫描,然后从条形码图像中读取产品详细信息并将其显示在Invoice

In MFC window application I have a barcode image.
I want to scan it using barcode scanner and after that read product details from barcode image and display it in Invoice

推荐答案

通常,您无需在此处处理任何内容...只需安装条形码扫描仪的驱动程序,将焦点放在文本窗口(或您可以书写的任何位置)中,然后使用扫描仪读取条形码...

这将为您提供条码隐藏"在纯文本条形码中的代码.

之后,由您决定如何处理该信息...

您可以使用记事本轻松测试条形码扫描仪是否在工作...

希望这对您有帮助...
Typically you don''t have to handle anything here... simply install the drivers of your barcode scanner, put the focus in a text window (or in any place you could write) and read the barcode using your scanner...

This will give you the code taht is "hidden" in the barcode in plain text.

After that its up to you how to process that information...

You can easily test if your barcode scanner is working using notepad...

Hope this helps...


这篇关于如何使用条形码扫描仪读取条形码图像中的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆