Add USB OID for Canon Selphy CP1000

Patch from Jonathan McDowell
This commit is contained in:
Solomon Peachy 2016-12-28 11:38:02 -05:00
parent e16a555e2c
commit 75c5afb16d
2 changed files with 8 additions and 8 deletions

8
README
View File

@ -50,7 +50,7 @@
Work-in-progress Printers:
Canon SELPHY CP820 and CP1000
Canon SELPHY CP820
Citizen CW-02 and CX2
DNP DS80DX
Fujifilm ASK-300
@ -223,7 +223,7 @@
Verified supported printers:
CP1200
CP1000, CP1200
Untested, but expected to work:
@ -231,8 +231,8 @@
Unknown VID/PIDs, but should work:
CP820, CP1000
CP820
Valid commands:
-R Reset printer to factory defaults

View File

@ -43,7 +43,7 @@
#define USB_VID_CANON 0x04a9
#define USB_PID_CANON_CP820 XXX
#define USB_PID_CANON_CP910 0x327a
#define USB_PID_CANON_CP1000 XXX
#define USB_PID_CANON_CP1000 0x32ae
#define USB_PID_CANON_CP1200 0x32b1
/* Header data structure */
@ -388,7 +388,7 @@ static void selphyneo_cmdline(void)
struct dyesub_backend canonselphyneo_backend = {
.name = "Canon SELPHY CPneo",
.version = "0.05",
.version = "0.06",
.uri_prefix = "canonselphyneo",
.cmdline_usage = selphyneo_cmdline,
.cmdline_arg = selphyneo_cmdline_arg,
@ -398,9 +398,9 @@ struct dyesub_backend canonselphyneo_backend = {
.read_parse = selphyneo_read_parse,
.main_loop = selphyneo_main_loop,
.devices = {
// { USB_VID_CANON, USB_PID_CANON_CP820, P_CP910, ""},
// { USB_VID_CANON, USB_PID_CANON_CP820, P_CP910, ""},
{ USB_VID_CANON, USB_PID_CANON_CP910, P_CP910, ""},
// { USB_VID_CANON, USB_PID_CANON_CP1000, P_CP910, ""},
{ USB_VID_CANON, USB_PID_CANON_CP1000, P_CP910, ""},
{ USB_VID_CANON, USB_PID_CANON_CP1200, P_CP910, ""},
{ 0, 0, 0, ""}
}