t
All checks were successful
Deploy WebSocket Server / deploy (push) Successful in 20s

This commit is contained in:
jeremygan2021
2026-03-05 21:43:39 +08:00
parent b79d45cf34
commit 64ff8ffbd4
4 changed files with 311 additions and 200 deletions

View File

@@ -87,7 +87,7 @@ def image_to_tspl_commands(image_path):
# GAP 2 mm, 0 mm
cmds.extend(b"GAP 2 mm, 0 mm\r\n")
# HOME
cmds.extend(b"HOME\r\n")
# cmds.extend(b"HOME\r\n") # 注释掉 HOME防止每次打印都自动进纸一张
# 2. BITMAP
# BITMAP x, y, width_bytes, height, mode, data