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

src/main/print-olympus.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>

Go to the source code of this file.

Data Structures

struct  float_param_t
struct  ink_list_t
struct  ink_t
struct  laminate_list_t
struct  laminate_t
struct  olymp_pagesize_list_t
struct  olymp_pagesize_t
struct  olymp_printsize_list_t
struct  olymp_printsize_t
struct  olymp_resolution_list_t
struct  olymp_resolution_t
struct  olympus_cap_t
struct  olympus_privdata_t

Defines

#define OLYMPUS_INTERLACE_NONE   0
#define OLYMPUS_INTERLACE_LINE   1
#define OLYMPUS_INTERLACE_PLANE   2
#define OLYMPUS_FEATURE_FULL_WIDTH   0x00000001
#define OLYMPUS_FEATURE_FULL_HEIGHT   0x00000002
#define OLYMPUS_FEATURE_BLOCK_ALIGN   0x00000004
#define OLYMPUS_FEATURE_BORDERLESS   0x00000008
#define OLYMPUS_FEATURE_WHITE_BORDER   0x00000010
#define MIN(a, b)   (((a) < (b)) ? (a) : (b))
#define MAX(a, b)   (((a) > (b)) ? (a) : (b))
#define stp_module_version   print_olympus_LTX_stp_module_version
#define stp_module_data   print_olympus_LTX_stp_module_data

Functions

const olympus_cap_tolympus_get_model_capabilities (int model)
void p300_printer_init_func (stp_vars_t *v)
void p300_plane_end_func (stp_vars_t *v)
void p300_block_init_func (stp_vars_t *v)
void p400_printer_init_func (stp_vars_t *v)
void p400_plane_init_func (stp_vars_t *v)
void p400_plane_end_func (stp_vars_t *v)
void p400_block_init_func (stp_vars_t *v)
void cpx00_printer_init_func (stp_vars_t *v)
void cpx00_plane_init_func (stp_vars_t *v)
void updp10_printer_init_func (stp_vars_t *v)
void updp10_printer_end_func (stp_vars_t *v)
void cx400_printer_init_func (stp_vars_t *v)
void olympus_printsize (const stp_vars_t *v, int *width, int *height)
int olympus_feature (const olympus_cap_t *caps, int feature)
stp_parameter_list_t olympus_list_parameters (const stp_vars_t *v)
void olympus_parameters (const stp_vars_t *v, const char *name, stp_parameter_t *description)
void olympus_imageable_area (const stp_vars_t *v, int *left, int *right, int *bottom, int *top)
void olympus_limit (const stp_vars_t *v, int *width, int *height, int *min_width, int *min_height)
void olympus_describe_resolution (const stp_vars_t *v, int *x, int *y)
const char * olympus_describe_output (const stp_vars_t *v)
int olympus_do_print (stp_vars_t *v, stp_image_t *image)
int olympus_print (const stp_vars_t *v, stp_image_t *image)
int print_olympus_module_init (void)
int print_olympus_module_exit (void)

Variables

const char * zero = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
olympus_privdata_t privdata
const ink_t cmy_inks []
const ink_list_t cmy_ink_list
const ink_t rgb_inks []
const ink_list_t rgb_ink_list
const olymp_resolution_t p300_res []
const olymp_resolution_list_t p300_res_list
const olymp_pagesize_t p300_page []
const olymp_pagesize_list_t p300_page_list
const olymp_printsize_t p300_printsize []
const olymp_printsize_list_t p300_printsize_list
const char p300_adj_cyan []
const char p300_adj_magenta []
const char p300_adj_yellow []
const olymp_resolution_t res_314dpi []
const olymp_resolution_list_t res_314dpi_list
const olymp_pagesize_t p400_page []
const olymp_pagesize_list_t p400_page_list
const olymp_printsize_t p400_printsize []
const olymp_printsize_list_t p400_printsize_list
const char p400_adj_cyan []
const char p400_adj_magenta []
const char p400_adj_yellow []
const olymp_pagesize_t cpx00_page []
const olymp_pagesize_list_t cpx00_page_list
const olymp_printsize_t cpx00_printsize []
const olymp_printsize_list_t cpx00_printsize_list
const char cpx00_adj_cyan []
const char cpx00_adj_magenta []
const char cpx00_adj_yellow []
const olymp_resolution_t updp10_res []
const olymp_resolution_list_t updp10_res_list
const olymp_pagesize_t updp10_page []
const olymp_pagesize_list_t updp10_page_list
const olymp_printsize_t updp10_printsize []
const olymp_printsize_list_t updp10_printsize_list
const laminate_t updp10_laminate []
const laminate_list_t updp10_laminate_list
const olymp_resolution_t cx400_res []
const olymp_resolution_list_t cx400_res_list
const olymp_pagesize_t cx400_page []
const olymp_pagesize_list_t cx400_page_list
const olymp_printsize_t cx400_printsize []
const olymp_printsize_list_t cx400_printsize_list
const olymp_resolution_t all_resolutions []
const olymp_resolution_list_t all_res_list
const olympus_cap_t olympus_model_capabilities []
const stp_parameter_t the_parameters []
int the_parameter_count
const float_param_t float_parameters []
const int float_parameter_count
const stp_printfuncs_t print_olympus_printfuncs
stp_family_t print_olympus_module_data
stp_module_version_t stp_module_version = {0, 0}
stp_module_t stp_module_data


