小票模板优化
This commit is contained in:
parent
0c09e9cd2c
commit
afc631cc91
|
@ -75,7 +75,7 @@ public class ReceiptPrintController {
|
||||||
int dinyHeight = 0;
|
int dinyHeight = 0;
|
||||||
if (templateName.equals("department")) {
|
if (templateName.equals("department")) {
|
||||||
// 由于是使用的门诊小票-T2,那么默认的高度为1100,强行设置,通过动态修改渲染的图片的高度
|
// 由于是使用的门诊小票-T2,那么默认的高度为1100,强行设置,通过动态修改渲染的图片的高度
|
||||||
height = 900;//根据实际情况调整
|
height = 1000;//根据实际情况调整
|
||||||
|
|
||||||
// 单行最大长度为10
|
// 单行最大长度为10
|
||||||
int singleLineMaxLength = 10;
|
int singleLineMaxLength = 10;
|
||||||
|
|
Loading…
Reference in New Issue