日期:2014-05-18  浏览次数:20892 次

求一个c#条码打印的实例要源代码带效果的
求条c#形码打印的实例 要带源码 最好完整点的 50分双手送上  
guangyang125475@163.com有的发到这个邮箱中 谢谢了

------解决方案--------------------
.......去和生产打印机的开发商去要sdk。。。。
就算给你代码,你也用不了阿.
 OnTheRoadService service = this.ServiceBLL.CurrentService;
LastPrintList printList = new LastPrintList();
LastPrint last = new LastPrint();
last.Align = ReportLayout.CELL_ALIGN.ALIGN_CENTER;
last.CellWidth = 100;
last.FontBold = true;
last.FontSize = 14;
last.Label = "G4S Cash Services";
printList.Add(last);

last = new LastPrint();
last.Align = ReportLayout.CELL_ALIGN.ALIGN_LEFT;
last.CellWidth = 100;
last.FontBold = false;
last.FontSize = 10;
last.Label = "";
last.Value = "";
printList.Add(last);

string receNo = GetRectNo();
last = new LastPrint();
last.Align = ReportLayout.CELL_ALIGN.ALIGN_LEFT;
last.CellWidth = 40;
last.FontBold = false;
last.FontSize = 10;
last.Label = "Rect.No: ";
last.Value = receNo;
printList.Add(last);

last = new LastPrint();
last.Align = ReportLayout.CELL_ALIGN.ALIGN_LEFT;
last.CellWidth = 100;
last.FontBold = false;
last.FontSize = 10;
last.Label = "";
last.Value = "";
printList.Add(last);

string tripNo = _tripDAO.GetTrip().AsstRef;
last = new LastPrint();
last.Align = ReportLayout.CELL_ALIGN.ALIGN_LEFT;
last.CellWidth = 60;
last.FontBold = false;
last.FontSize = 10;
last.Label = "Deliver By Trip:";
last.Value = tripNo;
printList.Add(last);

if (service != null)
{

last = new LastPrint();
last.Align = ReportLayout.CELL_ALIGN.ALIGN_LEFT;
last.CellWidth = 30;
last.FontBold = false;
last.FontSize = 10;
last.Label = "Name: ";
last.Value = service.LocRef;
printList.Add(last);

last = new LastPrint();
last.Align = ReportLayout.CELL_ALIGN.ALIGN_LEFT;
last.CellWidth = 30;
last.FontBold = false;
last.FontSize = 10;
last.Label = "Addr: ";
last.Value = service.Location;
printList.Add(last);

last = new LastPrint();
last.Align = ReportLayout.CELL_ALIGN.ALIGN_LEFT;
last.CellWidth = 30;
last.FontBold = false;
last.FontSize = 10;
last.Label = "Town: ";
last.Value = service.Town;
printList.Add(last);
}



for (int i = 0; i < containers.Count; i++)
{
last = new LastPrint();
last.Align = ReportLayout.CELL_ALIGN.ALIGN_LEFT;
last.CellWidth = 70;