Define Documentation

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

Definition at line 55 of file print-olympus.c.

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

Definition at line 54 of file print-olympus.c.

#define OLYMPUS_FEATURE_BLOCK_ALIGN   0x00000004
 

Definition at line 50 of file print-olympus.c.

Referenced by olympus_do_print().

#define OLYMPUS_FEATURE_BORDERLESS   0x00000008
 

Definition at line 51 of file print-olympus.c.

Referenced by olympus_imageable_area(), and olympus_parameters().

#define OLYMPUS_FEATURE_FULL_HEIGHT   0x00000002
 

Definition at line 49 of file print-olympus.c.

Referenced by olympus_do_print().

#define OLYMPUS_FEATURE_FULL_WIDTH   0x00000001
 

Definition at line 48 of file print-olympus.c.

Referenced by olympus_do_print().

#define OLYMPUS_FEATURE_WHITE_BORDER   0x00000010
 

Definition at line 52 of file print-olympus.c.

Referenced by olympus_do_print().

#define OLYMPUS_INTERLACE_LINE   1
 

Definition at line 45 of file print-olympus.c.

Referenced by olympus_do_print().

#define OLYMPUS_INTERLACE_NONE   0
 

Definition at line 44 of file print-olympus.c.

#define OLYMPUS_INTERLACE_PLANE   2
 

Definition at line 46 of file print-olympus.c.

Referenced by olympus_do_print().

#define stp_module_data   print_olympus_LTX_stp_module_data
 

Definition at line 1599 of file print-olympus.c.

#define stp_module_version   print_olympus_LTX_stp_module_version
 

Definition at line 1598 of file print-olympus.c.


Function Documentation

void cpx00_plane_init_func stp_vars_t   v [static]
 

Definition at line 447 of file print-olympus.c.

References olympus_privdata_t::plane, stp_put16_be(), stp_put16_le(), stp_put32_le(), stp_zfwrite(), olympus_privdata_t::xsize, olympus_privdata_t::ysize, and zero.

void cpx00_printer_init_func stp_vars_t   v [static]
 

Definition at line 440 of file print-olympus.c.

References stp_put16_be(), stp_zfwrite(), and zero.

void cx400_printer_init_func stp_vars_t   v [static]
 

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

References stp_get_string_parameter(), stp_put16_le(), stp_putc(), stp_zfwrite(), olympus_privdata_t::xsize, and olympus_privdata_t::ysize.

const char* olympus_describe_output const stp_vars_t   v [static]
 

Definition at line 1114 of file print-olympus.c.

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

Definition at line 1092 of file print-olympus.c.

References olymp_resolution_list_t::item, olymp_resolution_list_t::n_items, olymp_resolution_t::name, stp_get_string_parameter(), olymp_resolution_t::xdpi, and olymp_resolution_t::ydpi.

int olympus_do_print stp_vars_t   v,
stp_image_t   image
[static]
 

Definition at line 1123 of file print-olympus.c.

