summaryrefslogtreecommitdiffstats
path: root/backend_sinfonia.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-08-13 08:48:07 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-08-13 20:27:27 -0400
commit3633a462156d8ab7a4e9ea07874143849b7c6f10 (patch)
treef30a2045db7d959361db40b0a5c50ee1f6c663a9 /backend_sinfonia.h
parentfd507ea956f305e345a8881b5e9cdea2e09bdc2b (diff)
downloadselphy_print-3633a462156d8ab7a4e9ea07874143849b7c6f10.tar.gz
selphy_print-3633a462156d8ab7a4e9ea07874143849b7c6f10.tar.bz2
selphy_print-3633a462156d8ab7a4e9ea07874143849b7c6f10.zip
kodak8810: Printer is now confirmed working.
Diffstat (limited to 'backend_sinfonia.h')
-rw-r--r--backend_sinfonia.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/backend_sinfonia.h b/backend_sinfonia.h
index 5279679..c0c2c40 100644
--- a/backend_sinfonia.h
+++ b/backend_sinfonia.h
@@ -27,7 +27,7 @@
*
*/
-#define LIBSINFONIA_VER "0.07"
+#define LIBSINFONIA_VER "0.08"
#define SINFONIA_HDR1_LEN 0x10
#define SINFONIA_HDR2_LEN 0x64
@@ -45,7 +45,7 @@ struct sinfonia_job_param {
uint32_t quality;
- int mattedepth;
+ int mattedepth;
uint32_t dust;
uint32_t ext_flags;
@@ -326,9 +326,9 @@ struct sinfonia_printcmd18_hdr {
uint16_t columns;
uint16_t rows;
uint8_t reserved[8]; // columns and rows repeated, then nulls
- uint8_t media;
uint8_t oc_mode;
uint8_t method;
+ uint8_t media; // reserved?
} __attribute__((packed));
struct sinfonia_printcmd28_hdr {
@@ -363,6 +363,9 @@ struct sinfonia_printcmd28_hdr {
#define CODE_8x6_2 0x32
#define CODE_8x4_3 0x40
+#define CODE_8x12K 0x02 /* Kodak 8810 */
+
+
#define CODE_89x60mm 0x10
#define CODE_89x59mm 0x11
#define CODE_89x58mm 0x12