dnp_ds40: Document known stuff inthe Windows spool file format.
This commit is contained in:
parent
ad6d71afa0
commit
555aa9840f
|
@ -483,3 +483,66 @@ struct dyesub_backend dnpds40_backend = {
|
|||
{ 0, 0, 0, ""}
|
||||
}
|
||||
};
|
||||
|
||||
/* DNP DS40 Windows Driver printer spool format:
|
||||
|
||||
NOTE: This backend (and gutenprint) do *NOT* use this format.
|
||||
|
||||
UNKNOWN variables/offsets:
|
||||
|
||||
- 300 vs 600dpi selection
|
||||
- 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 = ??
|
||||
20 2e 00 00 <- 11808
|
||||
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 = ?
|
||||
40 5c 00 00 <- 23615
|
||||
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 ]
|
||||
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue