Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals  

src/main/print-canon.c File Reference

#include <gimp-print/gimp-print.h>
#include "gimp-print-internal.h"
#include <gimp-print/gimp-print-intl-internal.h>
#include <string.h>
#include <stdio.h>
#include <stdarg.h>

Go to the source code of this file.

Data Structures

struct  canon_caps
struct  canon_densities
struct  canon_dot_sizes
struct  canon_init_t
struct  canon_privdata_t
struct  canon_res_t
struct  canon_variable_ink
struct  canon_variable_inklist
struct  canon_variable_inkset
struct  float_param_t
struct  paper_t

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_tcanon_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_X_2bit, 1.0)
void canon_write_line (stp_vars_t *v)
const paper_tget_media_type (const char *name)
const canon_cap_tcanon_get_model_capabilities (int model)
int canon_source_type (const char *name, const canon_cap_t *caps)
int canon_printhead_type (const char *name, const canon_cap_t *caps)
colormode_t canon_printhead_colors (const char *name, const canon_cap_t *caps)
unsigned char canon_size_type (const stp_vars_t *v, const canon_cap_t *caps)
int canon_res_code (const canon_cap_t *caps, int xdpi, int ydpi)
int canon_ink_type (const canon_cap_t *caps, int res_code)
const char * canon_lum_adjustment (int model)
const char * canon_hue_adjustment (int model)
const char * canon_sat_adjustment (int model)
double canon_density (const canon_cap_t *caps, int res_code)
const canon_variable_inkset_tcanon_inks (const canon_cap_t *caps, int res_code, int colors, int bits)
void canon_describe_resolution (const stp_vars_t *v, int *x, int *y)
const char * canon_describe_output (const stp_vars_t *v)
stp_parameter_list_t canon_list_parameters (const stp_vars_t *v)
void canon_parameters (const stp_vars_t *v, const char *name, stp_parameter_t *description)
void internal_imageable_area (const stp_vars_t *v, int use_paper_margins, int *left, int *right, int *bottom, int *top)
void canon_imageable_area (const stp_vars_t *v, int *left, int *right, int *bottom, int *top)
void canon_limit (const stp_vars_t *v, int *width, int *height, int *min_width, int *min_height)
void canon_cmd (const stp_vars_t *v, const char *ini, const char cmd, int num,...)
void canon_init_resetPrinter (const stp_vars_t *v, canon_init_t *init)
void canon_init_setPageMode (const stp_vars_t *v, canon_init_t *init)
void canon_init_setDataCompression (const stp_vars_t *v, canon_init_t *init)
void canon_init_setColor (const stp_vars_t *v, canon_init_t *init)
void canon_init_setResolution (const stp_vars_t *v, canon_init_t *init)
void canon_init_setPageMargins (const stp_vars_t *v, canon_init_t *init)
void canon_init_setTray (const stp_vars_t *v, canon_init_t *init)
void canon_init_setPrintMode (const stp_vars_t *v, canon_init_t *init)
void canon_init_setPageMargins2 (const stp_vars_t *v, canon_init_t *init)
void canon_init_setPageID (const stp_vars_t *v, canon_init_t *init)
void canon_init_setX72 (const stp_vars_t *v, canon_init_t *init)
void canon_init_setImage (const stp_vars_t *v, canon_init_t *init)
void canon_init_printer (const stp_vars_t *v, canon_init_t *init)
void canon_deinit_printer (const stp_vars_t *v, canon_init_t *init)
int canon_start_job (const stp_vars_t *v, stp_image_t *image)
int canon_end_job (const stp_vars_t *v, stp_image_t *image)
void canon_advance_buffer (unsigned char *buf, int len, int num)
void setup_column (canon_privdata_t *privdata, int col, int buf_length)
void canon_printfunc (stp_vars_t *v)
double get_double_param (stp_vars_t *v, const char *param)
void set_ink_ranges (stp_vars_t *v, const canon_variable_ink_t *ink, int color, const char *channel_param, const char *subchannel_param)
int canon_do_print (stp_vars_t *v, stp_image_t *image)
int canon_print (const stp_vars_t *v, stp_image_t *image)
void canon_fold_2bit (const unsigned char *line, int single_length, unsigned char *outbuf)
void canon_fold_3bit (const unsigned char *line, int single_length, unsigned char *outbuf)
void canon_shift_buffer (unsigned char *line, int length, int bits)
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)
int print_canon_module_init (void)
int print_canon_module_exit (void)

