Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

src/main/escp2-papers.c File Reference

#include <gimp-print/gimp-print.h>
#include "gimp-print-internal.h"
#include <gimp-print/gimp-print-intl-internal.h>
#include "print-escp2.h"

Go to the source code of this file.

Defines

#define DECLARE_PAPERS(name)
#define DECLARE_PAPER_ADJUSTMENTS(name)

Functions

 DECLARE_PAPER_ADJUSTMENTS (standard)
 DECLARE_PAPER_ADJUSTMENTS (photo)
 DECLARE_PAPER_ADJUSTMENTS (sp960)
 DECLARE_PAPER_ADJUSTMENTS (ultrachrome_photo)
 DECLARE_PAPER_ADJUSTMENTS (ultrachrome_matte)
 DECLARE_PAPER_ADJUSTMENTS (durabrite)
 DECLARE_PAPERS (standard)
 DECLARE_PAPERS (durabrite)
 DECLARE_PAPERS (ultrachrome)

Variables

const char standard_sat_adj []
const char standard_lum_adj []
const char standard_hue_adj []
const char photo2_sat_adj []
const char photo2_lum_adj []
const char photo2_hue_adj []
const char sp960_sat_adj []
const char sp960_lum_adj []
const char sp960_hue_adj []
const char sp960_matte_sat_adj []
const char sp960_matte_lum_adj []
const char sp960_matte_hue_adj []
const char ultra_matte_sat_adj []
const char ultra_matte_lum_adj []
const char ultra_matte_hue_adj []
const char ultra_glossy_sat_adj []
const char ultra_glossy_lum_adj []
const char ultra_glossy_hue_adj []
const paper_adjustment_t standard_adjustments []
const paper_adjustment_t photo_adjustments []
const paper_adjustment_t photo2_adjustments []
const paper_adjustment_t photo3_adjustments []
const paper_adjustment_t sp960_adjustments []
const paper_adjustment_t ultrachrome_photo_adjustments []
const paper_adjustment_t ultrachrome_matte_adjustments []
const paper_adjustment_t durabrite_adjustments []
const paper_t standard_papers []
const paper_t durabrite_papers []
const paper_t ultrachrome_papers []


Define Documentation

#define DECLARE_PAPER_ADJUSTMENTS name   ) 
 

Value:

const paper_adjustment_list_t stpi_escp2_##name##_paper_adjustment_list = \
{                                                                         \
  #name,                                                                  \
  sizeof(name##_adjustments) / sizeof(paper_adjustment_t),                \
  name##_adjustments                                                      \
}

Definition at line 313 of file escp2-papers.c.

#define DECLARE_PAPERS name   ) 
 

Value:

const paperlist_t stpi_escp2_##name##_paper_list =      \
{                                                       \
  #name,                                                \
  sizeof(name##_papers) / sizeof(paper_t),              \
  name##_papers                                         \
}

Definition at line 305 of file escp2-papers.c.


Function Documentation

DECLARE_PAPER_ADJUSTMENTS durabrite   ) 
 

DECLARE_PAPER_ADJUSTMENTS ultrachrome_matte   ) 
 

DECLARE_PAPER_ADJUSTMENTS ultrachrome_photo   ) 
 

DECLARE_PAPER_ADJUSTMENTS sp960   ) 
 

DECLARE_PAPER_ADJUSTMENTS photo   ) 
 

DECLARE_PAPER_ADJUSTMENTS standard   ) 
 

DECLARE_PAPERS ultrachrome   ) 
 

DECLARE_PAPERS durabrite   ) 
 

DECLARE_PAPERS standard   ) 
 


Variable Documentation

const paper_adjustment_t durabrite_adjustments[] [static]
 

Definition at line 635 of file escp2-papers.c.

const paper_t durabrite_papers[] [static]
 

Definition at line 723 of file escp2-papers.c.

const paper_adjustment_t photo2_adjustments[] [static]
 

Definition at line 409 of file escp2-papers.c.