References _, olympus_cap_t::adj_cyan, olympus_cap_t::adj_magenta, olympus_cap_t::adj_yellow, olympus_cap_t::block_end_func, olympus_cap_t::block_init_func, olympus_privdata_t::block_max_x, olympus_privdata_t::block_max_y, olympus_privdata_t::block_min_x, olympus_privdata_t::block_min_y, olympus_cap_t::block_size, olympus_cap_t::inks, olympus_cap_t::interlacing, ink_list_t::item, MIN, ink_list_t::n_items, ink_t::name, olympus_feature(), OLYMPUS_FEATURE_BLOCK_ALIGN, OLYMPUS_FEATURE_FULL_HEIGHT, OLYMPUS_FEATURE_FULL_WIDTH, OLYMPUS_FEATURE_WHITE_BORDER, olympus_get_model_capabilities(), olympus_imageable_area(), OLYMPUS_INTERLACE_LINE, OLYMPUS_INTERLACE_PLANE, olympus_printsize(), ink_t::output_channels, ink_t::output_type, olympus_privdata_t::plane, olympus_cap_t::plane_end_func, olympus_cap_t::plane_init_func, olympus_cap_t::planes, olympus_cap_t::printer_end_func, olympus_cap_t::printer_init_func, stp_channel_add(), stp_channel_get_output(), stp_channel_reset(), stp_check_curve_parameter(), stp_color_get_row(), stp_color_init(), stp_curve_create_from_string(), stp_curve_destroy(), STP_DBG_OLYMPUS, stp_default_media_size(), stp_deprintf(), stp_describe_resolution(), stp_eprintf(), stp_free(), stp_get_height(), stp_get_left(), stp_get_model_id(), stp_get_page_height(), stp_get_page_width(), stp_get_string_parameter(), stp_get_top(), stp_get_width(), stp_image_conclude(), stp_image_height(), stp_image_width(), stp_malloc(), STP_PARAMETER_ACTIVE, stp_set_curve_parameter(), stp_set_curve_parameter_active(), stp_set_float_parameter(), stp_set_string_parameter(), stp_verify(), stp_zalloc(), stp_zfwrite(), olympus_privdata_t::xdpi, olympus_privdata_t::xsize, olympus_privdata_t::ydpi, and olympus_privdata_t::ysize.

Referenced by olympus_print().

int olympus_feature const olympus_cap_t   caps,
int    feature
[static]
 

Definition at line 885 of file print-olympus.c.

References olympus_cap_t::features.

Referenced by olympus_do_print(), olympus_imageable_area(), and olympus_parameters().

const olympus_cap_t * olympus_get_model_capabilities int    model [static]
 

Definition at line 843 of file print-olympus.c.

References olympus_cap_t::model, STP_DBG_OLYMPUS, and stp_deprintf().

Referenced by olympus_do_print(), olympus_imageable_area(), olympus_parameters(), olympus_printsize(), and updp10_printer_end_func().

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

Definition at line 1032 of file print-olympus.c.

References olymp_pagesize_t::border_pt_bottom, olymp_pagesize_t::border_pt_left, olymp_pagesize_t::border_pt_right, olymp_pagesize_t::border_pt_top, olymp_pagesize_list_t::item, olymp_pagesize_list_t::n_items, stp_papersize_t::name, olymp_pagesize_t::name, olympus_feature(), OLYMPUS_FEATURE_BORDERLESS, olympus_get_model_capabilities(), olympus_cap_t::pages, stp_default_media_size(), stp_get_boolean_parameter(), stp_get_model_id(), stp_get_papersize_by_name(), and stp_get_string_parameter().

Referenced by olympus_do_print().

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

Definition at line 1081 of file print-olympus.c.

stp_parameter_list_t olympus_list_parameters const stp_vars_t   v [static]
 

Definition at line 891 of file print-olympus.c.

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

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

Definition at line 904 of file print-olympus.c.

References _, stp_parameter_t::bounds, stp_parameter_t::deflt, float_param_t::defval, float_parameter_count, stp_papersize_t::height, olympus_cap_t::inks, stp_parameter_t::is_active, laminate_list_t::item, ink_list_t::item, olymp_resolution_list_t::item, olymp_pagesize_list_t::item, olympus_cap_t::laminate, float_param_t::max, float_param_t::min, laminate_list_t::n_items, ink_list_t::n_items, olymp_resolution_list_t::n_items, olymp_pagesize_list_t::n_items, laminate_t::name, ink_t::name, olymp_resolution_t::name, stp_param_string_t::name, olymp_pagesize_t::name, olympus_feature(), OLYMPUS_FEATURE_BORDERLESS, olympus_get_model_capabilities(), stp_parameter_t::p_type, olympus_cap_t::pages, olympus_cap_t::resolution, stp_fill_parameter_settings(), stp_get_model_id(), stp_get_papersize_by_name(), STP_PARAMETER_TYPE_INVALID, stp_string_list_add_string(), stp_string_list_create(), stp_string_list_param(), laminate_t::text, stp_papersize_t::text, olymp_pagesize_t::text, the_parameter_count, and stp_papersize_t::width.

int olympus_print const stp_vars_t   v,
stp_image_t   image
[static]
 

Definition at line 1548 of file print-olympus.c.

References olympus_do_print(), stp_prune_inactive_options(), stp_vars_create_copy(), and stp_vars_destroy().

void olympus_printsize const stp_vars_t   v,
int *    width,
int *    height
[static]
 

