1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-12-02 09:43:30 +00:00

Bugfix: incorrect cut commands

[Documentation](http://content.epson.de/fileadmin/content/files/RSD/downloads/escpos.pdf)
This commit is contained in:
Dmytro Katyukha
2017-02-09 14:39:37 +00:00
parent 653b7df79c
commit 9f1ac0de80

View File

@@ -53,8 +53,8 @@ CD_KICK_5 = _CASH_DRAWER(b'\x01', 50, 50) # Sends a pulse to pin 5 []
# Paper Cutter
_CUT_PAPER = lambda m: GS + b'V' + m
PAPER_FULL_CUT = _CUT_PAPER(b'\x00') # Full cut paper
PAPER_PART_CUT = _CUT_PAPER(b'\x01') # Partial cut paper
PAPER_FULL_CUT = _CUT_PAPER(b'\x00\x30') # Full cut paper
PAPER_PART_CUT = _CUT_PAPER(b'\x01\x31') # Partial cut paper
# Beep
BEEP = b'\x07'