diff options
Diffstat (limited to 'src/main/print-lexmark.c')
-rw-r--r-- | src/main/print-lexmark.c | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/src/main/print-lexmark.c b/src/main/print-lexmark.c index 005ed1e..1106fe7 100644 --- a/src/main/print-lexmark.c +++ b/src/main/print-lexmark.c @@ -1,6 +1,6 @@ /* - * "$Id: print-lexmark.c,v 1.155 2007/08/27 00:44:12 rlk Exp $" + * "$Id: print-lexmark.c,v 1.157 2008/07/24 00:15:33 rlk Exp $" * * Print plug-in Lexmark driver for the GIMP. * @@ -266,43 +266,43 @@ static const stp_parameter_t the_parameters[] = "PageSize", N_("Page Size"), N_("Basic Printer Setup"), N_("Size of the paper being printed to"), STP_PARAMETER_TYPE_STRING_LIST, STP_PARAMETER_CLASS_CORE, - STP_PARAMETER_LEVEL_BASIC, 1, 1, -1, 1, 0 + STP_PARAMETER_LEVEL_BASIC, 1, 1, STP_CHANNEL_NONE, 1, 0 }, { "MediaType", N_("Media Type"), N_("Basic Printer Setup"), N_("Type of media (plain paper, photo paper, etc.)"), STP_PARAMETER_TYPE_STRING_LIST, STP_PARAMETER_CLASS_FEATURE, - STP_PARAMETER_LEVEL_BASIC, 1, 1, -1, 1, 0 + STP_PARAMETER_LEVEL_BASIC, 1, 1, STP_CHANNEL_NONE, 1, 0 }, { "InputSlot", N_("Media Source"), N_("Basic Printer Setup"), N_("Source (input slot) of the media"), STP_PARAMETER_TYPE_STRING_LIST, STP_PARAMETER_CLASS_FEATURE, - STP_PARAMETER_LEVEL_BASIC, 1, 1, -1, 1, 0 + STP_PARAMETER_LEVEL_BASIC, 1, 1, STP_CHANNEL_NONE, 1, 0 }, { "Resolution", N_("Resolution"), N_("Basic Printer Setup"), N_("Resolution and quality of the print"), STP_PARAMETER_TYPE_STRING_LIST, STP_PARAMETER_CLASS_FEATURE, - STP_PARAMETER_LEVEL_BASIC, 1, 1, -1, 1, 0 + STP_PARAMETER_LEVEL_BASIC, 1, 1, STP_CHANNEL_NONE, 1, 0 }, { "InkType", N_("Ink Type"), N_("Advanced Printer Setup"), N_("Type of ink in the printer"), STP_PARAMETER_TYPE_STRING_LIST, STP_PARAMETER_CLASS_FEATURE, - STP_PARAMETER_LEVEL_BASIC, 1, 1, -1, 1, 0 + STP_PARAMETER_LEVEL_BASIC, 1, 1, STP_CHANNEL_NONE, 1, 0 }, { "InkChannels", N_("Ink Channels"), N_("Advanced Printer Functionality"), N_("Ink Channels"), STP_PARAMETER_TYPE_INT, STP_PARAMETER_CLASS_FEATURE, - STP_PARAMETER_LEVEL_INTERNAL, 0, 0, -1, 0, 0 + STP_PARAMETER_LEVEL_INTERNAL, 0, 0, STP_CHANNEL_NONE, 0, 0 }, { "PrintingMode", N_("Printing Mode"), N_("Core Parameter"), N_("Printing Output Mode"), STP_PARAMETER_TYPE_STRING_LIST, STP_PARAMETER_CLASS_CORE, - STP_PARAMETER_LEVEL_BASIC, 1, 1, -1, 1, 0 + STP_PARAMETER_LEVEL_BASIC, 1, 1, STP_CHANNEL_NONE, 1, 0 }, }; @@ -354,18 +354,18 @@ static const float_param_t float_parameters[] = }, { { - "LightCyanTransition", N_("Light Cyan Transition"), N_("Advanced Ink Adjustment"), + "LightCyanTrans", N_("Light Cyan Transition"), N_("Advanced Ink Adjustment"), N_("Light Cyan Transition"), STP_PARAMETER_TYPE_DOUBLE, STP_PARAMETER_CLASS_OUTPUT, - STP_PARAMETER_LEVEL_ADVANCED4, 0, 1, -1, 1, 0 + STP_PARAMETER_LEVEL_ADVANCED4, 0, 1, STP_CHANNEL_NONE, 1, 0 }, 0.0, 5.0, 1.0, 1 }, { { - "LightMagentaTransition", N_("Light Magenta Transition"), N_("Advanced Ink Adjustment"), + "LightMagentaTrans", N_("Light Magenta Transition"), N_("Advanced Ink Adjustment"), N_("Light Magenta Transition"), STP_PARAMETER_TYPE_DOUBLE, STP_PARAMETER_CLASS_OUTPUT, - STP_PARAMETER_LEVEL_ADVANCED4, 0, 1, -1, 1, 0 + STP_PARAMETER_LEVEL_ADVANCED4, 0, 1, STP_CHANNEL_NONE, 1, 0 }, 0.0, 5.0, 1.0, 1 }, }; @@ -2024,21 +2024,21 @@ densityDivisor /= 1.2; { stp_channel_set_density_adjustment (v, STP_ECOLOR_C, 1, (get_double_param(v, "CyanDensity") * - get_double_param(v, "LightCyanTransition") * + get_double_param(v, "LightCyanTrans") * get_double_param(v, "Density"))); } if (cols.p.M) { stp_channel_set_density_adjustment (v, STP_ECOLOR_M, 1, (get_double_param(v, "MagentaDensity") * - get_double_param(v, "LightMagentaTransition") * + get_double_param(v, "LightMagentaTrans") * get_double_param(v, "Density"))); } if (cols.p.Y) { stp_channel_set_density_adjustment (v, STP_ECOLOR_Y, 1, (get_double_param(v, "YellowDensity") * - get_double_param(v, "LightYellowTransition") * + get_double_param(v, "LightYellowTrans") * get_double_param(v, "Density"))); } } @@ -2624,8 +2624,6 @@ lexmark_write(const stp_vars_t *v, /* I - Print file or command */ } /* Send a line of raster graphics... */ - - return 0; } |