Definition at line 859 of file print-olympus.c.

References olymp_printsize_t::height_px, olymp_printsize_list_t::item, olymp_printsize_list_t::n_items, olympus_get_model_capabilities(), olymp_printsize_t::pagesize_name, olympus_cap_t::printsize, olymp_printsize_t::res_name, stp_erprintf(), stp_get_model_id(), stp_get_string_parameter(), and olymp_printsize_t::width_px.

Referenced by olympus_do_print().

void p300_block_init_func stp_vars_t   v [static]
 

Definition at line 230 of file print-olympus.c.

References olympus_privdata_t::block_max_x, olympus_privdata_t::block_max_y, olympus_privdata_t::block_min_x, olympus_privdata_t::block_min_y, olympus_privdata_t::plane, stp_put16_be(), and stp_zprintf().

void p300_plane_end_func stp_vars_t   v [static]
 

Definition at line 225 of file print-olympus.c.

References olympus_privdata_t::plane, and stp_zprintf().

void p300_printer_init_func stp_vars_t   v [static]
 

Definition at line 217 of file print-olympus.c.

References stp_put16_be(), stp_zfwrite(), olympus_privdata_t::xdpi, and olympus_privdata_t::ydpi.

void p400_block_init_func stp_vars_t   v [static]
 

Definition at line 350 of file print-olympus.c.

References olympus_privdata_t::block_max_x, olympus_privdata_t::block_max_y, olympus_privdata_t::block_min_x, olympus_privdata_t::block_min_y, olympus_privdata_t::plane, stp_get_string_parameter(), stp_put16_be(), stp_zfwrite(), stp_zprintf(), olympus_privdata_t::xsize, olympus_privdata_t::ysize, and zero.

void p400_plane_end_func stp_vars_t   v [static]
 

Definition at line 345 of file print-olympus.c.

References stp_zfwrite(), stp_zprintf(), and zero.

void p400_plane_init_func stp_vars_t   v [static]
 

Definition at line 340 of file print-olympus.c.

References stp_zfwrite(), stp_zprintf(), and zero.

void p400_printer_init_func stp_vars_t   v [static]
 

Definition at line 316 of file print-olympus.c.

References stp_get_string_parameter(), stp_put16_be(), stp_putc(), stp_zfwrite(), stp_zprintf(), olympus_privdata_t::xsize, olympus_privdata_t::ysize, and zero.

int print_olympus_module_exit void    [static]
 

Definition at line 1591 of file print-olympus.c.

References stp_family::printer_list, and stp_family_unregister().

int print_olympus_module_init void    [static]
 

Definition at line 1584 of file print-olympus.c.

References stp_family::printer_list, and stp_family_register().

void updp10_printer_end_func stp_vars_t   v [static]
 

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

References laminate_list_t::item, olympus_cap_t::laminate, laminate_list_t::n_items, laminate_t::name, olympus_get_model_capabilities(), laminate_t::seq, stp_get_model_id(), stp_get_string_parameter(), stp_put16_be(), stp_zfwrite(), olympus_privdata_t::xsize, and olympus_privdata_t::ysize.

void updp10_printer_init_func stp_vars_t   v [static]
 

Definition at line 531 of file print-olympus.c.

References stp_put16_be(), stp_put32_be(), stp_put32_le(), stp_zfwrite(), olympus_privdata_t::xsize, and olympus_privdata_t::ysize.


Variable Documentation

const olymp_resolution_list_t all_res_list [static]
 

Initial value:

{
  all_resolutions, sizeof(all_resolutions)  sizeof(olymp_resolution_t)
}

Definition at line 653 of file print-olympus.c.

const olymp_resolution_t all_resolutions[] [static]
 

Initial value:

{
  { "306x306", 306, 306},
  { "153x153", 153, 153},
  { "314x314", 314, 314},
  { "300x300", 300, 300},
  { "317x316", 317, 316},
}

Definition at line 644 of file print-olympus.c.

const ink_list_t cmy_ink_list [static]
 

Initial value:

{
  cmy_inks, sizeof(cmy_inks)  sizeof(ink_t)
}

Definition at line 165 of file print-olympus.c.

const ink_t cmy_inks[] [static]
 

Initial value:

{
  { "CMY", 3, "CMY" },
}

Definition at line 160 of file print-olympus.c.

const char cpx00_adj_cyan[] [static]
 

