summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2017-02-02 01:18:12 -0500
committerSolomon Peachy <pizza@shaftnet.org>2017-02-02 01:19:14 -0500
commit982c2526c4013fb1189b06494417dfc18fd8600b (patch)
tree817ccff078940c311a692d8d9b65ae88b719cbf8
parent813b556bd5eb0037da7850c813421d39ba527638 (diff)
downloadselphy_print-982c2526c4013fb1189b06494417dfc18fd8600b.tar.gz
selphy_print-982c2526c4013fb1189b06494417dfc18fd8600b.tar.bz2
selphy_print-982c2526c4013fb1189b06494417dfc18fd8600b.zip
mitsup95: Add USB IDs for Mitsubishi P93D
Unfortunately, it's not identical to the P95 from an operational perspective.
-rw-r--r--README7
-rw-r--r--backend_common.h1
-rw-r--r--backend_mitsup95d.c4
3 files changed, 10 insertions, 2 deletions
diff --git a/README b/README
index e008bf5..1f4555c 100644
--- a/README
+++ b/README
@@ -63,6 +63,7 @@
Mitsubishi CP-9000DW, CP-9500DW, and CP-9600DW-S
Mitsubishi CP-9800DW, CP-9800DW-S, CP-9810DW, and CP-9820DW-S
Mitsubishi CP-D707DW
+ Mitsubishi P93D
Olmec OP900 and OP900II
Shinko CHC-S1245 (aka Sinfonia E1)
Shinko CHC-S6245 (aka Sinfonia CE1)
@@ -674,7 +675,11 @@
Mitsubishi P95DW
- This backend does not support additional commands.
+ Work-in-progress printers:
+
+ Mitsubishi P93D
+
+This backend does not support additional commands.
***************************************************************************
BACKEND=dnpds40
diff --git a/backend_common.h b/backend_common.h
index f1f129f..21a3a7c 100644
--- a/backend_common.h
+++ b/backend_common.h
@@ -117,6 +117,7 @@ enum {
P_MITSU_9800,
P_MITSU_9800S,
P_MITSU_9810,
+ P_MITSU_P93D,
P_MITSU_P95D,
P_DNP_DS40,
P_DNP_DS80,
diff --git a/backend_mitsup95d.c b/backend_mitsup95d.c
index e5edd1a..ec50409 100644
--- a/backend_mitsup95d.c
+++ b/backend_mitsup95d.c
@@ -44,6 +44,7 @@
#include "backend_common.h"
#define USB_VID_MITSU 0x06D3
+#define USB_PID_MITSU_P93D 0x0398
#define USB_PID_MITSU_P95D 0x3b10
/* Private data stucture */
@@ -397,7 +398,7 @@ static int mitsup95d_cmdline_arg(void *vctx, int argc, char **argv)
/* Exported */
struct dyesub_backend mitsup95d_backend = {
.name = "Mitsubishi P95D",
- .version = "0.02",
+ .version = "0.03",
.uri_prefix = "mitsup95d",
.cmdline_arg = mitsup95d_cmdline_arg,
.init = mitsup95d_init,
@@ -406,6 +407,7 @@ struct dyesub_backend mitsup95d_backend = {
.read_parse = mitsup95d_read_parse,
.main_loop = mitsup95d_main_loop,
.devices = {
+ { USB_VID_MITSU, USB_PID_MITSU_P93D, P_MITSU_P93D, ""},
{ USB_VID_MITSU, USB_PID_MITSU_P95D, P_MITSU_P95D, ""},
{ 0, 0, 0, ""}
}