From 2b106a4555af7985d211e4766484de2a1bbd76e3 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 20 Nov 2013 21:47:16 -0500 Subject: [PATCH] kodak605: Theoretically handle copies properly. --- backend_kodak605.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/backend_kodak605.c b/backend_kodak605.c index a73e9a4..601aa4a 100644 --- a/backend_kodak605.c +++ b/backend_kodak605.c @@ -176,6 +176,14 @@ static int kodak605_main_loop(void *vctx, int copies) { if (!ctx) return 1; + /* Printer handles generating copies.. */ +#if 1 + ctx->hdr.copies = copies; + copies = 1; +#else + ctx->hdr.copies = 1; +#endif + top: if (state != last_state) { DEBUG("last_state %d new %d\n", last_state, state); @@ -319,7 +327,7 @@ skip_query: /* Exported */ struct dyesub_backend kodak605_backend = { .name = "Kodak 605", - .version = "0.01", + .version = "0.02", .uri_prefix = "kodak605", .init = kodak605_init, .attach = kodak605_attach,