canonselphy: Log the types when we fail to match on media.

This commit is contained in:
Solomon Peachy 2014-01-29 10:29:22 -05:00
parent 7a4b99f6d7
commit 5e996322e3
1 changed files with 3 additions and 1 deletions

View File

@ -660,7 +660,9 @@ top:
if (ctx->paper_code != -1) {
if ((rdbuf[ctx->printer->paper_code_offset] & 0x0f) !=
(ctx->paper_code & 0x0f)) {
ERROR("Incorrect paper loaded, aborting job!\n");
ERROR("Incorrect paper loaded (%02x vs %02x), aborting job!\n",
ctx->paper_code,
rdbuf[ctx->printer->paper_code_offset]);
return 3; /* Hold this job, don't stop queue */
}
}