summaryrefslogtreecommitdiffstats
path: root/backend_mitsu.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend_mitsu.c')
-rw-r--r--backend_mitsu.c56
1 files changed, 56 insertions, 0 deletions
diff --git a/backend_mitsu.c b/backend_mitsu.c
index df2dd88..a2600c6 100644
--- a/backend_mitsu.c
+++ b/backend_mitsu.c
@@ -198,3 +198,59 @@ int mitsu_readlamdata(const char *fname, uint16_t lamstride,
return CUPS_BACKEND_OK;
}
+
+const char *mitsu_temperatures(uint8_t temp)
+{
+ switch(temp) {
+ case TEMPERATURE_NORMAL:
+ return "Normal";
+ case TEMPERATURE_PREHEAT:
+ return "Warming Up";
+ case TEMPERATURE_COOLING:
+ return "Cooling Down";
+ default:
+ break;
+ }
+ return "Unknown Temperature Status";
+}
+
+const char *mitsu_media_types(uint8_t brand, uint8_t type)
+{
+ if (brand == 0xff && type == 0x01)
+ return "CK-D735 (3.5x5)";
+ else if (brand == 0xff && type == 0x02)
+ return "CK-D746 (4x6)";
+ else if (brand == 0xff && type == 0x04)
+ return "CK-D757 (5x7)";
+ else if (brand == 0xff && type == 0x05)
+ return "CK-D769 (6x9)";
+ else if (brand == 0xff && type == 0x0f)
+ return "CK-D768/CK-D868 (6x8)";
+ else if (brand == 0x6c && type == 0x84)
+ return "Kodak 5R (5x7)";
+ else if (brand == 0x6c && type == 0x8f)
+ return "Kodak 6R (6x8)";
+ else if (brand == 0x61 && type == 0x84)
+ return "CK-K57R (5x7)";
+ else if (brand == 0x61 && type == 0x8f)
+ return "CK-K76R (6x8)";
+ else if (brand == 0x7a && type == 0x01)
+ return "RL-CF900 (3.5x5)";
+ else if (brand == 0x7a && type == 0x02)
+ return "RK-CF800/4R (4x6)";
+ else if (brand == 0x7a && type == 0x04)
+ return "R2L-CF460/5R (5x7)";
+ else if (brand == 0x7a && type == 0x0f)
+ return "R68-CF400/6R (6x8)";
+ else
+ return "Unknown";
+
+// Also CK-D715, CK-D718, CK-D720, CK-D723 (4x6,5x8,6x8,6x9) for D70-S model
+// CK-D746-U for D70-U model
+// CK-D820 (6x8) for D80-S model
+// D90 can use _all_ of these types except for the -U!
+
+ // CK-M57S (5x7 for M1)
+ // CK-M68S (6x8 for M1)
+ // CK-M46S (6x4 for M1)
+}