mitsu9550: Log the details when we fail due to a media mismatch.

master
Solomon Peachy 8 years ago
parent 7a7d14687b
commit 746e3feebb

@ -382,7 +382,7 @@ top:
return CUPS_BACKEND_HOLD;
}
if (validate_media(media->type, ctx->cols, ctx->rows)) {
ERROR("Incorrect media type for printjob!\n");
ERROR("Incorrect media (%d) type for printjob (%dx%d)!\n", media->type, ctx->cols, ctx->rows);
return CUPS_BACKEND_HOLD;
}
@ -429,7 +429,7 @@ top:
return CUPS_BACKEND_HOLD;
}
if (validate_media(media->type, ctx->cols, ctx->rows)) {
ERROR("Incorrect media type for printjob!\n");
ERROR("Incorrect media (%d) type for printjob (%dx%d)!\n", media->type, ctx->cols, ctx->rows);
return CUPS_BACKEND_HOLD;
}
@ -787,7 +787,7 @@ static int mitsu9550_cmdline_arg(void *vctx, int argc, char **argv)
/* Exported */
struct dyesub_backend mitsu9550_backend = {
.name = "Mitsubishi CP-9550DW-S",
.version = "0.11",
.version = "0.12",
.uri_prefix = "mitsu9550",
.cmdline_usage = mitsu9550_cmdline,
.cmdline_arg = mitsu9550_cmdline_arg,

Loading…
Cancel
Save