|
@ -7,6 +7,7 @@ using EC.AutoWeightServer.Model.Config; |
|
|
using EC.AutoWeightServer.UI; |
|
|
using EC.AutoWeightServer.UI; |
|
|
using EC.AutoWeightServer.UI.UC; |
|
|
using EC.AutoWeightServer.UI.UC; |
|
|
using EC.Entity.Transport; |
|
|
using EC.Entity.Transport; |
|
|
|
|
|
using EC.Utils; |
|
|
using System; |
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
using System.IO; |
|
|
using System.IO; |
|
@ -318,7 +319,7 @@ namespace EC.AutoWeightServer.Center |
|
|
return; |
|
|
return; |
|
|
|
|
|
|
|
|
YkPosManager.InitPrinter(); |
|
|
YkPosManager.InitPrinter(); |
|
|
var bmpPath = Path.Combine(Directory.GetCurrentDirectory(), Path.Combine("Img", "logo.bmp")); |
|
|
var bmpPath = Path.Combine(CommonUtil.GetWorkDirectory(), Path.Combine("Img", "logo.bmp")); |
|
|
YkPosManager.SetAlign(1);//居中
|
|
|
YkPosManager.SetAlign(1);//居中
|
|
|
YkPosManager.PrintRasterBmp(new StringBuilder(bmpPath));//打印图片
|
|
|
YkPosManager.PrintRasterBmp(new StringBuilder(bmpPath));//打印图片
|
|
|
|
|
|
|
|
|