Variables

const int channel_color_map []
const int subchannel_color_map []
const double ink_darknesses []
const stp_dotsize_t single_dotsize []
const stp_shade_t canon_Cc_1bit_shades []
const stp_shade_t canon_Mm_1bit_shades []
const stp_dotsize_t two_bit_dotsize []
const stp_shade_t canon_X_2bit_shades []
const stp_shade_t canon_Xx_2bit_shades []
const stp_dotsize_t three_bit_dotsize []
const stp_shade_t canon_X_3bit_shades []
const stp_shade_t canon_Xx_3bit_shades []
const canon_variable_inkset_t ci_CMY_1
const canon_variable_inkset_t ci_CMY_2
const canon_variable_inkset_t ci_CMYK_1
const canon_variable_inkset_t ci_CcMmYK_1
const canon_variable_inkset_t ci_CMYK_2
const canon_variable_inkset_t ci_CcMmYK_2
const canon_variable_inkset_t ci_CMYK_3
const canon_variable_inkset_t ci_CcMmYK_3
const canon_variable_inklist_t canon_ink_standard []
const canon_variable_inklist_t canon_ink_oldphoto []
const canon_variable_inklist_t canon_ink_standardphoto []
const canon_variable_inklist_t canon_ink_superphoto []
const char standard_sat_adjustment []
const char standard_lum_adjustment []
const char standard_hue_adjustment []
const canon_cap_t canon_model_capabilities []
const canon_res_t canon_resolutions []
const char plain_paper_lum_adjustment []
const paper_t canon_paper_list []
const int paper_type_count = sizeof(canon_paper_list) / sizeof(paper_t)
const stp_parameter_t the_parameters []
const int the_parameter_count
const float_param_t float_parameters []
const int float_parameter_count
const stp_param_string_t media_sources []
const stp_printfuncs_t print_canon_printfuncs
stp_family_t print_canon_module_data
stp_module_version_t stp_module_version = {0, 0}
stp_module_t stp_module_data


Define Documentation

#define CANON_CAP_a   0x04ul
 

Definition at line 626 of file print-canon.c.

Referenced by canon_deinit_printer(), and canon_init_setPageMode().

#define CANON_CAP_ACKSHORT   0x2000ul
 

Definition at line 637 of file print-canon.c.

Referenced by canon_init_resetPrinter().

#define CANON_CAP_b   0x08ul
 

Definition at line 627 of file print-canon.c.

Referenced by canon_init_setDataCompression().

#define CANON_CAP_c   0x100ul
 

Definition at line 632 of file print-canon.c.

Referenced by canon_init_setColor().

#define CANON_CAP_d   0x40ul
 

Definition at line 630 of file print-canon.c.

Referenced by canon_init_setResolution().

#define CANON_CAP_DMT   0x01ul
 

Definition at line 624 of file print-canon.c.

Referenced by canon_do_print().

#define CANON_CAP_g   0x1000ul
 

Definition at line 636 of file print-canon.c.

Referenced by canon_init_setPageMargins().

#define CANON_CAP_l   0x400ul
 

Definition at line 634 of file print-canon.c.

Referenced by canon_init_setTray().

#define CANON_CAP_m   0x20ul
 

Definition at line 629 of file print-canon.c.

Referenced by canon_init_setPrintMode().

#define CANON_CAP_MSB_FIRST   0x02ul
 

Definition at line 625 of file print-canon.c.

#define CANON_CAP_p   0x200ul
 

Definition at line 633 of file print-canon.c.

Referenced by canon_init_setPageMargins2().

#define CANON_CAP_q   0x10ul
 

Definition at line 628 of file print-canon.c.

Referenced by canon_init_setPageID().

#define CANON_CAP_r   0x800ul
 

Definition at line 635 of file print-canon.c.

Referenced by canon_init_setX72().

#define CANON_CAP_STD0
 

Value:

Definition at line 639 of file print-canon.c.

#define CANON_CAP_STD1
 

Value:

Definition at line 642 of file print-canon.c.

#define CANON_CAP_t   0x80ul
 

Definition at line 631 of file print-canon.c.

Referenced by canon_init_setImage().

#define CANON_INK      A,sizeof(A)/sizeof(canon_variable_inklist_t*)
 

Definition at line 651 of file print-canon.c.

#define CANON_INK_BLACK_MASK   (CANON_INK_K|CANON_INK_CMYK|CANON_INK_CcMmYK)
 

