summaryrefslogtreecommitdiffstats
path: root/backend_mitsud90.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-07-12 11:08:27 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-07-12 11:08:27 -0400
commit3c0c8fdc1286ddc43255a290c2525205f8bc26a0 (patch)
tree11efa39228efc19aa9d32ca5d5f142c0fea479e9 /backend_mitsud90.c
parent9e319b8319e12956f2e54e8fb37691650051a4fb (diff)
downloadselphy_print-3c0c8fdc1286ddc43255a290c2525205f8bc26a0.tar.gz
selphy_print-3c0c8fdc1286ddc43255a290c2525205f8bc26a0.tar.bz2
selphy_print-3c0c8fdc1286ddc43255a290c2525205f8bc26a0.zip
mitsud90: Dimensional fixes for panorama split
Diffstat (limited to 'backend_mitsud90.c')
-rw-r--r--backend_mitsud90.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/backend_mitsud90.c b/backend_mitsud90.c
index 50a423e..c30af41 100644
--- a/backend_mitsud90.c
+++ b/backend_mitsud90.c
@@ -736,14 +736,14 @@ static int mitsud90_panorama_splitjob(struct mitsud90_printjob *injob, struct mi
inrows = be16_to_cpu(injob->hdr.rows);
/* Work out parameters */
- if (inrows == 6084) {
+ if (inrows == 6028) {
numpanels = 3;
- overlap_rows = 600;
+ overlap_rows = 600 + 28;
max_rows = 2428;
- } else if (inrows == 4256) {
+ } else if (inrows == 4228) {
numpanels = 2;
max_rows = 2428;
- overlap_rows = 600;
+ overlap_rows = 600 + 28;
} else {
ERROR("Invalid panorama row count (%d)\n", inrows);
return CUPS_BACKEND_CANCEL;