diff --git a/main.py b/main.py index 03ae248..619829f 100644 --- a/main.py +++ b/main.py @@ -22,6 +22,7 @@ PRINTER_WIDTH = 384 # Set to your printer's pixel width (common: 384 or 576) def print_picture(filename, p): try: + p.hw('INIT') response = requests.get(STATIC_URL + filename, timeout=5) response.raise_for_status()