dnpds40: Add more dopplegangers of the DS40/DS80 family.

This commit is contained in:
Solomon Peachy 2014-02-03 19:31:33 -05:00
parent 2b867a323a
commit a9cbbbae5e
3 changed files with 12 additions and 67 deletions

4
README
View file

@ -36,6 +36,7 @@
Citizen CX/CX-W/CY/CW-01/OP900/CW-02/OP900II
Olmec OP900
ICI Imagedata OP900
Mitsubishi CP-3800DW
***************************************************************************
@ -356,6 +357,9 @@
Work-in-progress (Unknown USB IDs):
Citizen CX/CX-W/CY/CW-02/OP900II
Olmec OP900
ICI Imagedata OP900
Mitsubishi CP-3800DW
Development was sponsored by:

View file

@ -53,6 +53,8 @@
//#define USB_PID_CITIZEN_OP900 XXXXX
//#define USB_PID_CITIZEN_CW-02 XXXXX
//#define USB_PID_CITIZEN_OP900II XXXXX
//#define USB_VID_MITSU 0x06D3
//#define USB_PID_MITSU_CP3800DW XXXXX
/* Private data stucture */
struct dnpds40_ctx {
@ -976,73 +978,12 @@ struct dyesub_backend dnpds40_backend = {
{ USB_VID_DNP, USB_PID_DNP_DS80, P_DNP_DS80, ""},
// { USB_VID_CITIZEN, USB_PID_CITIZEN_CX, P_DNP_DS80, ""},
// { USB_VID_CITIZEN, USB_PID_CITIZEN_CX-W, P_DNP_DS80, ""},
// { USB_VID_CITIZEN, USB_PID_CITIZEN_CY, P_DNP_DS80, ""},
// { USB_VID_CITIZEN, USB_PID_CITIZEN_CW-02, P_DNP_DS80, ""},
// { USB_VID_CITIZEN, USB_PID_CITIZEN_OP900II, P_DNP_DS80, ""},
// { USB_VID_CITIZEN, USB_PID_CITIZEN_CW-01, P_DNP_DS80, ""},
// { USB_VID_CITIZEN, USB_PID_CITIZEN_OP900, P_DNP_DS80, ""},
// { USB_VID_CITIZEN, USB_PID_CITIZEN_CY, P_DNP_DS40, ""},
// { USB_VID_CITIZEN, USB_PID_CITIZEN_CW-02, P_DNP_DS40, ""},
// { USB_VID_CITIZEN, USB_PID_CITIZEN_OP900II, P_DNP_DS40, ""},
// { USB_VID_CITIZEN, USB_PID_CITIZEN_CW-01, P_DNP_DS40, ""},
// { USB_VID_CITIZEN, USB_PID_CITIZEN_OP900, P_DNP_DS40, ""},
// { USB_VID_MITSU, USB_PID_MITSU_CP38000W, P_DNP_DS80, ""},
{ 0, 0, 0, ""}
}
};
/* DNP DS40 Windows Driver printer spool format:
NOTE: This backend (and gutenprint) do *NOT* use this format.
UNKNOWN variables/offsets:
- number of copies
- lamination type
- media type
4x6, 300dpi, 1 copy, 0 sharpen, glossy
Page header:
01 00 01 00 <- page setup?
28 58 24 00 <- Total plane len == 40 + x*y + 1024 (2381864)
00 00 00 00 <- ??
Plane header (ie one for each plane)
28 00 00 00
80 07 00 00 <- X res (1920) ( = 6.4" @ 300dpi)
d8 04 00 00 <- Y res (1240) ( = 4.13" @ 300dpi)
01 00 08 00
00 00 00 00
00 00 00 00
20 2e 00 00 <- 11808 = X pixels per meter @ 300dpi
20 2e 00 00 <- 11808 = Y pixels per meter @ 300dpi
00 01 00 00
00 00 00 00
[ folowed by 256 entries of color mapping starting with 0xff -> ff ff ff 00 ]
[ followed by x*y bytes of plane data ]
5x7, "600x600dpi", 2 copies, 0 sharpen, matte
Page header:
02 02 02 00 <- page setup ??
28 4a 7d 00 <- Total plane len == 40 + x*y + 1024
02 00 00 00 <- ??
Plane header (ie one for each plane)
28 00 00 00
80 07 00 00 <- X res (1920) ( = 6.4" @ 300dpi)
b4 10 00 00 <- Y res (4276) ( =~ 7.13" @ 600 dpi )
01 00 08 00
00 00 00 00
00 00 00 00
40 5c 00 00 <- 23615 = X pixels per meter @ 600dpi
40 5c 00 00 <- 23615 = Y pixels per meter @ 600dpi
00 01 00 00
00 00 00 00
[ folowed by 256 entries of color mapping starting with 0xff -> ff ff ff 00 ]
[ followed by x*y bytes of plane data ]
*/

Binary file not shown.