mitsup95: Add USB IDs for Mitsubishi P93D

Unfortunately, it's not identical to the P95 from an operational
perspective.
This commit is contained in:
Solomon Peachy 2017-02-02 01:18:12 -05:00
parent 34c04ddcb6
commit 55d24dba50
3 changed files with 10 additions and 2 deletions

7
README
View File

@ -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

View File

@ -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,

View File

@ -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, ""}
}