Initial value:

  "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
  "<gimp-print>\n"
  "<curve wrap=\"nowrap\" type=\"spline\" gamma=\"0\">\n"
  "<sequence count=\"32\" lower-bound=\"0\" upper-bound=\"1\">\n"
  "0.000000 0.035294 0.070588 0.101961 0.117647 0.168627 0.180392 0.227451\n"
  "0.258824 0.286275 0.317647 0.341176 0.376471 0.411765 0.427451 0.478431\n"
  "0.505882 0.541176 0.576471 0.611765 0.654902 0.678431 0.705882 0.737255\n"
  "0.764706 0.792157 0.811765 0.839216 0.862745 0.894118 0.909804 0.925490\n"
  "</sequence>\n"
  "</curve>\n"
  "</gimp-print>\n"

Definition at line 455 of file print-olympus.c.

const char cpx00_adj_magenta[] [static]
 

Initial value:

  "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
  "<gimp-print>\n"
  "<curve wrap=\"nowrap\" type=\"spline\" gamma=\"0\">\n"
  "<sequence count=\"32\" lower-bound=\"0\" upper-bound=\"1\">\n"
  "0.011765 0.019608 0.035294 0.047059 0.054902 0.101961 0.133333 0.156863\n"
  "0.192157 0.235294 0.274510 0.321569 0.360784 0.403922 0.443137 0.482353\n"
  "0.521569 0.549020 0.584314 0.619608 0.658824 0.705882 0.749020 0.792157\n"
  "0.831373 0.890196 0.933333 0.964706 0.988235 0.992157 0.992157 0.996078\n"
  "</sequence>\n"
  "</curve>\n"
  "</gimp-print>\n"

Definition at line 468 of file print-olympus.c.

const char cpx00_adj_yellow[] [static]
 

Initial value:

  "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
  "<gimp-print>\n"
  "<curve wrap=\"nowrap\" type=\"spline\" gamma=\"0\">\n"
  "<sequence count=\"32\" lower-bound=\"0\" upper-bound=\"1\">\n"
  "0.003922 0.015686 0.015686 0.023529 0.027451 0.054902 0.094118 0.129412\n"
  "0.180392 0.219608 0.250980 0.286275 0.317647 0.341176 0.388235 0.427451\n"
  "0.470588 0.509804 0.552941 0.596078 0.627451 0.682353 0.768627 0.796078\n"
  "0.890196 0.921569 0.949020 0.968627 0.984314 0.992157 0.992157 1.000000\n"
  "</sequence>\n"
  "</curve>\n"
  "</gimp-print>\n"

Definition at line 481 of file print-olympus.c.

const olymp_pagesize_t cpx00_page[] [static]
 

Initial value:

{
  { "Postcard", "Postcard 148x100mm", -1, -1, 13, 13, 16, 18},
  { "w253h337", "CP_L 89x119mm", -1, -1, 13, 13, 15, 15},
  { "w155h244", "Card 54x86mm", -1, -1, 13, 13, 15, 15},
  { "Custom", NULL, -1, -1, 13, 13, 16, 18},
}

Definition at line 414 of file print-olympus.c.

const olymp_pagesize_list_t cpx00_page_list [static]
 

Initial value:

{
  cpx00_page, sizeof(cpx00_page)  sizeof(olymp_pagesize_t)
}

Definition at line 422 of file print-olympus.c.

const olymp_printsize_t cpx00_printsize[] [static]
 

Initial value:

{
  { "314x314", "Postcard", 1232, 1808},
  { "314x314", "w253h337", 1100, 1456},
  { "314x314", "w155h244", 672, 1040},
  { "314x314", "Custom", 1232, 1808},
}

Definition at line 427 of file print-olympus.c.

const olymp_printsize_list_t cpx00_printsize_list [static]
 

Initial value:

{
  cpx00_printsize, sizeof(cpx00_printsize)  sizeof(olymp_printsize_t)
}

Definition at line 435 of file print-olympus.c.

const olymp_pagesize_t cx400_page[] [static]
 

Initial value:

{
  { "w288h387", "4x5 3/8 (Digital Camera 3:4)", -1, -1, 23, 23, 27, 26},
  { "w288h432", NULL, -1, -1, 23, 23, 28, 28},
  { "w288h504", NULL, -1, -1, 23, 23, 23, 22},
  { "Custom", NULL, -1, -1, 0, 0, 0, 0},
}

Definition at line 598 of file print-olympus.c.

const olymp_pagesize_list_t cx400_page_list [static]
 

Initial value:

{
  cx400_page, sizeof(cx400_page)  sizeof(olymp_pagesize_t)
}

Definition at line 606 of file print-olympus.c.

const olymp_printsize_t cx400_printsize[] [static]
 

Initial value:

{
  { "317x316", "w288h387", 1268, 1658},
  { "317x316", "w288h432", 1268, 1842},
  { "317x316", "w288h504", 1268, 2208},
  { "317x316", "Custom", 1268, 1842},
}

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

