mitsu70x: Don't blindly force speed when matte is on.

This commit is contained in:
Solomon Peachy 2016-09-29 21:28:45 +03:00
parent 1cf5793669
commit 6e99200729
1 changed files with 8 additions and 2 deletions

View File

@ -1178,9 +1178,15 @@ skip_status:
/* Matte operation requires Ultrafine/superfine */
if (ctx->matte) {
if (ctx->type != P_MITSU_D70X) {
hdr->speed = 0x04; /* Force UltraFine */
if (hdr->speed != 0x03 && hdr->speed != 0x04) {
WARNING("Forcing Ultrafine mode for matte printing!\n");
hdr->speed = 0x04; /* Force UltraFine */
}
} else {
hdr->speed = 0x03; /* Force SuperFine */
if (hdr->speed != 0x03) {
hdr->speed = 0x03; /* Force SuperFine */
WARNING("Forcing Ultrafine mode for matte printing!\n");
}
}
}