From e00645e6c75ac8447c584644bdadc453e649e9c4 Mon Sep 17 00:00:00 2001 From: Christer Palm Date: Sun, 24 Sep 2017 01:27:09 +0200 Subject: [PATCH] Do not eject if writing to png --- src/ptouch-print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ptouch-print.c b/src/ptouch-print.c index e99e6ae..0845b89 100644 --- a/src/ptouch-print.c +++ b/src/ptouch-print.c @@ -397,7 +397,7 @@ int main(int argc, char *argv[]) usage(argv[0]); } } - if (ptouch_eject(ptdev) != 0) { + if (!save_png && ptouch_eject(ptdev) != 0) { printf(_("ptouch_eject() failed\n")); return -1; } -- 2.39.5