const olymp_printsize_list_t cx400_printsize_list [static]
 

Initial value:

{
  cx400_printsize, sizeof(cx400_printsize)  sizeof(olymp_printsize_t)
}

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

const olymp_resolution_t cx400_res[] [static]
 

Initial value:

{
  { "317x316", 317, 316},
}

Definition at line 588 of file print-olympus.c.

const olymp_resolution_list_t cx400_res_list [static]
 

Initial value:

{
  cx400_res, sizeof(cx400_res)  sizeof(olymp_resolution_t)
}

Definition at line 593 of file print-olympus.c.

const int float_parameter_count [static]
 

Initial value:

sizeof(float_parameters) / sizeof(const float_param_t)

Definition at line 840 of file print-olympus.c.

Referenced by olympus_list_parameters(), and olympus_parameters().

const float_param_t float_parameters[] [static]
 

Definition at line 804 of file print-olympus.c.

const olympus_cap_t olympus_model_capabilities[] [static]
 

Definition at line 658 of file print-olympus.c.

const char p300_adj_cyan[] [static]
 

Initial value:

  "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
  "<gimp-print>\n"
  "<curve wrap=\"nowrap\" type=\"spline\" gamma=\"0\">\n"
  "<sequence count=\"32\" lower-bound=\"0\" upper-bound=\"1\">\n"
  "0.078431 0.211765 0.250980 0.282353 0.309804 0.333333 0.352941 0.368627\n"
  "0.388235 0.403922 0.427451 0.443137 0.458824 0.478431 0.498039 0.513725\n"
  "0.529412 0.545098 0.556863 0.576471 0.592157 0.611765 0.627451 0.647059\n"
  "0.666667 0.682353 0.701961 0.713725 0.725490 0.729412 0.733333 0.737255\n"
  "</sequence>\n"
  "</curve>\n"
  "</gimp-print>\n"

Definition at line 239 of file print-olympus.c.

const char p300_adj_magenta[] [static]
 

Initial value:

  "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
  "<gimp-print>\n"
  "<curve wrap=\"nowrap\" type=\"spline\" gamma=\"0\">\n"
  "<sequence count=\"32\" lower-bound=\"0\" upper-bound=\"1\">\n"
  "0.047059 0.211765 0.250980 0.278431 0.305882 0.333333 0.349020 0.364706\n"
  "0.380392 0.396078 0.415686 0.435294 0.450980 0.466667 0.482353 0.498039\n"
  "0.513725 0.525490 0.541176 0.556863 0.572549 0.592157 0.611765 0.631373\n"
  "0.650980 0.670588 0.694118 0.705882 0.721569 0.741176 0.745098 0.756863\n"
  "</sequence>\n"
  "</curve>\n"
  "</gimp-print>\n"

Definition at line 252 of file print-olympus.c.

const char p300_adj_yellow[] [static]
 

Initial value:

  "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
  "<gimp-print>\n"
  "<curve wrap=\"nowrap\" type=\"spline\" gamma=\"0\">\n"
  "<sequence count=\"32\" lower-bound=\"0\" upper-bound=\"1\">\n"
  "0.047059 0.117647 0.203922 0.250980 0.274510 0.301961 0.321569 0.337255\n"
  "0.352941 0.364706 0.380392 0.396078 0.407843 0.423529 0.439216 0.450980\n"
  "0.466667 0.482353 0.498039 0.513725 0.533333 0.552941 0.572549 0.596078\n"
  "0.615686 0.635294 0.650980 0.666667 0.682353 0.690196 0.701961 0.713725\n"
  "</sequence>\n"
  "</curve>\n"
  "</gimp-print>\n"

Definition at line 265 of file print-olympus.c.

const olymp_pagesize_t p300_page[] [static]
 

Initial value:

{
  { "Custom", NULL, -1, -1, 28, 28, 48, 48},
  { "A6", NULL, -1, -1, 28, 28, 48, 48},
}

Definition at line 193 of file print-olympus.c.

const olymp_pagesize_list_t p300_page_list [static]
 

Initial value:

{
  p300_page, sizeof(p300_page)  sizeof(olymp_pagesize_t)
}

Definition at line 199 of file print-olympus.c.

const olymp_printsize_t p300_printsize[] [static]
 

Initial value:

{
  { "306x306", "Custom", 1024, 1376},
  { "153x153", "Custom", 1024, 1376},
  { "306x306", "A6", 1024, 1376},
  { "153x153", "A6",  512,  688},
}

Definition at line 204 of file print-olympus.c.

