如何在c#.net web应用程序中打印条形码标签 [英] How to print bar code sticker in c# .net web application

查看:44
本文介绍了如何在c#.net web应用程序中打印条形码标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,

我已尝试在asp.net网络应用程序中打印条形码贴纸。但到现在为止我没有得到一个输出



我在2D条形码中尝试过datamatrix类型。但我不知道如何打印条形码贴纸


二维条码中的




我试过了

BarcodeLib.Barcode.DataMatrix datamatrix = new BarcodeLib.Barcode.DataMatrix();

datamatrix.Data = 1dfefg%^ 7fdsg56566\" ;

datamatrix.BackgroundColor = System.Drawing.Color.White;

datamatrix.ModuleSize = 6;

datamatrix.RightMargin = 6;

datamatrix.ImageFormat = System.Drawing.Imaging.ImageFormat.Jpeg;

datamatrix.drawBarcode(RollnoBar);





请告知你的建议


I Have Tried print barcode sticker in asp.net web application.but till now i didn''t get a otput

I Have tried datamatrix type in 2D barcode .but i don''t know about how to print barcode sticker

in 2D barcode

I have tried
BarcodeLib.Barcode.DataMatrix datamatrix = new BarcodeLib.Barcode.DataMatrix();
datamatrix.Data = "1dfefg%^7fdsg56566";
datamatrix.BackgroundColor = System.Drawing.Color.White;
datamatrix.ModuleSize = 6;
datamatrix.RightMargin = 6;
datamatrix.ImageFormat = System.Drawing.Imaging.ImageFormat.Jpeg;
datamatrix.drawBarcode(RollnoBar);


pls telll your suggestion

推荐答案

条形码是特殊字体。所以你可以试试Barcode字体而不是第三方工具

参见这篇CP文章。

ASP-NET应用程序中的条形码

Barcode are special fonts. so you can try Barcode font instead of third party tool
See this CP article.
Barcodes-in-ASP-NET-applications


这篇关于如何在c#.net web应用程序中打印条形码标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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