如何为Crystal Report版本10.2.3600.0添加条形码字体? [英] How to add barcode font for the Crystal Report version 10.2.3600.0 ?

查看:70
本文介绍了如何为Crystal Report版本10.2.3600.0添加条形码字体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为Crystal Report版本10.2.3600.0添加条形码字体?这里rpt文件包含条形码,该条形码在打印时链接到pdf文件。我想要适合水晶报告10.2.3600.0版本的条形码字体以及如何在rpt文件中添加相同的显示条形码。



我的代码如下点击打印:



//BtnPrint.Attributes.Add(\"OnClick,return confirmMsgChkAndBoxSelect('KYCEmpListPopUp'););

string pdfPath = KYCReportFilePath;

WebClient client = new WebClient();

Byte [] buffer = client.DownloadData(pdfPath);

//Response.ContentType =application / pdf;

//Response.AddHeader (\"content-length,buffer.Length.ToString());

//Response.BinaryWrite(buffer);

Response.Clear();

Response.ClearHeaders();

Response.AddHeader(Content-Type,application / octet-stream);

Response.AddHeader(Content-Length,buffer.Length.ToString());

Response.AddHeader(Content-Disposition,attachment; filename =+ pdfPath);

Response.BinaryWrite(缓冲区);

响应。 Flush();

Response.End();

How to add barcode font for the Crystal Report version 10.2.3600.0? Here the rpt file contains barcode which is linked to a pdf file on printing. I want the font of barcode suited for the crystal report 10.2.3600.0 version and how to add the same to display barcode in the rpt file.

My code is as follows on clicking print:

//BtnPrint.Attributes.Add("OnClick", "return confirmMsgChkAndBoxSelect('KYCEmpListPopUp');");
string pdfPath = KYCReportFilePath;
WebClient client = new WebClient();
Byte[] buffer = client.DownloadData(pdfPath);
//Response.ContentType = "application/pdf";
//Response.AddHeader("content-length", buffer.Length.ToString());
//Response.BinaryWrite(buffer);
Response.Clear();
Response.ClearHeaders();
Response.AddHeader("Content-Type", "application/octet-stream");
Response.AddHeader("Content-Length", buffer.Length.ToString());
Response.AddHeader("Content-Disposition", "attachment; filename="+pdfPath);
Response.BinaryWrite(buffer);
Response.Flush();
Response.End();

推荐答案

查看这篇文章

使用Crystal Reports在C#中生成条形码标签 [ ^ ]


这篇关于如何为Crystal Report版本10.2.3600.0添加条形码字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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