如何使用c#设计细节斑马条码和打印机 [英] how to Design Detail Zebra Barcode and Printer with c#

查看:465
本文介绍了如何使用c#设计细节斑马条码和打印机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想设计条形码,这意味着产品的细节应该是条形码中的打印机。我尝试了很多网站并且喜欢很多代码但是我可以设计或直接打印到打印机

我可以获得直接代码,可以帮助我在asp.net中进行设计和打印c#< br $> b $ b

1.斑马打印机

2.设计包含产品详细信息的条形码





i使用此代码



I would like to design Barcode that mean detail of product should be printer in the barcode. i tryed lot of site and prefer many code but nether i can design or give direct print to the printer
can i get direct code that can help me to get make design and print in asp.net c#

1. zebra printer
2. design barcode with product detail


i used this code

label = """
^XA
^FO10,10
^A0,40,40
^FD
Hello World
^FS
^XZ
"""

from zebra import zebra
z = zebra('Zebra_GC420d')
z.output(label)

推荐答案

如果您已经了解ZPL命令,那么只需使用它创建/设计标签,然后发送这些命令使用此代码转至打印机 http://support.microsoft.com/kb/322091

如果您对Zebra打印机语言一无所知,请尝试使用 http://sharpzebra.codeplex.com/ 这个开源项目。或这一个是付费解决方案
If you already know about ZPL commands then just create/design your labels using it and then send those commands to the printer by using this code http://support.microsoft.com/kb/322091
If you do not know anything on Zebra printer languages then try this open source project http://sharpzebra.codeplex.com/ or this one which is a paid solution


这篇关于如何使用c#设计细节斑马条码和打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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