使用c#创建和打印条形码 [英] create and print barcode using c#

查看:95
本文介绍了使用c#创建和打印条形码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我正在开发一个C#应用程序,我需要将文本更改为条形码

并打印它



我该怎么办?

解决方案

有很多不同的这样做的方法。您可以编写自己的条形码生成器,使用现有库或获取条形码字体。尝试一些这些Google搜索链接 [ ^ ]。


http://www.c-sharpcorner.com/uploadfile/krishnasarala/generating-barcode-in-C -Sharp / [ ^ ]


据我所知,您希望在发票中打印条形码,条形码将是发票ID。我相信这相对容易。

有很多关于如何读/写条形码的文章。

您可以实现自己的代码来生成条形码,也可以使用库。

如果您想使用库,可以使用商业图书馆或者一个免费的图书馆。

我曾经使用过一个名为leadtools的库,它使用了一个易于使用且速度快的库。

我找到了以下链接想想可能对你有帮助。

条码图像生成库

写条形码教程

SourceForge条形码库

Hello ,

I've developing a C# app and I'm in a point where I need to change my text to barcodes
and print it

How can I do it?

解决方案

There are quite a few different ways to do this. You can write your own barcode generator, use existing libraries or get a barcode font. Try some of these Googled links[^].


http://www.c-sharpcorner.com/uploadfile/krishnasarala/generating-barcode-in-C-Sharp/[^]


As I understand, you want to print the barcode in an invoice and the barcode will be the invoice ID. This I believe is relatively easy.
There are a lot of articles about how to read/write barcodes.
You can implement your own code to generate a barcode or you can use a library for that.
If you want to use a library, you can use either a commercial library or a free library.
I worked on a solution a while back that used a library called leadtools that was easy to use and fast.
I found the following links that I think might help you.
Barcode Image Generation Library
Write barcode tutorial
SourceForge barcode library


这篇关于使用c#创建和打印条形码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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