const olymp_printsize_list_t p300_printsize_list [static]
 

Initial value:

{
  p300_printsize, sizeof(p300_printsize)  sizeof(olymp_printsize_t)
}

Definition at line 212 of file print-olympus.c.

const olymp_resolution_t p300_res[] [static]
 

Initial value:

{
  { "306x306", 306, 306},
  { "153x153", 153, 153},
}

Definition at line 182 of file print-olympus.c.

const olymp_resolution_list_t p300_res_list [static]
 

Initial value:

{
  p300_res, sizeof(p300_res)  sizeof(olymp_resolution_t)
}

Definition at line 188 of file print-olympus.c.

const char p400_adj_cyan[] [static]
 

Initial value:

  "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
  "<gimp-print>\n"
  "<curve wrap=\"nowrap\" type=\"spline\" gamma=\"0\">\n"
  "<sequence count=\"32\" lower-bound=\"0\" upper-bound=\"1\">\n"
  "0.003922 0.031373 0.058824 0.090196 0.125490 0.156863 0.184314 0.219608\n"
  "0.250980 0.278431 0.309804 0.341176 0.376471 0.403922 0.439216 0.470588\n"
  "0.498039 0.517647 0.533333 0.545098 0.564706 0.576471 0.596078 0.615686\n"
  "0.627451 0.647059 0.658824 0.678431 0.690196 0.705882 0.721569 0.737255\n"
  "</sequence>\n"
  "</curve>\n"
  "</gimp-print>\n"

Definition at line 373 of file print-olympus.c.

const char p400_adj_magenta[] [static]
 

Initial value:

  "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
  "<gimp-print>\n"
  "<curve wrap=\"nowrap\" type=\"spline\" gamma=\"0\">\n"
  "<sequence count=\"32\" lower-bound=\"0\" upper-bound=\"1\">\n"
  "0.003922 0.031373 0.062745 0.098039 0.125490 0.156863 0.188235 0.215686\n"
  "0.250980 0.282353 0.309804 0.345098 0.376471 0.407843 0.439216 0.470588\n"
  "0.501961 0.521569 0.549020 0.572549 0.592157 0.619608 0.643137 0.662745\n"
  "0.682353 0.713725 0.737255 0.756863 0.784314 0.807843 0.827451 0.850980\n"
  "</sequence>\n"
  "</curve>\n"
  "</gimp-print>\n"

Definition at line 386 of file print-olympus.c.

const char p400_adj_yellow[] [static]
 

Initial value:

  "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
  "<gimp-print>\n"
  "<curve wrap=\"nowrap\" type=\"spline\" gamma=\"0\">\n"
  "<sequence count=\"32\" lower-bound=\"0\" upper-bound=\"1\">\n"
  "0.003922 0.027451 0.054902 0.090196 0.121569 0.156863 0.184314 0.215686\n"
  "0.250980 0.282353 0.309804 0.345098 0.372549 0.400000 0.435294 0.466667\n"
  "0.498039 0.525490 0.552941 0.580392 0.607843 0.631373 0.658824 0.678431\n"
  "0.698039 0.725490 0.760784 0.784314 0.811765 0.839216 0.866667 0.890196\n"
  "</sequence>\n"
  "</curve>\n"
  "</gimp-print>\n"

Definition at line 399 of file print-olympus.c.

const olymp_pagesize_t p400_page[] [static]
 

Initial value:

{
  { "A4", NULL, -1, -1, 22, 22, 54, 54},
  { "c8x10", "A5 wide", -1, -1, 58, 59, 84, 85},
  { "C6", "2 Postcards (A4)", -1, -1, 9, 9, 9, 9},
  { "Custom", NULL, -1, -1, 22, 22, 54, 54},
}

Definition at line 290 of file print-olympus.c.

const olymp_pagesize_list_t p400_page_list [static]
 

Initial value:

{
  p400_page, sizeof(p400_page)  sizeof(olymp_pagesize_t)
}

Definition at line 298 of file print-olympus.c.

const olymp_printsize_t p400_printsize[] [static]
 

Initial value:

{
  { "314x314", "A4", 2400, 3200},
  { "314x314", "c8x10", 2000, 2400},
  { "314x314", "C6", 1328, 1920},
  { "314x314", "Custom", 2400, 3200},
}

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

const olymp_printsize_list_t p400_printsize_list [static]
 

Initial value:

{
  p400_printsize, sizeof(p400_printsize)  sizeof(olymp_printsize_t)
}

Definition at line 311 of file print-olympus.c.

stp_family_t print_olympus_module_data [static]
 

Initial value:

  {
    &print_olympus_printfuncs,
    NULL
  }