Definition at line 613 of file print-canon.c.

#define CANON_INK_CcMmYK   8
 

Definition at line 610 of file print-canon.c.

Referenced by canon_parameters().

#define CANON_INK_CcMmYyK   16
 

Definition at line 611 of file print-canon.c.

Referenced by canon_do_print(), and canon_parameters().

#define CANON_INK_CMY   2
 

Definition at line 608 of file print-canon.c.

Referenced by canon_parameters(), canon_printhead_colors(), and canon_printhead_type().

#define CANON_INK_CMYK   4
 

Definition at line 609 of file print-canon.c.

Referenced by canon_parameters(), canon_printhead_colors(), and canon_printhead_type().

#define CANON_INK_K   1
 

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().

#define CANON_INK_PHOTO_MASK   (CANON_INK_CcMmYK|CANON_INK_CcMmYyK)
 

Definition at line 615 of file print-canon.c.

#define CANON_MODES      0
 

Definition at line 648 of file print-canon.c.

#define CANON_SLOT_ASF1   1
 

Definition at line 618 of file print-canon.c.

#define CANON_SLOT_ASF2   2
 

Definition at line 619 of file print-canon.c.

#define CANON_SLOT_MAN1   4
 

Definition at line 620 of file print-canon.c.

#define CANON_SLOT_MAN2   8
 

Definition at line 621 of file print-canon.c.

#define CHAR_BIT   8
 

Definition at line 62 of file print-canon.c.

#define COMPBUFWIDTH
 

Value:

Definition at line 77 of file print-canon.c.

Referenced by canon_write().

#define DECLARE_INK name,
density   
 

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.

#define ESC28   "\033\050"
 

Definition at line 1927 of file print-canon.c.

Referenced by canon_deinit_printer(), canon_init_printer(), 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(), and canon_init_setX72().

#define ESC40   "\033\100"
 

Definition at line 1929 of file print-canon.c.

Referenced by canon_end_job().

#define ESC5b   "\033\133"
 

Definition at line 1928 of file print-canon.c.

Referenced by canon_init_resetPrinter().

#define MAX a,
     ((a) > (b) ? (a) : (b))
 

Definition at line 81 of file print-canon.c.

Referenced by internal_imageable_area().

#define MAX_BPP   4
 

Definition at line 76 of file print-canon.c.

#define MAX_CARRIAGE_WIDTH   13
 

Definition at line 69 of file print-canon.c.

#define MAX_OVERSAMPLED   8
 

Definition at line 75 of file print-canon.c.

#define MAX_PHYSICAL_BPI   1440
 

Definition at line 74 of file print-canon.c.

#define MIN a,
     (((a)<(b)) ? (a) : (b))
 

Definition at line 80 of file print-canon.c.

Referenced by olympus_do_print().

#define PUT WHAT,
VAL,
RES   
 

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().

#define SHADE density,
name       { density, sizeof(name)/sizeof(stp_dotsize_t), name }
 

Definition at line 247 of file print-canon.c.

#define stp_module_data   print_canon_LTX_stp_module_data
 

Definition at line 3123 of file print-canon.c.

#define stp_module_version   print_canon_LTX_stp_module_version
 

Definition at line 3122 of file print-canon.c.

#define USE_3BIT_FOLD_TYPE   323
 

Definition at line 98 of file print-canon.c.


Typedef Documentation

typedef struct canon_caps canon_cap_t
 

typedef struct canon_densities canon_densities_t
 

typedef struct canon_dot_sizes canon_dot_size_t
 

typedef struct canon_variable_ink canon_variable_ink_t
 

typedef canon_variable_inklist_t* canon_variable_inklist_p
 

Definition at line 425 of file print-canon.c.

typedef struct canon_variable_inklist canon_variable_inklist_t
 

typedef struct canon_variable_inkset canon_variable_inkset_t
 


Enumeration Type Documentation

enum colormode_t
 

Enumeration values:
COLOR_MONOCHROME 
COLOR_CMY 
COLOR_CMYK 
COLOR_CCMMYK 
COLOR_CCMMYYK 

Definition at line 545 of file print-canon.c.

Referenced by canon_describe_output(), and canon_do_print().


Function Documentation

void canon_advance_buffer unsigned char *    buf,
int    len,
int    num
[static]
 

Definition at line 2265 of file print-canon.c.

Referenced by canon_do_print(), and canon_printfunc().

