Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张东亮
/
NS100
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 0de8eabe
由
LN
编写于
2025-02-21 15:38:32 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
打印信息上传到服务器
1 个父辈
81fc1945
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
11 行增加
和
2 行删除
SmartScan/Form/FrmMain.cs
SmartScan/Form/FrmMain.cs
查看文件 @
0de8eab
...
...
@@ -222,7 +222,16 @@ namespace SmartScan
LogNet
.
log
.
Info
(
string
.
Format
(
"打印标签 Label[{0}] Printer[{1}]"
,
BLLCommon
.
config
.
DefaultPrintLabel
,
BLLCommon
.
config
.
PrinterName
));
var
bmp
=
BLLCommon
.
labelEdit
.
PrintImage
(
BLLCommon
.
config
.
DefaultPrintLabel
,
content
,
out
_
);
if
(
bmp
!=
null
)
_
=
UnifiedDataHandler
.
PostSmfImageAsync
(
bmp
,
new
Dictionary
<
string
,
string
>
{
{
"cid"
,
BLLCommon
.
config
.
CID
+
"_2"
}
},
bmp
.
Width
,
bmp
.
Height
);
{
Dictionary
<
string
,
string
>
paramMap
=
new
Dictionary
<
string
,
string
>();
foreach
(
string
key
in
content
.
Keys
)
{
paramMap
.
Add
(
key
,
content
[
key
]);
}
paramMap
.
Add
(
"cid"
,
BLLCommon
.
config
.
CID
+
"_2"
);
_
=
UnifiedDataHandler
.
PostSmfImageAsync
(
bmp
,
paramMap
,
bmp
.
Width
,
bmp
.
Height
);
//_ = UnifiedDataHandler.PostSmfImageAsync(bmp, new Dictionary<string, string> { { "cid", BLLCommon.config.CID + "_2" } }, bmp.Width, bmp.Height);
}
bmp
.
Dispose
();
//SaveRetrospect(labelBmp, barcode);
UnifiedDataHandler
.
RecordPrintNg
(
false
,
true
,
out
string
[]
strarrys
);
...
...
@@ -492,6 +501,6 @@ namespace SmartScan
// new HBEditor();
ConfigHelper
.
AdvanceConfigForm
.
ShowEditDialog
(
this
,
true
);
}
}
}
}
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论