如何在不使用第三方dll的情况下在C#.net Web应用程序中生成和扫描条形码. [英] how to Generate and scan Barcode in C#.net web application without using third party dll.

查看:87
本文介绍了如何在不使用第三方dll的情况下在C#.net Web应用程序中生成和扫描条形码.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如何在不使用第三方dll的情况下在C#.net Web应用程序中生成和扫描条形码.

Hi All,

how to Generate and scan Barcode in C#.net web application without using third party dll.

推荐答案

您是否将制造商的软件视为第三方?问题是:不同制造商的扫描仪不同,它们需要不同的软件.我们不知道您要使用什么.显然,您可能需要1)使用没有源代码的制造商软件; 2)使用制造商的源代码,这将是最好的选择,但是您使用的制造商是否为您提供了源代码? 3)仅使用制造商的文档自行编写此软件,但是您使用的制造商是否为您提供了该软件?

也许这是微不足道的,但没有那么大的帮助,但这就是您所拥有的.

—SA
Do you consider manufacturer''s software as 3-rd party? The problem is: scanners of different manufacturers are different, they need different software. We don''t know what do you want to use. Apparently, you may need to 1) use manufacturer''s software without source code; 2) use manufacturer''s source code, which would be the best option, but does the manufacturer you use provide it for you? 3) write this software by yourself using just manufacturer''s documentation, but does the manufacturer you use provide it for you?

Perhaps this is trivial and not so helpful, but this is what you have.

—SA


请查看以下CP文章:条形码图像生成库 [ ^ ]

也许可以帮上忙?
Check this CP article out: Barcode Image Generation Library[^]

Perhaps this can help?


生成条形码非常简单,您只需要按照条形码类型定义的图案绘制一些厚度不同的线即可. 此项 [ ^ ]显示了如何构建Code39类型.

扫描条形码有些复杂,因为您需要获取硬件设备的规格,只有制造商才能为您提供该规格.
Generating barcodes is fairly simple, you just need to draw some lines of varying thickness in patterns as defined for the barcode type. This entry[^] in Wikipedia shows how to build the Code39 type.

Scanning barcodes is somewhat more complicated as you need to get the specification of the hardware device and only the manufacturers will be able to provide that for you.


这篇关于如何在不使用第三方dll的情况下在C#.net Web应用程序中生成和扫描条形码.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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