void canon_cmd const stp_vars_t   v,
const char *    ini,
const char    cmd,
int    num,
...   
[static]
 

Definition at line 1894 of file print-canon.c.

References stp_free(), stp_put16_le(), stp_putc(), stp_zalloc(), and stp_zfwrite().

Referenced by canon_deinit_printer(), canon_end_job(), canon_init_printer(), 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(), and canon_init_setX72().

void canon_deinit_printer const stp_vars_t   v,
canon_init_t   init
[static]
 

Definition at line 2233 of file print-canon.c.

References CANON_CAP_a, canon_cmd(), canon_init_t::caps, ESC28, canon_caps::features, and stp_putc().

Referenced by canon_do_print().

double canon_density const canon_cap_t   caps,
int    res_code
[static]
 

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, canon_caps::model, STP_DBG_CANON, and stp_deprintf().

Referenced by canon_do_print().

const char* canon_describe_output const stp_vars_t   v [static]
 

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, colormode_t, canon_caps::inks, stp_get_model_id(), and stp_get_string_parameter().

void canon_describe_resolution const stp_vars_t   v,
int *    x,
int *    y
[static]
 

Definition at line 1595 of file print-canon.c.

References canon_res_t::name, canon_res_t::name_dmt, stp_get_string_parameter(), canon_res_t::x, and canon_res_t::y.

int canon_do_print stp_vars_t   v,
stp_image_t   image
[static]
 

Definition at line 2316 of file print-canon.c.

References paper_t::base_density, canon_privdata_t::bits, canon_init_t::bits, canon_privdata_t::buf_length, canon_variable_inkset::c, canon_advance_buffer(), CANON_CAP_DMT, canon_deinit_printer(), canon_density(), canon_get_model_capabilities(), canon_hue_adjustment(), canon_init_printer(), CANON_INK_CcMmYyK, CANON_INK_K, canon_inks(), canon_lum_adjustment(), canon_printfunc(), canon_printhead_colors(), canon_printhead_type(), canon_res_code(), canon_sat_adjustment(), canon_write_line(), canon_privdata_t::caps, canon_init_t::caps, channel_color_map, COLOR_CCMMYK, COLOR_CCMMYYK, COLOR_CMY, COLOR_MONOCHROME, canon_init_t::colormode, colormode_t, canon_privdata_t::cols, canon_privdata_t::delay, canon_privdata_t::delay_max, canon_privdata_t::emptylines, canon_caps::features, get_double_param(), get_media_type(), paper_t::hue_adjustment, canon_caps::inks, internal_imageable_area(), canon_variable_inkset::k, paper_t::k_lower_scale, paper_t::k_upper, canon_privdata_t::left, canon_init_t::left, paper_t::lum_adjustment, canon_variable_inkset::m, canon_res_t::name, canon_res_t::name_dmt, canon_privdata_t::out_width, canon_init_t::page_height, canon_init_t::page_width, canon_init_t::print_head, canon_init_t::printing_color, canon_init_t::pt, PUT, paper_t::sat_adjustment, set_ink_ranges(), setup_column(), canon_init_t::source_str, stp_allocate_component_data(), stp_check_curve_parameter(), stp_check_float_parameter(), stp_color_get_row(), stp_color_init(), STP_CURVE_COMPOSE_ADD, STP_CURVE_COMPOSE_MULTIPLY, stp_curve_destroy(), STP_DBG_CANON, stp_default_media_size(), stp_deprintf(), stp_dither(), stp_dither_add_channel(), stp_dither_init(), STP_ECOLOR_C, STP_ECOLOR_K, STP_ECOLOR_M, STP_ECOLOR_Y, stp_eprintf(), stp_free(), stp_get_float_parameter(), stp_get_height(), stp_get_left(), stp_get_model_id(), stp_get_string_parameter(), stp_get_top(), stp_get_width(), stp_image_conclude(), stp_image_height(), stp_image_init(), stp_image_width(), STP_PARAMETER_ACTIVE, STP_PARAMETER_DEFAULTED, stp_scale_float_parameter(), stp_set_curve_parameter(), stp_set_default_float_parameter(), stp_set_float_parameter(), stp_set_float_parameter_active(), stp_set_string_parameter(), stp_verify(), subchannel_color_map, canon_init_t::top, canon_res_t::x, canon_init_t::xdpi, canon_variable_inkset::y, canon_res_t::y, canon_privdata_t::ydpi, and canon_init_t::ydpi.

