summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-01-09 07:53:13 -0500
committerSolomon Peachy <pizza@shaftnet.org>2018-01-09 07:53:31 -0500
commitc45eb6d14cef5be9718ddc8d7d8289378594305e (patch)
tree3a529f1b6a56af709fda5e7cc898909ad644bc37
parent00d4d7e07c8bf8376994c2560c5747b6c7063d83 (diff)
downloadselphy_print-c45eb6d14cef5be9718ddc8d7d8289378594305e.tar.gz
selphy_print-c45eb6d14cef5be9718ddc8d7d8289378594305e.tar.bz2
selphy_print-c45eb6d14cef5be9718ddc8d7d8289378594305e.zip
mitsup95d: Corner case with rspect to printer busy.
-rw-r--r--backend_mitsup95d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend_mitsup95d.c b/backend_mitsup95d.c
index 332d02d..d4aa6b1 100644
--- a/backend_mitsup95d.c
+++ b/backend_mitsup95d.c
@@ -489,7 +489,7 @@ static int mitsup95d_get_status(struct mitsup95d_ctx *ctx)
INFO("Printer Status: error %02x\n", queryresp[5]);
} else if (queryresp[5] == 0x00) {
INFO("Printer Status: Idle\n");
- } else if (queryresp[7] > 0) {
+ } else if (queryresp[5] == 0x02 && queryresp[7] > 0) {
INFO("Printer Status: Printing (%d) copies remaining\n", queryresp[7]);
}
} else {