From a445c4205a66b2c4a96d3122469c760e370f2f7f Mon Sep 17 00:00:00 2001 From: davisgoglin Date: Sat, 19 Mar 2016 20:03:34 -0700 Subject: [PATCH] Add cut after printing demos --- escpos/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/escpos/cli.py b/escpos/cli.py index 55823df..190b053 100755 --- a/escpos/cli.py +++ b/escpos/cli.py @@ -361,6 +361,7 @@ def demo(printer, **kwargs): ) for params in DEMO_FUNCTIONS[demo_choice]: command(**params) + printer.cut() if __name__ == '__main__': main()