Referenced by canon_print().

int canon_end_job const stp_vars_t   v,
stp_image_t   image
[static]
 

Definition at line 2251 of file print-canon.c.

References canon_cmd(), and ESC40.

void canon_fold_2bit const unsigned char *    line,
int    single_length,
unsigned char *    outbuf
[static]
 

Definition at line 2771 of file print-canon.c.

Referenced by canon_write().

void canon_fold_3bit const unsigned char *    line,
int    single_length,
unsigned char *    outbuf
[static]
 

Definition at line 2848 of file print-canon.c.

Referenced by canon_write().

const canon_cap_t* canon_get_model_capabilities int    model [static]
 

Definition at line 1355 of file print-canon.c.

References canon_caps::model, 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().

const char* canon_hue_adjustment int    model [static]
 

Definition at line 1523 of file print-canon.c.

References canon_get_model_capabilities(), and canon_caps::hue_adjustment.

Referenced by canon_do_print().

void canon_imageable_area const stp_vars_t   v,
int *    left,
int *    right,
int *    bottom,
int *    top
[static]
 

Definition at line 1866 of file print-canon.c.

References internal_imageable_area().

void canon_init_printer const stp_vars_t   v,
canon_init_t   init
[static]
 

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(), ESC28, canon_init_t::top, and canon_init_t::ydpi.

Referenced by canon_do_print().

void canon_init_resetPrinter const stp_vars_t   v,
canon_init_t   init
[static]
 

Definition at line 1934 of file print-canon.c.

References CANON_CAP_ACKSHORT, canon_cmd(), canon_init_t::caps, ESC5b, canon_caps::features, and stp_puts().

Referenced by canon_init_printer().

void canon_init_setColor const stp_vars_t   v,
canon_init_t   init
[static]
 

Definition at line 1973 of file print-canon.c.

References CANON_CAP_c, canon_cmd(), canon_init_t::caps, ESC28, canon_caps::features, paper_t::media_code, canon_caps::model_id, canon_init_t::printing_color, and canon_init_t::pt.

Referenced by canon_init_printer().

void canon_init_setDataCompression const stp_vars_t   v,
canon_init_t   init
[static]
 

Definition at line 1962 of file print-canon.c.

References CANON_CAP_b, canon_cmd(), canon_init_t::caps, ESC28, and canon_caps::features.

Referenced by canon_init_printer().

void canon_init_setImage const stp_vars_t   v,
canon_init_t   init
[static]
 

Definition at line 2168 of file print-canon.c.

References canon_init_t::bits, CANON_CAP_t, canon_cmd(), canon_init_t::caps, COLOR_CCMMYK, COLOR_CMY, canon_init_t::colormode, ESC28, canon_caps::features, canon_caps::model, canon_init_t::xdpi, and canon_init_t::ydpi.

Referenced by canon_init_printer().

void canon_init_setPageID const stp_vars_t   v,
canon_init_t   init
[static]
 

Definition at line 2146 of file print-canon.c.

References CANON_CAP_q, canon_cmd(), canon_init_t::caps, ESC28, and canon_caps::features.

Referenced by canon_init_printer().

void canon_init_setPageMargins const stp_vars_t   v,
canon_init_t   init
[static]
 

Definition at line 2033 of file print-canon.c.

References CANON_CAP_g, canon_cmd(), canon_init_t::caps, ESC28, canon_caps::features, canon_init_t::page_height, and canon_init_t::page_width.

Referenced by canon_init_printer().

void canon_init_setPageMargins2 const stp_vars_t   v,
canon_init_t   init
[static]
 

Definition at line 2120 of file print-canon.c.

References CANON_CAP_p, canon_cmd(), canon_init_t::caps, ESC28, canon_caps::features, canon_init_t::page_height, and canon_init_t::page_width.

Referenced by canon_init_printer().

void canon_init_setPageMode const stp_vars_t   v,
canon_init_t   init
[static]
 

Definition at line 1950 of file print-canon.c.

References CANON_CAP_a, canon_cmd(), canon_init_t::caps, ESC28, and canon_caps::features.

Referenced by canon_init_printer().

void canon_init_setPrintMode const stp_vars_t   v,
canon_init_t   init
[static]
 

Definition at line 2084 of file print-canon.c.

References CANON_CAP_m, canon_cmd(), canon_size_type(), canon_init_t::caps, ESC28, canon_caps::features, canon_caps::model, canon_init_t::print_head, and canon_init_t::printing_color.