const char photo2_hue_adj[] [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.00 0.00 -.02 -.06 -.12 -.18 -.24 "  
  "-.30 -.28 -.28 -.26 -.24 -.22 -.20 -.20 "  
  "-.22 -.28 -.34 -.40 -.50 -.45 -.40 -.30 "  
  "-.12 -.07 -.04 -.02 0.00 0.00 0.00 0.00 "  
  "0.00 -.00 -.06 -.12 -.18 -.26 -.34 -.42 "  
  "-.50 -.44 -.38 -.31 -.25 -.20 -.13 -.06 "  
"</sequence>\n"
"</curve>\n"
"</gimp-print>\n"

Definition at line 108 of file escp2-papers.c.

const char photo2_lum_adj[] [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.39 0.42 0.47 0.54 0.61 0.67 0.73 0.77 "  
  "0.77 0.74 0.67 0.67 0.68 0.71 0.74 0.77 "  
  "0.81 0.86 0.92 0.97 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.99 0.98 0.96 0.94 0.90 "  
  "0.85 0.65 0.50 0.41 0.41 0.40 0.39 0.39 "  
"</sequence>\n"
"</curve>\n"
"</gimp-print>\n"

Definition at line 93 of file escp2-papers.c.

const char photo2_sat_adj[] [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 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 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 78 of file escp2-papers.c.

const paper_adjustment_t photo3_adjustments[] [static]
 

Definition at line 453 of file escp2-papers.c.

const paper_adjustment_t photo_adjustments[] [static]
 

Definition at line 365 of file escp2-papers.c.

const paper_adjustment_t sp960_adjustments[] [static]
 

Definition at line 497 of file escp2-papers.c.

const char sp960_hue_adj[] [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 -.28 -.28 -.26 -.24 -.22 -.20 -.20 "  
  "-.22 -.28 -.34 -.40 -.50 -.45 -.40 -.30 "  
  "-.22 -.13 -.04 -.02 0.00 0.00 0.00 0.00 "  
  "0.00 -.00 -.06 -.14 -.22 -.30 -.38 -.44 "  
  "-.50 -.44 -.38 -.31 -.25 -.20 -.13 -.06 "  
"</sequence>\n"
"</curve>\n"
"</gimp-print>\n"

Definition at line 154 of file escp2-papers.c.

const char sp960_lum_adj[] [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.42 0.44 0.50 0.55 0.62 0.68 0.73 0.76 "  
  "0.78 0.72 0.65 0.65 0.67 0.70 0.75 0.80 "  
  "0.90 0.93 0.96 0.98 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.99 0.98 0.97 0.95 0.92 0.90 0.84 "  
  "0.78 0.61 0.50 0.42 0.43 0.43 0.42 0.42 "  
"</sequence>\n"
"</curve>\n"
"</gimp-print>\n"

Definition at line 139 of file escp2-papers.c.

const char sp960_matte_hue_adj[] [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 -.02 -.04 -.06 -.12 -.18 -.25 -.30 "  
  "-.30 -.28 -.28 -.26 -.24 -.22 -.20 -.20 "  
  "-.22 -.28 -.34 -.40 -.50 -.45 -.40 -.30 "  
  "-.22 -.13 -.04 -.02 0.00 0.00 0.00 0.00 "  
  "0.00 -.00 -.06 -.14 -.22 -.30 -.38 -.44 "  
  "-.50 -.44 -.38 -.31 -.25 -.20 -.13 -.06 "  
"</sequence>\n"
"</curve>\n"
"</gimp-print>\n"

Definition at line 199 of file escp2-papers.c.

const char sp960_matte_lum_adj[] [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.42 0.48 0.56 0.63 0.71 0.78 0.83 0.86 "  
  "0.86 0.75 0.67 0.67 0.67 0.70 0.75 0.80 "  
  "0.90 0.93 0.96 0.98 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.99 0.98 0.97 0.95 0.92 0.90 0.84 "  
  "0.78 0.61 0.50 0.42 0.43 0.43 0.42 0.42 "  
"</sequence>\n"
"</curve>\n"
"</gimp-print>\n"

Definition at line 184 of file escp2-papers.c.

const char sp960_matte_sat_adj[] [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 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 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 169 of file escp2-papers.c.

const char sp960_sat_adj[] [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 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 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 124 of file escp2-papers.c.

const paper_adjustment_t standard_adjustments[] [static]
 

Definition at line 321 of file escp2-papers.c.

const char standard_hue_adj[] [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.00 0.00 -.02 -.06 -.12 -.18 -.24 "  
  "-.30 -.28 -.28 -.26 -.24 -.22 -.20 -.20 "  
  "-.22 -.28 -.34 -.40 -.50 -.45 -.40 -.30 "  
  "-.12 -.07 -.04 -.02 0.00 0.00 0.00 0.00 "  
  "0.00 -.00 -.06 -.12 -.18 -.26 -.34 -.42 "  
  "-.50 -.44 -.38 -.31 -.25 -.20 -.13 -.06 "  
"</sequence>\n"
"</curve>\n"
"</gimp-print>\n"

Definition at line 62 of file escp2-papers.c.

const char standard_lum_adj[] [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.39 0.42 0.47 0.54 0.61 0.67 0.73 0.77 "  
  "0.77 0.74 0.67 0.67 0.68 0.71 0.74 0.77 "  
  "0.81 0.86 0.92 0.97 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.99 0.98 0.96 0.94 0.90 "  
  "0.85 0.65 0.50 0.41 0.41 0.40 0.39 0.39 "  
"</sequence>\n"
"</curve>\n"
"</gimp-print>\n"

Definition at line 47 of file escp2-papers.c.

const paper_t standard_papers[] [static]
 

Definition at line 679 of file escp2-papers.c.

const char standard_sat_adj[] [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 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 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 32 of file escp2-papers.c.

const char ultra_glossy_hue_adj[] [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 -.28 -.28 -.26 -.24 -.22 -.20 -.20 "  
  "-.22 -.28 -.34 -.40 -.50 -.40 -.30 -.20 "  
  "-.12 -.07 -.04 -.02 0.00 0.00 0.00 0.00 "  
  "0.00 -.00 -.06 -.14 -.22 -.30 -.38 -.44 "  
  "-.50 -.44 -.38 -.31 -.25 -.20 -.13 -.06 "  
"</sequence>\n"
"</curve>\n"
"</gimp-print>\n"

Definition at line 290 of file escp2-papers.c.

const char ultra_glossy_lum_adj[] [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.31 0.35 0.43 0.48 0.55 0.60 0.65 0.70 "  
  "0.75 0.71 0.65 0.65 0.67 0.70 0.75 0.80 "  
  "0.90 0.93 0.96 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.98 0.96 0.94 0.92 0.89 0.85 0.80 "  
  "0.74 0.55 0.44 0.37 0.35 0.34 0.32 0.31 "  
"</sequence>\n"
"</curve>\n"
"</gimp-print>\n"

Definition at line 275 of file escp2-papers.c.

const char ultra_glossy_sat_adj[] [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 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 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 260 of file escp2-papers.c.

const char ultra_matte_hue_adj[] [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 -.28 -.28 -.26 -.24 -.22 -.20 -.20 "  
  "-.22 -.28 -.34 -.40 -.50 -.40 -.30 -.20 "  
  "-.12 -.07 -.04 -.02 0.00 0.00 0.00 0.00 "  
  "0.00 -.00 -.06 -.14 -.22 -.30 -.38 -.44 "  
  "-.50 -.44 -.38 -.31 -.25 -.20 -.13 -.06 "  
"</sequence>\n"
"</curve>\n"
"</gimp-print>\n"

Definition at line 245 of file escp2-papers.c.

const char ultra_matte_lum_adj[] [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.31 0.34 0.38 0.45 0.52 0.58 0.65 0.70 "  
  "0.75 0.71 0.65 0.65 0.67 0.70 0.75 0.80 "  
  "0.90 0.93 0.96 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.98 0.96 0.94 0.92 0.89 0.85 0.80 "  
  "0.74 0.55 0.44 0.37 0.35 0.34 0.32 0.31 "  
"</sequence>\n"
"</curve>\n"
"</gimp-print>\n"

Definition at line 230 of file escp2-papers.c.

const char ultra_matte_sat_adj[] [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 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 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 215 of file escp2-papers.c.

const paper_adjustment_t ultrachrome_matte_adjustments[] [static]
 

Definition at line 589 of file escp2-papers.c.

const paper_t ultrachrome_papers[] [static]
 

Definition at line 767 of file escp2-papers.c.

const paper_adjustment_t ultrachrome_photo_adjustments[] [static]
 

Definition at line 541 of file escp2-papers.c.


Generated on Wed Aug 25 07:56:15 2004 for libgimpprint API Reference by doxygen 1.3.6