Fix: Printer edit shows the proper hex values in printer edit and import the right hex value from old database

This commit is contained in:
2021-04-05 08:20:45 +05:30
parent e1ed264674
commit 54d205eebe
3 changed files with 9 additions and 5 deletions

View File

@ -28,7 +28,7 @@ async def sent_to_printer(ctx: dict, data: str, address: str, cut_code: str):
raise Retry(defer=ctx["job_try"] * 30)
# GS = "\x1d"
# PAPER_CUT = GS + "V"
# PAPER_CUT = GS + "\x56"
# # For the printer ESC/POS Reference
# # https://reference.epson-biz.com/modules/ref_escpos/index.php?content_id=87
# # The m codes are in decimal and can be converted using the following table