Referenced by canon_init_printer().

void canon_init_setResolution const stp_vars_t   v,
canon_init_t   init
[static]
 

Definition at line 2020 of file print-canon.c.

References CANON_CAP_d, canon_cmd(), canon_init_t::caps, ESC28, canon_caps::features, canon_init_t::xdpi, and canon_init_t::ydpi.

Referenced by canon_init_printer().

void canon_init_setTray const stp_vars_t   v,
canon_init_t   init
[static]
 

Definition at line 2060 of file print-canon.c.

References CANON_CAP_l, canon_cmd(), canon_source_type(), canon_init_t::caps, ESC28, canon_caps::features, paper_t::media_code, canon_caps::model_id, canon_init_t::pt, and canon_init_t::source_str.

Referenced by canon_init_printer().

void canon_init_setX72 const stp_vars_t   v,
canon_init_t   init
[static]
 

Definition at line 2157 of file print-canon.c.

References CANON_CAP_r, canon_cmd(), canon_init_t::caps, ESC28, and canon_caps::features.

Referenced by canon_init_printer().

int canon_ink_type const canon_cap_t   caps,
int    res_code
[static]
 

Definition at line 1497 of file print-canon.c.

References canon_dot_sizes::dot_r11, canon_dot_sizes::dot_r22, canon_dot_sizes::dot_r33, canon_dot_sizes::dot_r43, canon_dot_sizes::dot_r44, canon_dot_sizes::dot_r55, and canon_caps::dot_sizes.

Referenced by canon_parameters().

const canon_variable_inkset_t* canon_inks const canon_cap_t   caps,
int    res_code,
int    colors,
int    bits
[static]
 

Definition at line 1559 of file print-canon.c.

References canon_variable_inklist::bits, canon_variable_inklist::colors, canon_caps::inxs, canon_caps::inxs_cnt, 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().

void canon_limit const stp_vars_t   v,
int *    width,
int *    height,
int *    min_width,
int *    min_height
[static]
 

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().

stp_parameter_list_t canon_list_parameters const stp_vars_t   v [static]
 

Definition at line 1653 of file print-canon.c.

References float_parameter_count, stp_parameter_list_add_param(), stp_parameter_list_create(), stp_parameter_list_t, and the_parameter_count.

const char* canon_lum_adjustment int    model [static]
 

Definition at line 1516 of file print-canon.c.

References canon_get_model_capabilities(), and canon_caps::lum_adjustment.

Referenced by canon_do_print().

void canon_parameters const stp_vars_t   v,
const char *    name,
stp_parameter_t   description
[static]
 

Definition at line 1665 of file print-canon.c.

References _, canon_caps::base_res, stp_parameter_t::bounds, canon_get_model_capabilities(), CANON_INK_CcMmYK, CANON_INK_CcMmYyK, CANON_INK_CMY, CANON_INK_CMYK, CANON_INK_K, canon_ink_type(), stp_parameter_t::deflt, float_param_t::defval, float_parameter_count, stp_papersize_t::height, canon_caps::inks, float_param_t::max, canon_caps::max_height, canon_caps::max_width, float_param_t::min, paper_t::name, stp_param_string_t::name, canon_res_t::name, stp_papersize_t::name, canon_res_t::name_dmt, stp_parameter_t::p_type, STP_DBG_CANON, stp_deprintf(), stp_fill_parameter_settings(), stp_get_model_id(), stp_get_papersize_by_index(), stp_known_papersizes(), STP_PARAMETER_TYPE_INVALID, stp_string_list_add_string(), stp_string_list_count(), stp_string_list_create(), stp_string_list_param(), canon_res_t::text, stp_papersize_t::text, canon_res_t::text_dmt, the_parameter_count, stp_papersize_t::width, canon_res_t::x, and canon_res_t::y.

int canon_print const stp_vars_t   v,
stp_image_t   image
[static]
 

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().

void canon_printfunc stp_vars_t   v [static]
 

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().

colormode_t canon_printhead_colors const char *    name,
const canon_cap_t   caps
[static]
 

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, canon_caps::inks, STP_DBG_CANON, and stp_deprintf().

Referenced by canon_describe_output(), and canon_do_print().

int canon_printhead_type const char *    name,
const canon_cap_t   caps
[static]
 

Definition at line 1384 of file print-canon.c.

