打印机相关实现

This commit is contained in:
张松
2025-02-25 19:23:04 +08:00
parent 2f64ee230c
commit ab6bce2de6

View File

@@ -349,7 +349,6 @@ public interface PrinterImpl {
sb.append(getFormatLabel(shopName, signLabelInfo.center, signLabelInfo.bold))
.append(signLabelInfo.br)
.append(signLabelInfo.br)
.append("------------------------").append(signLabelInfo.br)
.append(getFormatLabel(StrUtil.format("{} {}", tableName, callNum), signLabelInfo.center, signLabelInfo.bold))
.append(signLabelInfo.br)
.append(getFormatLabel(StrUtil.format("前面有{}桌", preNum), signLabelInfo.center))
@@ -358,10 +357,10 @@ public interface PrinterImpl {
.append(signLabelInfo.br)
.append(getFormatLabel(codeUrl, signLabelInfo.center, signLabelInfo.qr))
.append(signLabelInfo.br)
.append("------------------------").append(signLabelInfo.br)
.append("--------------------------------").append(signLabelInfo.br)
.append(getFormatLabel(shopNote, signLabelInfo.s))
.append(signLabelInfo.br)
.append("------------------------").append(signLabelInfo.br)
.append("--------------------------------").append(signLabelInfo.br)
.append(getFormatLabel(StrUtil.format("取号时间:{}", DateUtil.format(takeTime, "yyyy-MM-dd HH:mm:ss")), signLabelInfo.s))
.append(signLabelInfo.br)
.append(getFormatLabel(StrUtil.format("打印时间:{}", DateUtil.format(DateUtil.date(), "yyyy-MM-dd HH:mm:ss")), signLabelInfo.s))