diff options
Diffstat (limited to 'src/main/canon-printers.h')
-rw-r--r-- | src/main/canon-printers.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/src/main/canon-printers.h b/src/main/canon-printers.h index cd44195..df48e0e 100644 --- a/src/main/canon-printers.h +++ b/src/main/canon-printers.h @@ -37,6 +37,7 @@ typedef struct canon_caps { int border_right; /* right margin, points */ int border_top; /* absolute top margin, points */ int border_bottom; /* absolute bottom margin, points */ + int raster_lines_per_block; /* number of raster lines in every F) command */ const canon_slotlist_t* slotlist; /*available paperslots */ unsigned long features; /* special bjl settings */ unsigned char ESC_r_arg; /* argument used for the ESC (r command during init */ @@ -174,6 +175,7 @@ static const canon_cap_t canon_model_capabilities[] = "PIXMA MP830", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_px,0,control_cmd_MULTIPASS_MP150, /*features */ &canon_MULTIPASS_MP830_modelist, @@ -202,6 +204,7 @@ static const canon_cap_t canon_model_capabilities[] = "S200", 3, 618, 936, /* 8.58" x 13 " */ 10, 10, 9, 20, + 8, &canon_default_slotlist, CANON_CAP_STD1 | CANON_CAP_rr,0x61,NULL, &canon_S200_modelist, @@ -216,6 +219,7 @@ static const canon_cap_t canon_model_capabilities[] = "S300", 3, 842, 17*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD1 | CANON_CAP_r,0x61,control_cmd_ackshort, &canon_BJC_8500_modelist, @@ -230,6 +234,7 @@ static const canon_cap_t canon_model_capabilities[] = "30", 1, 9.5*72, 14*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD0 | CANON_CAP_a,0,NULL, &canon_BJC_30_modelist, @@ -243,6 +248,7 @@ static const canon_cap_t canon_model_capabilities[] = "85", 1, 9.5*72, 14*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD0 | CANON_CAP_a,0,NULL, &canon_BJC_85_modelist, @@ -257,6 +263,7 @@ static const canon_cap_t canon_model_capabilities[] = "4300", 1, 618, 936, /* 8.58" x 13 " */ 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD0,0,NULL, &canon_BJC_4300_modelist, @@ -271,6 +278,7 @@ static const canon_cap_t canon_model_capabilities[] = "4400", 1, 9.5*72, 14*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD0 | CANON_CAP_a,0,NULL, &canon_BJC_4400_modelist, @@ -285,6 +293,7 @@ static const canon_cap_t canon_model_capabilities[] = "6000", 3, 618, 936, /* 8.58" x 13 " */ 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD1,0,control_cmd_ackshort, &canon_BJC_6000_modelist, @@ -299,6 +308,7 @@ static const canon_cap_t canon_model_capabilities[] = "6200", 3, 618, 936, /* 8.58" x 13 " */ 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD1,0,control_cmd_ackshort, &canon_BJC_6000_modelist, @@ -313,6 +323,7 @@ static const canon_cap_t canon_model_capabilities[] = "6500", 3, 842, 17*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD1,0,NULL, &canon_BJC_6000_modelist, @@ -326,6 +337,7 @@ static const canon_cap_t canon_model_capabilities[] = "8200", 3, 842, 17*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD1 | CANON_CAP_r,0x61,control_cmd_ackshort, &canon_BJC_8200_modelist, @@ -339,6 +351,7 @@ static const canon_cap_t canon_model_capabilities[] = "S500", 3, 842, 17*72, 10, 10, 15, 15, + 8, &canon_default_slotlist, CANON_CAP_STD0 | CANON_CAP_r | CANON_CAP_p,0x61,control_cmd_ackshort, &canon_S500_modelist, @@ -360,6 +373,7 @@ static const canon_cap_t canon_model_capabilities[] = "210", 1, 618, 936, /* 8.58" x 13 " */ 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD0,0,NULL, &canon_BJC_210_modelist, @@ -373,6 +387,7 @@ static const canon_cap_t canon_model_capabilities[] = "240", 1, 618, 936, /* 8.58" x 13 " */ 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD0,0,NULL, &canon_BJC_240_modelist, @@ -386,6 +401,7 @@ static const canon_cap_t canon_model_capabilities[] = "250", 1, 618, 936, /* 8.58" x 13 " */ 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD0,0,NULL, &canon_BJC_240_modelist, @@ -399,6 +415,7 @@ static const canon_cap_t canon_model_capabilities[] = "1000", 1, 842, 17*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD0 | CANON_CAP_a,0,NULL, &canon_BJC_240_modelist, @@ -412,6 +429,7 @@ static const canon_cap_t canon_model_capabilities[] = "2000", 1, 842, 17*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD0 | CANON_CAP_a,0,NULL, &canon_BJC_2000_modelist, @@ -425,6 +443,7 @@ static const canon_cap_t canon_model_capabilities[] = "3000", 3, 842, 17*72, 10, 10, 9, 15, + 8, &canon_default_slotlist, CANON_CAP_STD0 | CANON_CAP_a | CANON_CAP_p,0,NULL, /*FIX? should have _r? */ &canon_BJC_3000_modelist, @@ -438,6 +457,7 @@ static const canon_cap_t canon_model_capabilities[] = "6100", 3, 842, 17*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD1 | CANON_CAP_a | CANON_CAP_r,0x61,NULL, &canon_BJC_3000_modelist, @@ -451,6 +471,7 @@ static const canon_cap_t canon_model_capabilities[] = "7000", 3, 842, 17*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD1,0,NULL, &canon_BJC_7000_modelist, @@ -464,6 +485,7 @@ static const canon_cap_t canon_model_capabilities[] = "i560", 3, 842, 17*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD1,0,NULL, &canon_BJC_i560_modelist, @@ -477,6 +499,7 @@ static const canon_cap_t canon_model_capabilities[] = "7100", 3, 842, 17*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD0,0,NULL, &canon_BJC_7100_modelist, @@ -490,6 +513,7 @@ static const canon_cap_t canon_model_capabilities[] = "i80", 3, 842, 17*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD0,0,NULL, &canon_BJC_i80_modelist, @@ -511,6 +535,7 @@ static const canon_cap_t canon_model_capabilities[] = "5100", 1, 17*72, 22*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD0,0,NULL, &canon_BJC_3000_modelist, @@ -524,6 +549,7 @@ static const canon_cap_t canon_model_capabilities[] = "5500", 1, 22*72, 34*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD0 | CANON_CAP_a,0,NULL, &canon_BJC_5500_modelist, @@ -537,6 +563,7 @@ static const canon_cap_t canon_model_capabilities[] = "6500", 3, 17*72, 22*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD1 | CANON_CAP_a,0,NULL, &canon_BJC_3000_modelist, @@ -550,6 +577,7 @@ static const canon_cap_t canon_model_capabilities[] = "8500", 3, 17*72, 22*72, 11, 9, 10, 18, + 8, &canon_default_slotlist, CANON_CAP_STD0,0,NULL, &canon_BJC_8500_modelist, @@ -563,6 +591,7 @@ static const canon_cap_t canon_model_capabilities[] = "PIXMA iP2000", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_r|CANON_CAP_px,0x61,control_cmd_PIXMA_iP4000, /*features */ &canon_PIXMA_iP2000_modelist, @@ -576,6 +605,7 @@ static const canon_cap_t canon_model_capabilities[] = "PIXMA iP3000", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_r|CANON_CAP_px,0x61,control_cmd_PIXMA_iP4000, /*features */ &canon_PIXMA_iP3000_modelist, @@ -589,6 +619,7 @@ static const canon_cap_t canon_model_capabilities[] = "PIXMA iP4000", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_r|CANON_CAP_px /*|CANON_CAP_I*/,0x64,control_cmd_PIXMA_iP4000, /*features */ &canon_PIXMA_iP4000_modelist, @@ -602,6 +633,7 @@ static const canon_cap_t canon_model_capabilities[] = "PIXMA MP740", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_r|CANON_CAP_px /*,|CANON_CAP_I*/,0x64,control_cmd_PIXMA_iP4000, /*features */ &canon_PIXMA_iP4000_modelist, @@ -615,6 +647,7 @@ static const canon_cap_t canon_model_capabilities[] = "PIXMA iP5300", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_r|CANON_CAP_px|CANON_CAP_I,0x64,control_cmd_PIXMA_iP4000, /*features */ &canon_PIXMA_iP5300_modelist, @@ -624,10 +657,25 @@ static const canon_cap_t canon_model_capabilities[] = NULL, NULL }, + { /* Canon PIXMA iP4600 */ + "PIXMA iP4600", 3, /*model, model_id*/ + 8.5*72, 26.625*72, /* max paper width and height */ + 10, 10, 9, 15, /*border_left, border_right, border_top, border_bottom */ + 16, + &canon_PIXMA_iP4600_slotlist, + CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_r|CANON_CAP_px|CANON_CAP_I,0x61,control_cmd_MULTIPASS_MP150, /*features */ + &canon_PIXMA_iP5300_modelist, + &canon_PIXMA_iP4600_paperlist, + NULL, + NULL, + NULL, + iP4500_channel_order + }, { /* Canon PIXMA iP4500 */ "PIXMA iP4500", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_r|CANON_CAP_px|CANON_CAP_I,0x61,control_cmd_MULTIPASS_MP150, /*features */ &canon_PIXMA_iP5300_modelist, @@ -641,6 +689,7 @@ static const canon_cap_t canon_model_capabilities[] = "PIXMA iP4200", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_r|CANON_CAP_px|CANON_CAP_P,0x64,control_cmd_PIXMA_iP4200, /*features */ &canon_PIXMA_iP4200_modelist, @@ -653,6 +702,7 @@ static const canon_cap_t canon_model_capabilities[] = "PIXMA iP6000", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_r|CANON_CAP_px,0x64,control_cmd_PIXMA_iP4000, /*features */ &canon_PIXMA_iP6000_modelist, @@ -666,6 +716,7 @@ static const canon_cap_t canon_model_capabilities[] = "PIXMA iP6700", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_r|CANON_CAP_px,0x64,control_cmd_PIXMA_iP4000, /*features */ &canon_PIXMA_iP6700_modelist, @@ -679,6 +730,7 @@ static const canon_cap_t canon_model_capabilities[] = "PIXMA iX5000", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_r|CANON_CAP_px|CANON_CAP_I,0x61,control_cmd_PIXMA_iP4000, /*features */ &canon_PIXMA_iX5000_modelist, @@ -692,6 +744,7 @@ static const canon_cap_t canon_model_capabilities[] = "PIXMA MP520", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_r|CANON_CAP_px|CANON_CAP_I,0x61,control_cmd_PIXMA_iP4000, /*features */ &canon_PIXMA_iX5000_modelist, @@ -705,6 +758,7 @@ static const canon_cap_t canon_model_capabilities[] = "PIXMA Pro9500", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_r|CANON_CAP_px,0x61,control_cmd_PIXMA_iP4000, /*features */ &canon_PIXMA_Pro9500_modelist, @@ -718,6 +772,7 @@ static const canon_cap_t canon_model_capabilities[] = "PIXMA iP8500", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_r|CANON_CAP_px,0x61,control_cmd_PIXMA_iP4000, /*features */ &canon_PIXMA_iP8500_modelist, @@ -731,6 +786,7 @@ static const canon_cap_t canon_model_capabilities[] = "PIXMA MP150", 3, /*model, model_id*/ 842, 17*72, /* max paper width and height */ 10, 10, 15, 15, /*border_left, border_right, border_top, border_bottom */ + 8, &canon_PIXMA_iP4000_slotlist, CANON_CAP_STD0|CANON_CAP_DUPLEX|CANON_CAP_r|CANON_CAP_px|CANON_CAP_I,0x61,control_cmd_MULTIPASS_MP150, /*features */ &canon_MULTIPASS_MP150_modelist, |