References CANON_INK_CMY, CANON_INK_CMYK, CANON_INK_K, canon_caps::inks, STP_DBG_CANON, and stp_deprintf().

Referenced by canon_describe_output(), and canon_do_print().

int canon_res_code const canon_cap_t   caps,
int    xdpi,
int    ydpi
[static]
 

Definition at line 1460 of file print-canon.c.

References canon_caps::base_res.

Referenced by canon_do_print().

const char* canon_sat_adjustment int    model [static]
 

Definition at line 1530 of file print-canon.c.

References canon_get_model_capabilities(), and canon_caps::sat_adjustment.

Referenced by canon_do_print().

void canon_shift_buffer unsigned char *    line,
int    length,
int    bits
[static]
 

Definition at line 2950 of file print-canon.c.

Referenced by canon_write().

unsigned char canon_size_type const stp_vars_t   v,
const canon_cap_t   caps
[static]
 

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().

int canon_source_type const char *    name,
const canon_cap_t   caps
[static]
 

Definition at line 1369 of file print-canon.c.

References STP_DBG_CANON, and stp_deprintf().

Referenced by canon_init_setTray().

int canon_start_job const stp_vars_t   v,
stp_image_t   image
[static]
 

Definition at line 2245 of file print-canon.c.

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]
 

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().

void canon_write_line stp_vars_t   v [static]
 

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().

DECLARE_INK canon_X_2bit   ,
1.    0
 

DECLARE_INK canon_Cc_1bit   ,
0.    75
 

double get_double_param stp_vars_t   v,
const char *    param
[static]
 

Definition at line 2290 of file print-canon.c.

References stp_check_float_parameter(), stp_get_float_parameter(), and STP_PARAMETER_ACTIVE.

const paper_t* get_media_type const char *    name [static]
 

Definition at line 1341 of file print-canon.c.

References paper_type_count.

void internal_imageable_area const stp_vars_t   v,
int    use_paper_margins,
int *    left,
int *    right,
int *    bottom,
int *    top
[static]
 

Definition at line 1826 of file print-canon.c.

References canon_caps::border_bottom, canon_caps::border_left, canon_caps::border_right, canon_caps::border_top, stp_papersize_t::bottom, canon_get_model_capabilities(), stp_papersize_t::left, MAX, stp_papersize_t::right, stp_default_media_size(), stp_get_model_id(), stp_get_papersize_by_name(), stp_get_string_parameter(), and stp_papersize_t::top.

int print_canon_module_exit void    [static]
 

Definition at line 3115 of file print-canon.c.

References stp_family::printer_list, and stp_family_unregister().

int print_canon_module_init void    [static]
 

Definition at line 3108 of file print-canon.c.

References stp_family::printer_list, and stp_family_register().

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]
 

Definition at line 2299 of file print-canon.c.

References get_double_param(), ink_darknesses, canon_variable_ink::numshades, canon_variable_ink::shades, and stp_dither_set_inks_full().

Referenced by canon_do_print().

void setup_column canon_privdata_t   privdata,
int    col,
int    buf_length
[static]
 

Definition at line 2273 of file print-canon.c.

References canon_privdata_t::cols, canon_privdata_t::delay, and stp_zalloc().

Referenced by canon_do_print().


Variable Documentation

const stp_shade_t canon_Cc_1bit_shades[] [static]
 

Initial value:

{
  SHADE(0.25, single_dotsize),
  SHADE(1.0, single_dotsize),
}

Definition at line 260 of file print-canon.c.

const canon_variable_inklist_t canon_ink_oldphoto[] [static]
 

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.

const canon_variable_inklist_t canon_ink_standard[] [static]
 

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.

const canon_variable_inklist_t canon_ink_standardphoto[] [static]
 

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.

const canon_variable_inklist_t canon_ink_superphoto[] [static]
 

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.

const stp_shade_t canon_Mm_1bit_shades[] [static]
 

Initial value:

{
  SHADE(0.26, single_dotsize),
  SHADE(1.0, single_dotsize),
}

Definition at line 273 of file print-canon.c.

const canon_cap_t canon_model_capabilities[] [static]
 

Definition at line 704 of file print-canon.c.

const paper_t canon_paper_list[] [static]
 

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.

const canon_res_t canon_resolutions[] [static]
 

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.

const stp_shade_t canon_X_2bit_shades[] [static]
 

Initial value:

{

}

Definition at line 292 of file print-canon.c.

const stp_shade_t canon_X_3bit_shades[] [static]
 

