如何条码阅读器的工作 [英] how to barcode reader work

查看:75
本文介绍了如何条码阅读器的工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用条形码机读取条码阅读器的工作以及如何读取条形码图像。

i需要sdk条码机才能读取条码。

解决方案

< blockquote>在大多数情况下,通过向应用程序发送击键,条形码阅读器的行为类似于键盘。因此,您可以使用简单的键盘处理技术来处理条形码阅读器...


检查一下。



适用于.NET的BarCode Reader SDK



ASP.NET和Bytescout.BarCode Reader SDK入门



样品



 使用 Bytescout.BarCodeReader; 

namespace SimpleWebTestSharp
{
public partial class _Default:System.Web.UI.Page
{
protected void Page_Load( object sender,EventArgs e)
{
Image1.ImageUrl = BarcodePhoto.jpg;

Reader reader = new Reader(Server.MapPath( BarcodePhoto.jpg));
foreach (FoundBarcode条形码 in reader.FoundBarcodes)
ListBox1.Items.Add ( String .Format( {0}:{1 },barcode.Type,barcode.Value));
}
}
}


请阅读我对该问题的评论。



正如我所提到的,你需要尊重 CP规则 [ ^ ] 。使用 Google [ ^ ]。尝试!有很多例子。


how to barcode reader work and how to read barcode image with barcode machine .
i need sdk for barcode machine to read barcode.

解决方案

In most cases barcode readers are behave like keyboard, by sending keystrokes to your application. So you can use simple keyboard handeling techniques to deal with barcode reader...


Check this out.

BarCode Reader SDK for .NET

Getting started with ASP.NET and Bytescout.BarCode Reader SDK

Sample

using Bytescout.BarCodeReader;

namespace SimpleWebTestSharp
{
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Image1.ImageUrl = "BarcodePhoto.jpg";

Reader reader = new Reader(Server.MapPath("BarcodePhoto.jpg"));
foreach (FoundBarcode barcode in reader.FoundBarcodes)
ListBox1.Items.Add(String.Format("{0} : {1}", barcode.Type, barcode.Value));
}
}
}


Please, read my comment to the question.

As i mentioned, you need to respect CP rules[^]. Use Google[^] before you post a question. Try! There are tons of examples.


这篇关于如何条码阅读器的工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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