kodak605: Theoretically handle copies properly.

This commit is contained in:
Solomon Peachy 2013-11-20 21:47:16 -05:00
parent 00b8db5922
commit 2b106a4555

View file

@ -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,