Initial value:

{

}

Definition at line 332 of file print-canon.c.

const stp_shade_t canon_Xx_2bit_shades[] [static]
 

Initial value:

{
  SHADE(0.33, two_bit_dotsize),
  SHADE(1.0, two_bit_dotsize),
}

Definition at line 303 of file print-canon.c.

const stp_shade_t canon_Xx_3bit_shades[] [static]
 

Initial value:

{
  SHADE(0.33, three_bit_dotsize),
  SHADE(1.0, three_bit_dotsize),
}

Definition at line 343 of file print-canon.c.

const int channel_color_map[] [static]
 

Initial value:

Definition at line 83 of file print-canon.c.

Referenced by canon_do_print().

const canon_variable_inkset_t ci_CcMmYK_1 [static]
 

Initial value:

{
  &canon_Cc_1bit_ink,
  &canon_Mm_1bit_ink,
  NULL,
  NULL
}

Definition at line 380 of file print-canon.c.

const canon_variable_inkset_t ci_CcMmYK_2 [static]
 

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.

const canon_variable_inkset_t ci_CcMmYK_3 [static]
 

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.

const canon_variable_inkset_t ci_CMY_1 [static]
 

Initial value:

{
  NULL,
  NULL,
  NULL,
  NULL
}

Definition at line 353 of file print-canon.c.

const canon_variable_inkset_t ci_CMY_2 [static]
 

Initial value:

{
  &canon_X_2bit_ink,
  &canon_X_2bit_ink,
  &canon_X_2bit_ink,
  NULL
}

Definition at line 362 of file print-canon.c.

const canon_variable_inkset_t ci_CMYK_1 [static]
 

Initial value:

{
  NULL,
  NULL,
  NULL,
  NULL
}

Definition at line 371 of file print-canon.c.

const canon_variable_inkset_t ci_CMYK_2 [static]
 

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.

const canon_variable_inkset_t ci_CMYK_3 [static]
 

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.

const int float_parameter_count [static]
 

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().

const float_param_t float_parameters[] [static]
 

Definition at line 1276 of file print-canon.c.

const double ink_darknesses[] [static]
 

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().

const stp_param_string_t media_sources[] [static]
 

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.

const int paper_type_count = sizeof(canon_paper_list) / sizeof(paper_t) [static]
 

Definition at line 1216 of file print-canon.c.

Referenced by get_media_type().

const char plain_paper_lum_adjustment[] [static]
 

Initial value:

"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<gimp-print>\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"
"</gimp-print>\n"

Definition at line 1158 of file print-canon.c.

stp_family_t print_canon_module_data [static]
 

Initial value:

  {
    &print_canon_printfuncs,
    NULL
  }

Definition at line 3100 of file print-canon.c.

const stp_printfuncs_t print_canon_printfuncs [static]
 

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.

const stp_dotsize_t single_dotsize[] [static]
 

Initial value:

{
  { 0x1, 1.0 }
}

Definition at line 255 of file print-canon.c.

const char standard_hue_adjustment[] [static]
 

Initial value:

"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<gimp-print>\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"
"</gimp-print>\n"

Definition at line 530 of file print-canon.c.

const char standard_lum_adjustment[] [static]
 

Initial value:

"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<gimp-print>\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"
"</gimp-print>\n"

Definition at line 515 of file print-canon.c.

const char standard_sat_adjustment[] [static]
 

Initial value:

"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<gimp-print>\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"
"</gimp-print>\n"

Definition at line 500 of file print-canon.c.

stp_module_t stp_module_data
 

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.

stp_module_version_t stp_module_version = {0, 0}
 

Definition at line 3125 of file print-canon.c.

const int subchannel_color_map[] [static]
 

Initial value:

{
  0, 0, 0, 0, 1, 1, 1
}

Definition at line 88 of file print-canon.c.

Referenced by canon_do_print().

const int the_parameter_count [static]
 

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().

const stp_parameter_t the_parameters[] [static]
 

Definition at line 1218 of file print-canon.c.

const stp_dotsize_t three_bit_dotsize[] [static]
 

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.

const stp_dotsize_t two_bit_dotsize[] [static]
 

Initial value:

{
  { 0x1, 0.45 },
  { 0x2, 0.68 },
  { 0x3, 1.0 }
}

Definition at line 285 of file print-canon.c.


Generated on Wed May 12 20:21:36 2004 for libgimpprint API Reference by doxygen1.2.17