Definition at line 1576 of file print-olympus.c.

const stp_printfuncs_t print_olympus_printfuncs [static]
 

Initial value:

{
  olympus_list_parameters,
  olympus_parameters,
  stp_default_media_size,
  olympus_imageable_area,
  olympus_limit,
  olympus_print,
  olympus_describe_resolution,
  olympus_describe_output,
  stp_verify_printer_params,
  NULL,
  NULL
}

Definition at line 1558 of file print-olympus.c.

olympus_privdata_t privdata [static]
 

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

const olymp_resolution_t res_314dpi[] [static]
 

Initial value:

{
  { "314x314", 314, 314},
}

Definition at line 280 of file print-olympus.c.

const olymp_resolution_list_t res_314dpi_list [static]
 

Initial value:

{
  res_314dpi, sizeof(res_314dpi)  sizeof(olymp_resolution_t)
}

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

const ink_list_t rgb_ink_list [static]
 

Initial value:

{
  rgb_inks, sizeof(rgb_inks)  sizeof(ink_t)
}

Definition at line 175 of file print-olympus.c.

const ink_t rgb_inks[] [static]
 

Initial value:

{
  { "RGB", 3, "RGB" },
}

Definition at line 170 of file print-olympus.c.

stp_module_t stp_module_data
 

Initial value:

  {
    "olympus",
    VERSION,
    "Olympus family driver",
    STP_MODULE_CLASS_FAMILY,
    NULL,
    print_olympus_module_init,
    print_olympus_module_exit,
    (void *) &print_olympus_module_data
  }

Definition at line 1603 of file print-olympus.c.

stp_module_version_t stp_module_version = {0, 0}
 

Definition at line 1601 of file print-olympus.c.

int the_parameter_count [static]
 

Initial value:

sizeof(the_parameters) / sizeof(const stp_parameter_t)

Definition at line 792 of file print-olympus.c.

Referenced by olympus_list_parameters(), and olympus_parameters().

const stp_parameter_t the_parameters[] [static]
 

Definition at line 740 of file print-olympus.c.

const laminate_t updp10_laminate[] [static]
 

Initial value:

{
  {"Glossy",  N_("Glossy"),  {1, "\x00"}},
  {"Texture", N_("Texture"), {1, "\x08"}},
  {"Matte",   N_("Matte"),   {1, "\x0c"}},
}

Definition at line 574 of file print-olympus.c.

const laminate_list_t updp10_laminate_list [static]
 

Initial value:

{
  updp10_laminate, sizeof(updp10_laminate)  sizeof(laminate_t)
}

Definition at line 581 of file print-olympus.c.

const olymp_pagesize_t updp10_page[] [static]
 

Initial value:

{
  { "w288h432", "UPC-10P23 (2:3)", -1, -1, 12, 12, 18, 18},
  { "w288h387", "UPC-10P34 (3:4)", -1, -1, 12, 12, 16, 16},
  { "w288h432", "UPC-10S01 (Sticker)", -1, -1, 12, 12, 18, 18},
  { "Custom", NULL, -1, -1, 12, 12, 0, 0},
}

Definition at line 506 of file print-olympus.c.

const olymp_pagesize_list_t updp10_page_list [static]
 

Initial value:

{
  updp10_page, sizeof(updp10_page)  sizeof(olymp_pagesize_t)
}

Definition at line 514 of file print-olympus.c.

const olymp_printsize_t updp10_printsize[] [static]
 

Initial value:

{
  { "300x300", "w288h432", 1200, 1800},
  { "300x300", "w288h387", 1200, 1600},
  { "300x300", "Custom", 1200, 1800},
}

Definition at line 519 of file print-olympus.c.

const olymp_printsize_list_t updp10_printsize_list [static]
 

Initial value:

{
  updp10_printsize, sizeof(updp10_printsize)  sizeof(olymp_printsize_t)
}

Definition at line 526 of file print-olympus.c.

const olymp_resolution_t updp10_res[] [static]
 

Initial value:

{
  { "300x300", 300, 300},
}

Definition at line 496 of file print-olympus.c.

const olymp_resolution_list_t updp10_res_list [static]
 

Initial value:

{
  updp10_res, sizeof(updp10_res)  sizeof(olymp_resolution_t)
}

Definition at line 501 of file print-olympus.c.

const char* zero = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0" [static]
 

Definition at line 57 of file print-olympus.c.

Referenced by cpx00_plane_init_func(), cpx00_printer_init_func(), p400_block_init_func(), p400_plane_end_func(), p400_plane_init_func(), and p400_printer_init_func().


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