#include <gutenprint/gutenprint.h>#include "gutenprint-internal.h"#include <gutenprint/gutenprint-intl-internal.h>#include <string.h>#include <stdio.h>#include <stdarg.h>Go to the source code of this file.
Defines | |
| #define | CHAR_BIT 8 |
| #define | MAX_CARRIAGE_WIDTH 13 |
| #define | MAX_PHYSICAL_BPI 1440 |
| #define | MAX_OVERSAMPLED 8 |
| #define | MAX_BPP 4 |
| #define | COMPBUFWIDTH |
| #define | MIN(a, b) (((a)<(b)) ? (a) : (b)) |
| #define | MAX(a, b) ((a) > (b) ? (a) : (b)) |
| #define | USE_3BIT_FOLD_TYPE 323 |
| #define | DECLARE_INK(name, density) |
| #define | SHADE(density, name) { density, sizeof(name)/sizeof(stp_dotsize_t), name } |
| #define | CANON_INK_K 1 |
| #define | CANON_INK_CMY 2 |
| #define | CANON_INK_CMYK 4 |
| #define | CANON_INK_CcMmYK 8 |
| #define | CANON_INK_CcMmYyK 16 |
| #define | CANON_INK_BLACK_MASK (CANON_INK_K|CANON_INK_CMYK|CANON_INK_CcMmYK) |
| #define | CANON_INK_PHOTO_MASK (CANON_INK_CcMmYK|CANON_INK_CcMmYyK) |
| #define | CANON_SLOT_ASF1 1 |
| #define | CANON_SLOT_ASF2 2 |
| #define | CANON_SLOT_MAN1 4 |
| #define | CANON_SLOT_MAN2 8 |
| #define | CANON_CAP_DMT 0x01ul |
| #define | CANON_CAP_MSB_FIRST 0x02ul |
| #define | CANON_CAP_a 0x04ul |
| #define | CANON_CAP_b 0x08ul |
| #define | CANON_CAP_q 0x10ul |
| #define | CANON_CAP_m 0x20ul |
| #define | CANON_CAP_d 0x40ul |
| #define | CANON_CAP_t 0x80ul |
| #define | CANON_CAP_c 0x100ul |
| #define | CANON_CAP_p 0x200ul |
| #define | CANON_CAP_l 0x400ul |
| #define | CANON_CAP_r 0x800ul |
| #define | CANON_CAP_g 0x1000ul |
| #define | CANON_CAP_ACKSHORT 0x2000ul |
| #define | CANON_CAP_STD0 |
| #define | CANON_CAP_STD1 |
| #define | CANON_MODES(A) 0 |
| #define | CANON_INK(A) A,sizeof(A)/sizeof(canon_variable_inklist_t*) |
| #define | PUT(WHAT, VAL, RES) |
| #define | ESC28 "\033\050" |
| #define | ESC5b "\033\133" |
| #define | ESC40 "\033\100" |
| #define | stp_module_version print_canon_LTX_stp_module_version |
| #define | stp_module_data print_canon_LTX_stp_module_data |
Typedefs | |
| typedef canon_dot_sizes | canon_dot_size_t |
| typedef canon_densities | canon_densities_t |
| typedef canon_variable_ink | canon_variable_ink_t |
| typedef canon_variable_inkset | canon_variable_inkset_t |
| typedef canon_variable_inklist | canon_variable_inklist_t |
| typedef canon_variable_inklist_t * | canon_variable_inklist_p |
| typedef canon_caps | canon_cap_t |
Enumerations | |
| enum | colormode_t { COLOR_MONOCHROME = 1, COLOR_CMY = 3, COLOR_CMYK = 4, COLOR_CCMMYK = 6, COLOR_CCMMYYK = 7 } |
Functions | |
| DECLARE_INK (canon_Cc_1bit, 0.75) | |
| DECLARE_INK (canon_Mm_1bit, 0.75) | |
| DECLARE_INK (canon_X_2bit, 1.0) | |
| DECLARE_INK (canon_Xx_2bit, 1.0) | |
| DECLARE_INK (canon_X_3bit, 1.0) | |
| DECLARE_INK (canon_Xx_3bit, 1.0) | |
| static void | canon_write_line (stp_vars_t *v) |
| static const paper_t * | get_media_type (const char *name) |
| static const canon_cap_t * | canon_get_model_capabilities (int model) |
| static int | canon_source_type (const char *name, const canon_cap_t *caps) |
| static int | canon_printhead_type (const char *name, const canon_cap_t *caps) |
| static colormode_t | canon_printhead_colors (const char *name, const canon_cap_t *caps) |
| static unsigned char | canon_size_type (const stp_vars_t *v, const canon_cap_t *caps) |
| static int | canon_res_code (const canon_cap_t *caps, int xdpi, int ydpi) |
| static int | canon_ink_type (const canon_cap_t *caps, int res_code) |
| static const char * | canon_lum_adjustment (int model) |
| static const char * | canon_hue_adjustment (int model) |
| static const char * | canon_sat_adjustment (int model) |
| static double | canon_density (const canon_cap_t *caps, int res_code) |
| static const canon_variable_inkset_t * | canon_inks (const canon_cap_t *caps, int res_code, int colors, int bits) |
| static void | canon_describe_resolution (const stp_vars_t *v, int *x, int *y) |
| static const char * | canon_describe_output (const stp_vars_t *v) |
| static stp_parameter_list_t | canon_list_parameters (const stp_vars_t *v) |
| static void | canon_parameters (const stp_vars_t *v, const char *name, stp_parameter_t *description) |
| static void | internal_imageable_area (const stp_vars_t *v, int use_paper_margins, int *left, int *right, int *bottom, int *top) |
| static void | canon_imageable_area (const stp_vars_t *v, int *left, int *right, int *bottom, int *top) |
| static void | canon_limit (const stp_vars_t *v, int *width, int *height, int *min_width, int *min_height) |
| static void | canon_cmd (const stp_vars_t *v, const char *ini, const char cmd, int num,...) |
| static void | canon_init_resetPrinter (const stp_vars_t *v, canon_init_t *init) |
| static void | canon_init_setPageMode (const stp_vars_t *v, canon_init_t *init) |
| static void | canon_init_setDataCompression (const stp_vars_t *v, canon_init_t *init) |
| static void | canon_init_setColor (const stp_vars_t *v, canon_init_t *init) |
| static void | canon_init_setResolution (const stp_vars_t *v, canon_init_t *init) |
| static void | canon_init_setPageMargins (const stp_vars_t *v, canon_init_t *init) |
| static void | canon_init_setTray (const stp_vars_t *v, canon_init_t *init) |
| static void | canon_init_setPrintMode (const stp_vars_t *v, canon_init_t *init) |
| static void | canon_init_setPageMargins2 (const stp_vars_t *v, canon_init_t *init) |
| static void | canon_init_setPageID (const stp_vars_t *v, canon_init_t *init) |
| static void | canon_init_setX72 (const stp_vars_t *v, canon_init_t *init) |
| static void | canon_init_setImage (const stp_vars_t *v, canon_init_t *init) |
| static void | canon_init_printer (const stp_vars_t *v, canon_init_t *init) |
| static void | canon_deinit_printer (const stp_vars_t *v, canon_init_t *init) |
| static int | canon_start_job (const stp_vars_t *v, stp_image_t *image) |
| static int | canon_end_job (const stp_vars_t *v, stp_image_t *image) |
| static void | canon_advance_buffer (unsigned char *buf, int len, int num) |
| static void | setup_column (canon_privdata_t *privdata, int col, int buf_length) |
| static void | canon_printfunc (stp_vars_t *v) |
| static double | get_double_param (stp_vars_t *v, const char *param) |
| static void | set_ink_ranges (stp_vars_t *v, const canon_variable_ink_t *ink, int color, const char *channel_param, const char *subchannel_param) |
| static int | canon_do_print (stp_vars_t *v, stp_image_t *image) |
| static int | canon_print (const stp_vars_t *v, stp_image_t *image) |
| static void | canon_fold_2bit (const unsigned char *line, int single_length, unsigned char *outbuf) |
| static void | canon_fold_3bit (const unsigned char *line, int single_length, unsigned char *outbuf) |
| static void | canon_shift_buffer (unsigned char *line, int length, int bits) |
| static int | canon_write (stp_vars_t *v, const canon_cap_t *caps, unsigned char *line, int length, int coloridx, int ydpi, int *empty, int width, int offset, int bits) |
| static int | print_canon_module_init (void) |
| static int | print_canon_module_exit (void) |
Variables | |
| static const int | channel_color_map [] |
| static const int | subchannel_color_map [] |
| static const double | ink_darknesses [] |
| static const stp_dotsize_t | single_dotsize [] |
| static const stp_shade_t | canon_Cc_1bit_shades [] |
| static const stp_shade_t | canon_Mm_1bit_shades [] |
| static const stp_dotsize_t | two_bit_dotsize [] |
| static const stp_shade_t | canon_X_2bit_shades [] |
| static const stp_shade_t | canon_Xx_2bit_shades [] |
| static const stp_dotsize_t | three_bit_dotsize [] |
| static const stp_shade_t | canon_X_3bit_shades [] |
| static const stp_shade_t | canon_Xx_3bit_shades [] |
| static const canon_variable_inkset_t | ci_CMY_1 |
| static const canon_variable_inkset_t | ci_CMY_2 |
| static const canon_variable_inkset_t | ci_CMYK_1 |
| static const canon_variable_inkset_t | ci_CcMmYK_1 |
| static const canon_variable_inkset_t | ci_CMYK_2 |
| static const canon_variable_inkset_t | ci_CcMmYK_2 |
| static const canon_variable_inkset_t | ci_CMYK_3 |
| static const canon_variable_inkset_t | ci_CcMmYK_3 |
| static const canon_variable_inklist_t | canon_ink_standard [] |
| static const canon_variable_inklist_t | canon_ink_oldphoto [] |
| static const canon_variable_inklist_t | canon_ink_standardphoto [] |
| static const canon_variable_inklist_t | canon_ink_superphoto [] |
| static const char | standard_sat_adjustment [] |
| static const char | standard_lum_adjustment [] |
| static const char | standard_hue_adjustment [] |
| static const canon_cap_t | canon_model_capabilities [] |
| static const canon_res_t | canon_resolutions [] |
| static const char | plain_paper_lum_adjustment [] |
| static const paper_t | canon_paper_list [] |
| static const int | paper_type_count = sizeof(canon_paper_list) / sizeof(paper_t) |
| static const stp_parameter_t | the_parameters [] |
| static const int | the_parameter_count |
| static const float_param_t | float_parameters [] |
| static const int | float_parameter_count |
| static const stp_param_string_t | media_sources [] |
| static const stp_printfuncs_t | print_canon_printfuncs |
| static stp_family_t | print_canon_module_data |
| stp_module_version_t | stp_module_version = {0, 0} |
| stp_module_t | stp_module_data |
|
|
Definition at line 626 of file print-canon.c. Referenced by canon_deinit_printer(), and canon_init_setPageMode(). |
|
|
Definition at line 637 of file print-canon.c. Referenced by canon_init_resetPrinter(). |
|
|
Definition at line 627 of file print-canon.c. Referenced by canon_init_setDataCompression(). |
|
|
Definition at line 632 of file print-canon.c. Referenced by canon_init_setColor(). |
|
|
Definition at line 630 of file print-canon.c. Referenced by canon_init_setResolution(). |
|
|
Definition at line 624 of file print-canon.c. Referenced by canon_do_print(). |
|
|
Definition at line 636 of file print-canon.c. Referenced by canon_init_setPageMargins(). |
|
|
Definition at line 634 of file print-canon.c. Referenced by canon_init_setTray(). |
|
|
Definition at line 629 of file print-canon.c. Referenced by canon_init_setPrintMode(). |
|
|
Definition at line 625 of file print-canon.c. |
|
|
Definition at line 633 of file print-canon.c. Referenced by canon_init_setPageMargins2(). |
|
|
Definition at line 628 of file print-canon.c. Referenced by canon_init_setPageID(). |
|
|
Definition at line 635 of file print-canon.c. Referenced by canon_init_setX72(). |
|
|
Value: Definition at line 639 of file print-canon.c. |
|
|
Value: Definition at line 642 of file print-canon.c. |
|
|
Definition at line 631 of file print-canon.c. Referenced by canon_init_setImage(). |
|
|
Definition at line 651 of file print-canon.c. |
|
|
Definition at line 613 of file print-canon.c. |
|
|
Definition at line 610 of file print-canon.c. Referenced by canon_parameters(). |
|
|
Definition at line 611 of file print-canon.c. Referenced by canon_do_print(), and canon_parameters(). |
|
|
Definition at line 608 of file print-canon.c. Referenced by canon_parameters(), canon_printhead_colors(), and canon_printhead_type(). |
|
|
Definition at line 609 of file print-canon.c. Referenced by canon_parameters(), canon_printhead_colors(), and canon_printhead_type(). |
|
|
Definition at line 607 of file print-canon.c. Referenced by canon_describe_output(), canon_do_print(), canon_parameters(), canon_printhead_colors(), and canon_printhead_type(). |
|
|
Definition at line 615 of file print-canon.c. |
|
|
Definition at line 648 of file print-canon.c. |
|
|
Definition at line 618 of file print-canon.c. |
|
|
Definition at line 619 of file print-canon.c. |
|
|
Definition at line 620 of file print-canon.c. |
|
|
Definition at line 621 of file print-canon.c. |
|
|
Definition at line 62 of file print-canon.c. |
|
|
Value: (MAX_PHYSICAL_BPI * MAX_OVERSAMPLED * MAX_BPP * \ MAX_CARRIAGE_WIDTH / CHAR_BIT) Definition at line 77 of file print-canon.c. Referenced by canon_write(). |
|
|
Value: static const canon_variable_ink_t name##_ink = \ { \ density, \ name##_shades, \ sizeof(name##_shades) / sizeof(stp_shade_t) \ } Definition at line 239 of file print-canon.c. |
|
|
|
Definition at line 1929 of file print-canon.c. Referenced by canon_end_job(). |
|
|
Definition at line 1928 of file print-canon.c. Referenced by canon_init_resetPrinter(). |
|
|
Definition at line 81 of file print-canon.c. Referenced by internal_imageable_area(). |
|
|
Definition at line 76 of file print-canon.c. |
|
|
Definition at line 69 of file print-canon.c. |
|
|
Definition at line 75 of file print-canon.c. |
|
|
Definition at line 74 of file print-canon.c. |
|
|
Definition at line 80 of file print-canon.c. Referenced by olympus_do_print(). |
|
|
Value: stp_deprintf(STP_DBG_CANON,"canon: "WHAT\ " is %04x =% 5d = %f\" = %f mm\n",(VAL),(VAL),(VAL)/(1.*RES),(VAL)/(RES/25.4)) Definition at line 1924 of file print-canon.c. Referenced by canon_do_print(). |
|
|
Definition at line 247 of file print-canon.c. |
|
|
Definition at line 3123 of file print-canon.c. |
|
|
Definition at line 3122 of file print-canon.c. |
|
|
Definition at line 98 of file print-canon.c. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 425 of file print-canon.c. |
|
|
|
|
|
|
|
|
Definition at line 545 of file print-canon.c. |
|
||||||||||||||||
|
Definition at line 2265 of file print-canon.c. Referenced by canon_do_print(), and canon_printfunc(). |
|
||||||||||||||||||||||||
|
||||||||||||
|
Definition at line 2233 of file print-canon.c. References CANON_CAP_a, canon_cmd(), ESC28, and stp_putc(). Referenced by canon_do_print(). |
|
||||||||||||
|
Definition at line 1537 of file print-canon.c. References canon_densities::d_r11, canon_densities::d_r22, canon_densities::d_r33, canon_densities::d_r43, canon_densities::d_r44, canon_densities::d_r55, canon_caps::densities, STP_DBG_CANON, and stp_deprintf(). Referenced by canon_do_print(). |
|
|
Definition at line 1615 of file print-canon.c. References canon_get_model_capabilities(), CANON_INK_K, canon_printhead_colors(), canon_printhead_type(), COLOR_CMY, COLOR_CMYK, COLOR_MONOCHROME, canon_caps::inks, stp_get_model_id(), and stp_get_string_parameter(). |
|
||||||||||||||||
|
Definition at line 1595 of file print-canon.c. References canon_resolutions, canon_res_t::name, canon_res_t::name_dmt, stp_get_string_parameter(), canon_res_t::x, and canon_res_t::y. |
|
||||||||||||
|
||||||||||||
|
Definition at line 2251 of file print-canon.c. References canon_cmd(), and ESC40. |
|
||||||||||||||||
|
Definition at line 2771 of file print-canon.c. Referenced by canon_write(). |
|
||||||||||||||||
|
Definition at line 2848 of file print-canon.c. Referenced by canon_write(). |
|
|
Definition at line 1355 of file print-canon.c. References canon_model_capabilities, STP_DBG_CANON, and stp_deprintf(). Referenced by canon_describe_output(), canon_do_print(), canon_hue_adjustment(), canon_limit(), canon_lum_adjustment(), canon_parameters(), canon_sat_adjustment(), and internal_imageable_area(). |
|
|
Definition at line 1523 of file print-canon.c. References canon_get_model_capabilities(), and canon_caps::hue_adjustment. Referenced by canon_do_print(). |
|
||||||||||||||||||||||||
|
Definition at line 1866 of file print-canon.c. References internal_imageable_area(). |
|
||||||||||||
|
Definition at line 2208 of file print-canon.c. References canon_cmd(), canon_init_resetPrinter(), canon_init_setColor(), canon_init_setDataCompression(), canon_init_setImage(), canon_init_setPageID(), canon_init_setPageMargins(), canon_init_setPageMargins2(), canon_init_setPageMode(), canon_init_setPrintMode(), canon_init_setResolution(), canon_init_setTray(), canon_init_setX72(), and ESC28. Referenced by canon_do_print(). |
|
||||||||||||
|
Definition at line 1934 of file print-canon.c. References CANON_CAP_ACKSHORT, canon_cmd(), ESC5b, canon_caps::features, and stp_puts(). Referenced by canon_init_printer(). |
|
||||||||||||
|
Definition at line 1973 of file print-canon.c. References CANON_CAP_c, canon_cmd(), ESC28, and canon_caps::model_id. Referenced by canon_init_printer(). |
|
||||||||||||
|
Definition at line 1962 of file print-canon.c. References CANON_CAP_b, canon_cmd(), and ESC28. Referenced by canon_init_printer(). |
|
||||||||||||
|
Definition at line 2168 of file print-canon.c. References CANON_CAP_t, canon_cmd(), COLOR_CCMMYK, COLOR_CMY, and ESC28. Referenced by canon_init_printer(). |
|
||||||||||||
|
Definition at line 2146 of file print-canon.c. References CANON_CAP_q, canon_cmd(), and ESC28. Referenced by canon_init_printer(). |
|
||||||||||||
|
Definition at line 2033 of file print-canon.c. References CANON_CAP_g, canon_cmd(), and ESC28. Referenced by canon_init_printer(). |
|
||||||||||||
|
Definition at line 2120 of file print-canon.c. References CANON_CAP_p, canon_cmd(), and ESC28. Referenced by canon_init_printer(). |
|
||||||||||||
|
Definition at line 1950 of file print-canon.c. References CANON_CAP_a, canon_cmd(), and ESC28. Referenced by canon_init_printer(). |
|
||||||||||||
|
Definition at line 2084 of file print-canon.c. References CANON_CAP_m, canon_cmd(), canon_size_type(), and ESC28. Referenced by canon_init_printer(). |
|
||||||||||||
|
Definition at line 2020 of file print-canon.c. References CANON_CAP_d, canon_cmd(), and ESC28. Referenced by canon_init_printer(). |
|
||||||||||||
|
Definition at line 2060 of file print-canon.c. References CANON_CAP_l, canon_cmd(), canon_source_type(), ESC28, and canon_caps::model_id. Referenced by canon_init_printer(). |
|
||||||||||||
|
Definition at line 2157 of file print-canon.c. References CANON_CAP_r, canon_cmd(), and ESC28. Referenced by canon_init_printer(). |
|
||||||||||||
|
Definition at line 1497 of file print-canon.c. Referenced by canon_parameters(). |
|
||||||||||||||||||||
|
Definition at line 1559 of file print-canon.c. References canon_variable_inklist::r11, canon_variable_inklist::r22, canon_variable_inklist::r33, canon_variable_inklist::r43, canon_variable_inklist::r44, canon_variable_inklist::r55, STP_DBG_CANON, and stp_deprintf(). Referenced by canon_do_print(). |
|
||||||||||||||||||||||||
|
Definition at line 1876 of file print-canon.c. References canon_get_model_capabilities(), canon_caps::max_height, canon_caps::max_width, and stp_get_model_id(). |
|
|
Definition at line 1653 of file print-canon.c. References float_parameter_count, float_parameters, stp_parameter_list_add_param(), stp_parameter_list_create(), the_parameter_count, and the_parameters. |
|
|
Definition at line 1516 of file print-canon.c. References canon_get_model_capabilities(), and canon_caps::lum_adjustment. Referenced by canon_do_print(). |
|
||||||||||||||||
|
||||||||||||
|
Definition at line 2741 of file print-canon.c. References canon_do_print(), stp_prune_inactive_options(), stp_vars_create_copy(), and stp_vars_destroy(). |
|
|
Definition at line 2279 of file print-canon.c. References canon_privdata_t::buf_length, canon_advance_buffer(), canon_write_line(), canon_privdata_t::cols, canon_privdata_t::delay, and stp_get_component_data(). Referenced by canon_do_print(). |
|
||||||||||||
|
Definition at line 1407 of file print-canon.c. References CANON_INK_CMY, CANON_INK_CMYK, CANON_INK_K, COLOR_CCMMYK, COLOR_CCMMYYK, COLOR_CMY, COLOR_CMYK, COLOR_MONOCHROME, STP_DBG_CANON, and stp_deprintf(). Referenced by canon_describe_output(), and canon_do_print(). |
|
||||||||||||
|
Definition at line 1384 of file print-canon.c. References CANON_INK_CMY, CANON_INK_CMYK, CANON_INK_K, STP_DBG_CANON, and stp_deprintf(). Referenced by canon_describe_output(), and canon_do_print(). |
|
||||||||||||||||
|
Definition at line 1460 of file print-canon.c. Referenced by canon_do_print(). |
|
|
Definition at line 1530 of file print-canon.c. References canon_get_model_capabilities(), and canon_caps::sat_adjustment. Referenced by canon_do_print(). |
|
||||||||||||||||
|
Definition at line 2950 of file print-canon.c. Referenced by canon_write(). |
|
||||||||||||
|
Definition at line 1430 of file print-canon.c. References stp_papersize_t::name, STP_DBG_CANON, stp_deprintf(), stp_get_page_height(), stp_get_page_width(), and stp_get_papersize_by_size(). Referenced by canon_init_setPrintMode(). |
|
||||||||||||
|
Definition at line 1369 of file print-canon.c. References STP_DBG_CANON, and stp_deprintf(). Referenced by canon_init_setTray(). |
|
||||||||||||
|
Definition at line 2245 of file print-canon.c. |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 2978 of file print-canon.c. References canon_fold_2bit(), canon_fold_3bit(), canon_shift_buffer(), COMPBUFWIDTH, STP_DBG_CANON, stp_deprintf(), stp_pack_tiff, stp_put16_be(), stp_put16_le(), stp_putc(), and stp_zfwrite(). Referenced by canon_write_line(). |
|
|
Definition at line 3073 of file print-canon.c. References canon_privdata_t::bits, canon_privdata_t::buf_length, canon_write(), canon_privdata_t::caps, canon_privdata_t::cols, canon_privdata_t::delay, canon_privdata_t::emptylines, canon_privdata_t::left, canon_privdata_t::out_width, stp_get_component_data(), stp_zfwrite(), and canon_privdata_t::ydpi. Referenced by canon_do_print(), and canon_printfunc(). |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 2290 of file print-canon.c. References stp_check_float_parameter(), stp_get_float_parameter(), and STP_PARAMETER_ACTIVE. Referenced by canon_do_print(), lexmark_do_print(), pcl_do_print(), set_ink_ranges(), and setup_inks(). |
|
|
Definition at line 1341 of file print-canon.c. References canon_paper_list, and paper_type_count. Referenced by canon_do_print(), get_default_inktype(), get_media_adjustment(), lexmark_do_print(), setup_misc(), and verify_resolution_by_paper_type(). |
|
||||||||||||||||||||||||||||
|
|
Definition at line 3115 of file print-canon.c. References print_canon_module_data, stp_family::printer_list, and stp_family_unregister(). |
|
|
Definition at line 3108 of file print-canon.c. References print_canon_module_data, stp_family::printer_list, and stp_family_register(). |
|
||||||||||||||||||||||||
|
Definition at line 2299 of file print-canon.c. References get_double_param(), ink_darknesses, stp_channel_set_density_adjustment(), and stp_dither_set_inks_full(). Referenced by canon_do_print(). |
|
||||||||||||||||
|
Definition at line 2273 of file print-canon.c. References stp_zalloc(). Referenced by canon_do_print(). |
|
|
Initial value: Definition at line 260 of file print-canon.c. |
|
|
Initial value:
{
{
1,3,
&ci_CMY_1, &ci_CMY_1, &ci_CMY_1,
&ci_CMY_1, &ci_CMY_1, &ci_CMY_1,
},
{
2,3,
&ci_CMY_2, &ci_CMY_2,
&ci_CMY_2, &ci_CMY_2,
&ci_CMY_2, &ci_CMY_2,
},
}
Definition at line 438 of file print-canon.c. |
|
|
Initial value:
{
{
1,4,
&ci_CMYK_1, &ci_CMYK_1, &ci_CMYK_1,
&ci_CMYK_1, &ci_CMYK_1, &ci_CMYK_1,
},
}
Definition at line 428 of file print-canon.c. |
|
|
Initial value:
{
{
1,4,
&ci_CMYK_1, &ci_CMYK_1, &ci_CMYK_1,
&ci_CMYK_1, &ci_CMYK_1, &ci_CMYK_1,
},
{
2,4,
&ci_CMYK_2, &ci_CMYK_2,
&ci_CMYK_2, &ci_CMYK_2,
&ci_CMYK_2, &ci_CMYK_2,
},
{
1,6,
&ci_CcMmYK_1, &ci_CcMmYK_1, &ci_CcMmYK_1,
&ci_CcMmYK_1, &ci_CcMmYK_1, &ci_CcMmYK_1,
},
{
2,6,
&ci_CcMmYK_2, &ci_CcMmYK_2, &ci_CcMmYK_2,
&ci_CcMmYK_2, &ci_CcMmYK_2, &ci_CcMmYK_2,
},
}
Definition at line 454 of file print-canon.c. |
|
|
Initial value:
{
{
1,4,
&ci_CMYK_1, &ci_CMYK_1, &ci_CMYK_1,
&ci_CMYK_1, &ci_CMYK_1, &ci_CMYK_1,
},
{
3,4,
&ci_CMYK_3, &ci_CMYK_3, &ci_CMYK_3,
&ci_CMYK_3, &ci_CMYK_3, &ci_CMYK_3,
},
{
3,6,
&ci_CcMmYK_3, &ci_CcMmYK_3, &ci_CcMmYK_3,
&ci_CcMmYK_3, &ci_CcMmYK_3, &ci_CcMmYK_3,
},
}
Definition at line 480 of file print-canon.c. |
|
|
Initial value: Definition at line 273 of file print-canon.c. |
|
|
Definition at line 704 of file print-canon.c. Referenced by canon_get_model_capabilities(). |
|
|
Initial value: {
{ "Plain", N_ ("Plain Paper"), 0x00, 0.50, 0.25, 0.500, 0, 0, 0 },
{ "Transparency", N_ ("Transparencies"), 0x02, 1.00, 1.00, 0.900, 0, 0, 0 },
{ "BackPrint", N_ ("Back Print Film"), 0x03, 1.00, 1.00, 0.900, 0, 0, 0 },
{ "Fabric", N_ ("Fabric Sheets"), 0x04, 0.50, 0.25, 0.500, 0, 0, 0 },
{ "Envelope", N_ ("Envelope"), 0x08, 0.50, 0.25, 0.500, 0, 0, 0 },
{ "Coated", N_ ("High Resolution Paper"), 0x07, 0.78, 0.25, 0.500, 0, 0, 0 },
{ "TShirt", N_ ("T-Shirt Transfers"), 0x03, 0.50, 0.25, 0.500, 0, 0, 0 },
{ "GlossyFilm", N_ ("High Gloss Film"), 0x06, 1.00, 1.00, 0.999, 0, 0, 0 },
{ "GlossyPaper", N_ ("Glossy Photo Paper"), 0x05, 1.00, 1.00, 0.999, 0, 0, 0 },
{ "GlossyCard", N_ ("Glossy Photo Cards"), 0x0a, 1.00, 1.00, 0.999, 0, 0, 0 },
{ "GlossyPro", N_ ("Photo Paper Pro"), 0x09, 1.00, 1.00, 0.999, 0, 0, 0 },
{ "Other", N_ ("Other"), 0x00, 0.50, 0.25, .5, 0, 0, 0 },
}
Definition at line 1201 of file print-canon.c. Referenced by canon_parameters(), and get_media_type(). |
|
|
Initial value: {
{ 90, 90, "90x90dpi", N_("90x90 DPI"), "90x90dmt", N_("90x90 DPI DMT") },
{ 180, 180, "180x180dpi", N_("180x180 DPI"), "180x180dmt", N_("180x180 DPI DMT") },
{ 360, 360, "360x360dpi", N_("360x360 DPI"), "360x360dmt", N_("360x360 DPI DMT") },
{ 720, 360, "720x360dpi", N_("720x360 DPI"), "720x360dmt", N_("720x360 DPI DMT") },
{ 720, 720, "720x720dpi", N_("720x720 DPI"), "720x720dmt", N_("720x720 DPI DMT") },
{ 1440, 720, "1440x720dpi", N_("1440x720 DPI"), "1440x720dmt", N_("1440x720 DPI DMT") },
{ 1440, 1440, "1440x1440dpi", N_("1440x1440 DPI"), "1440x1440dmt", N_("1440x1440 DPI DMT") },
{ 2880, 2880, "2880x2880dpi", N_("2880x2880 DPI"), "2880x2880dmt", N_("2880x2880 DPI DMT") },
{ 150, 150, "150x150dpi", N_("150x150 DPI"), "150x150dmt", N_("150x150 DPI DMT") },
{ 300, 300, "300x300dpi", N_("300x300 DPI"), "300x300dmt", N_("300x300 DPI DMT") },
{ 600, 300, "600x300dpi", N_("600x300 DPI"), "600x300dmt", N_("600x300 DPI DMT") },
{ 600, 600, "600x600dpi", N_("600x600 DPI"), "600x600dmt", N_("600x600 DPI DMT") },
{ 1200, 600, "1200x600dpi", N_("1200x600 DPI"), "1200x600dmt", N_("1200x600 DPI DMT") },
{ 1200, 1200, "1200x1200dpi", N_("1200x1200 DPI"), "1200x1200dmt", N_("1200x1200 DPI DMT") },
{ 2400, 2400, "2400x2400dpi", N_("2400x2400 DPI"), "2400x2400dmt", N_("2400x2400 DPI DMT") },
{ 0, 0, NULL, NULL, NULL, NULL }
}
Definition at line 1139 of file print-canon.c. Referenced by canon_describe_resolution(), canon_do_print(), and canon_parameters(). |
|
|
Initial value:
{
}
Definition at line 292 of file print-canon.c. |
|
|
Initial value:
{
}
Definition at line 332 of file print-canon.c. |
|
|
Initial value: Definition at line 303 of file print-canon.c. |
|
|
Initial value: Definition at line 343 of file print-canon.c. |
|
|
Initial value:
{
STP_ECOLOR_K, STP_ECOLOR_C, STP_ECOLOR_M, STP_ECOLOR_Y, STP_ECOLOR_C, STP_ECOLOR_M, STP_ECOLOR_Y
}
Definition at line 83 of file print-canon.c. Referenced by canon_do_print(). |
|
|
Initial value:
{
&canon_Cc_1bit_ink,
&canon_Mm_1bit_ink,
NULL,
NULL
}
Definition at line 380 of file print-canon.c. |
|
|
Initial value:
{
&canon_Xx_2bit_ink,
&canon_Xx_2bit_ink,
&canon_X_2bit_ink,
&canon_X_2bit_ink
}
Definition at line 398 of file print-canon.c. |
|
|
Initial value:
{
&canon_Xx_3bit_ink,
&canon_Xx_3bit_ink,
&canon_X_3bit_ink,
&canon_X_3bit_ink,
}
Definition at line 416 of file print-canon.c. |
|
|
Initial value:
{
NULL,
NULL,
NULL,
NULL
}
Definition at line 353 of file print-canon.c. |
|
|
Initial value:
{
&canon_X_2bit_ink,
&canon_X_2bit_ink,
&canon_X_2bit_ink,
NULL
}
Definition at line 362 of file print-canon.c. |
|
|
Initial value:
{
NULL,
NULL,
NULL,
NULL
}
Definition at line 371 of file print-canon.c. |
|
|
Initial value:
{
&canon_X_2bit_ink,
&canon_X_2bit_ink,
&canon_X_2bit_ink,
&canon_X_2bit_ink
}
Definition at line 389 of file print-canon.c. |
|
|
Initial value:
{
&canon_X_3bit_ink,
&canon_X_3bit_ink,
&canon_X_3bit_ink,
&canon_X_3bit_ink
}
Definition at line 407 of file print-canon.c. |
|
|
Initial value: sizeof(float_parameters) / sizeof(const float_param_t) Definition at line 1337 of file print-canon.c. Referenced by canon_list_parameters(), and canon_parameters(). |
|
|
Definition at line 1276 of file print-canon.c. Referenced by canon_list_parameters(), and canon_parameters(). |
|
|
Initial value:
{
1.0, 0.31 / .5, 0.61 / .97, 0.08
}
Definition at line 93 of file print-canon.c. Referenced by set_ink_ranges(). |
|
|
Initial value:
{
{ "Auto", N_ ("Auto Sheet Feeder") },
{ "Manual", N_ ("Manual with Pause") },
{ "ManualNP", N_ ("Manual without Pause") }
}
Definition at line 1640 of file print-canon.c. Referenced by canon_parameters(). |
|
|
Definition at line 1216 of file print-canon.c. Referenced by get_media_type(). |
|
|
Initial value: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" "<gutenprint>\n" "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n" "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n" "1.20 1.22 1.28 1.34 1.39 1.42 1.45 1.48 " "1.50 1.40 1.30 1.25 1.20 1.10 1.05 1.05 " "1.05 1.05 1.05 1.05 1.05 1.05 1.05 1.05 " "1.05 1.05 1.05 1.10 1.10 1.10 1.10 1.10 " "1.10 1.15 1.30 1.45 1.60 1.75 1.90 2.00 " "2.10 2.00 1.80 1.70 1.60 1.50 1.40 1.30 " "</sequence>\n" "</curve>\n" "</gutenprint>\n" Definition at line 1158 of file print-canon.c. |
|
|
Initial value:
{
&print_canon_printfuncs,
NULL
}
Definition at line 3100 of file print-canon.c. Referenced by print_canon_module_exit(), and print_canon_module_init(). |
|
|
Initial value:
{
canon_list_parameters,
canon_parameters,
stp_default_media_size,
canon_imageable_area,
canon_limit,
canon_print,
canon_describe_resolution,
canon_describe_output,
stp_verify_printer_params,
canon_start_job,
canon_end_job
}
Definition at line 2751 of file print-canon.c. |
|
|
Initial value:
{
{ 0x1, 1.0 }
}
Definition at line 255 of file print-canon.c. |
|
|
Initial value: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" "<gutenprint>\n" "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n" "<sequence count=\"48\" lower-bound=\"-6\" upper-bound=\"6\">\n" "0.00 0.06 0.10 0.10 0.06 -.01 -.09 -.17 " "-.25 -.33 -.38 -.38 -.36 -.34 -.34 -.34 " "-.34 -.34 -.36 -.40 -.50 -.40 -.30 -.20 " "-.12 -.07 -.04 -.02 0.00 0.00 0.00 0.00 " "0.00 0.00 0.00 -.05 -.10 -.15 -.22 -.24 " "-.26 -.30 -.33 -.28 -.25 -.20 -.13 -.06 " "</sequence>\n" "</curve>\n" "</gutenprint>\n" Definition at line 530 of file print-canon.c. |
|
|
Initial value: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" "<gutenprint>\n" "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n" "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n" "0.50 0.52 0.56 0.60 0.66 0.71 0.74 0.77 " "0.81 0.79 0.74 0.68 0.70 0.74 0.77 0.82 " "0.88 0.93 0.95 0.97 0.97 0.96 0.95 0.95 " "0.95 0.96 0.97 0.98 0.99 1.00 1.00 1.00 " "1.00 0.97 0.94 0.92 0.90 0.88 0.85 0.79 " "0.69 0.64 0.58 0.54 0.54 0.54 0.53 0.51 " "</sequence>\n" "</curve>\n" "</gutenprint>\n" Definition at line 515 of file print-canon.c. |
|
|
Initial value: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" "<gutenprint>\n" "<curve wrap=\"wrap\" type=\"linear\" gamma=\"0\">\n" "<sequence count=\"48\" lower-bound=\"0\" upper-bound=\"4\">\n" "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 " "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 " "1.00 0.95 0.90 0.90 0.90 0.90 0.90 0.90 " "0.90 0.95 0.95 1.00 1.00 1.00 1.00 1.00 " "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 " "1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 " "</sequence>\n" "</curve>\n" "</gutenprint>\n" Definition at line 500 of file print-canon.c. |
|
|
Initial value:
{
"canon",
VERSION,
"Canon family driver",
STP_MODULE_CLASS_FAMILY,
NULL,
print_canon_module_init,
print_canon_module_exit,
(void *) &print_canon_module_data
}
Definition at line 3127 of file print-canon.c. |
|
|
Definition at line 3125 of file print-canon.c. |
|
|
Initial value:
{
0, 0, 0, 0, 1, 1, 1
}
Definition at line 88 of file print-canon.c. Referenced by canon_do_print(). |
|
|
Initial value: sizeof(the_parameters) / sizeof(const stp_parameter_t) Definition at line 1264 of file print-canon.c. Referenced by canon_list_parameters(), and canon_parameters(). |
|
|
Definition at line 1218 of file print-canon.c. Referenced by canon_list_parameters(), and canon_parameters(). |
|
|
Initial value:
{
{ 0x1, 0.45 },
{ 0x2, 0.55 },
{ 0x3, 0.66 },
{ 0x4, 0.77 },
{ 0x5, 0.88 },
{ 0x6, 1.0 }
}
Definition at line 322 of file print-canon.c. |
|
|
Initial value:
{
{ 0x1, 0.45 },
{ 0x2, 0.68 },
{ 0x3, 1.0 }
}
Definition at line 285 of file print-canon.c. |
1.4.1