[libusb] Add PID for SELPHY ES3, and mark it supported.

This commit is contained in:
Solomon Peachy 2012-12-04 18:31:16 -05:00
parent 692960691d
commit e7013b65eb
3 changed files with 7 additions and 8 deletions

View file

@ -16,8 +16,8 @@
Verified supported printers:
ES1, ES2, ES30, ES40, C-100, CP-200, CP-300, CP-330, CP400, CP500,
CP510, CP710, CP720, CP730, CP740, CP750, CP760, CP770, CP780,
ES1, ES2, ES3, ES30, ES40, C-100, CP-200, CP-300, CP-330, CP400,
CP500, CP510, CP710, CP720, CP730, CP740, CP750, CP760, CP770, CP780,
CP800, CP900
Unverified/untested, but should work:
@ -26,7 +26,7 @@
NOT currently supported by libusb backend: (USB PIDs unknown) **
ES3, CP520, CP530, CP790
CP520, CP530, CP790
** Note that a PID can be supplied on the command line, see below.
Once the PIDs are known, these printers are expected to work.
@ -69,8 +69,7 @@
SELPHY_PID=3ab1 SELPHY_TYPE=3 selphy_print filename
SELPHY_PID is the USB PID, in hex
SELPHY_TYPE is: 2 for ES3
3 for CP790
SELPHY_TYPE is: 3 for CP790
4 for CP520/CP530 (or other CP-series model)
If you have a model the spooler doesn't recognize but it works with
@ -187,7 +186,7 @@
'L' pgcode of 0x02 and a plane length of 1601600 bytes.
'C' pgcode of 0x03 and a plane length of 698880 bytes.
Readback values seen on an ES30:
Readback values seen on an ES3 & ES30:
00 ff 00 00 ff ff ff ff 00 00 00 00 [idle, waiting for init seq]
01 ff 01 00 ff ff ff ff 00 00 00 00 [init complete, ready for Y]

View file

@ -46,7 +46,7 @@
#define USB_PID_CANON_ES1 0x3141
#define USB_PID_CANON_ES2 0x3185
#define USB_PID_CANON_ES20 0x3186
#define USB_PID_CANON_ES3 3 // XXX 31af? 31b1??
#define USB_PID_CANON_ES3 0x31AF
#define USB_PID_CANON_ES30 0x31B0
#define USB_PID_CANON_ES40 0x31EE
#define USB_PID_CANON_CP10 0x304A

View file

@ -25,7 +25,7 @@
*
*/
#define VERSION "0.40"
#define VERSION "0.41"
#define DEBUG( ... ) fprintf(stderr, "DEBUG: " __VA_ARGS__ )
#define ERROR( ... ) fprintf(stderr, "ERROR: " __VA_ARGS__ )