|
|
|
@ -56,6 +56,21 @@ namespace SegmentationWeight |
|
|
|
PrintAPI.B_ClosePrn(); |
|
|
|
} |
|
|
|
|
|
|
|
public static void PrintByHTML(PrintEntity entity) |
|
|
|
{ |
|
|
|
var dic = new Dictionary<string, string>(); |
|
|
|
dic.Add("$Goods_Name", entity.Goods_Name); |
|
|
|
dic.Add("$Weight", entity.Weight); |
|
|
|
dic.Add("$Date", entity.Date.ToString("yyyy/MM/dd")); |
|
|
|
dic.Add("$Checker", entity.Checker); |
|
|
|
dic.Add("$StoreCondition", entity.StoreCondition); |
|
|
|
dic.Add("$TelNumber", entity.TelNumber); |
|
|
|
dic.Add("$Place", entity.Place); |
|
|
|
BwpClientPrint.BwpClientWebPrint.Create2DPic(entity._2DQRCode, "ImageUrl.png", 120); |
|
|
|
dic.Add("$ImageUrl", "ImageUrl.png"); |
|
|
|
BwpClientPrint.BwpClientWebPrint.Print("SegmentationWeightPrint.html", dic); |
|
|
|
} |
|
|
|
|
|
|
|
public static void PrintEnd5050(PrintEntity entity) |
|
|
|
{ |
|
|
|
PrintAPI.B_GetUSBBufferLen(); |
|
|
|
|