From: Sascha S. <sas...@fr...> - 2006-08-29 10:42:50
|
Hi, attached patch adds the new modeselection code from the experimental branch: - new mode setting code - remove EXPERIMENTAL_STUFF - remove supported resolutions array - every printer can now support an unlimited amount of modes - modedefintions can be found in canon-modes.h - ink definitons can be found in canon-inks.h - printer caps can be found in canon-printers.h - the inklist can be used to generate the values for the extended ESC (t command - WEAVE and 5Pixelin1byte flags are now possible for every mode - move paper definition from print-canon.h to canon-media.h Although this looks like a complete rewrite all printers still support all modes they supported before The md5sums for every parameter combination testable with run-testpattern-2 are identical. Exceptions: bjc-6000,bjc-6100,bjc-6200,bjc-6500: CMYK+BW+360x360dmt bjc-7000: CMYK+BW+300x300dpi Reason: Before the change the printer was configured to print CMYK when we only used the K channel. Now we configure the printer to print CcMmYK. bjc-s200: Gray+BW+360x360dpi Reason: Before the change BW+360x360dpi and Gray+BW+360x360dpi produced different outputs. Now they are the same. bjc-PIXMA-iP4000: BW+600x600dpi Reason: Before the change the driver has been using uninitialized memory in this mode. Also fixes http://sourceforge.net/tracker/index.php?func=detail&aid=1487718&group_id=1537&atid=101537 canon-inks.h | 212 +++++ canon-media.h | 34 canon-modes.h | 216 +++++ canon-printers.h | 368 ++++++++++ print-canon.c | 2015 ++++++++----------------------------------------------- print-canon.h | 59 - 6 files changed, 1175 insertions(+), 1729 deletions(-) Can this go into main cvs now? Regards Sascha |