1999-08-09 18:06:01 +00:00
|
|
|
/* sane - Scanner Access Now Easy.
|
|
|
|
Copyright (C) 1996, 1997 David Mosberger-Tang and Andreas Beck
|
|
|
|
This file is part of the SANE package.
|
|
|
|
|
|
|
|
SANE is free software; you can redistribute it and/or modify it under
|
|
|
|
the terms of the GNU General Public License as published by the Free
|
|
|
|
Software Foundation; either version 2 of the License, or (at your
|
|
|
|
option) any later version.
|
|
|
|
|
|
|
|
SANE is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with sane; see the file COPYING. If not, write to the Free
|
|
|
|
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
2003-07-26 09:05:34 +00:00
|
|
|
As a special exception, the authors of SANE give permission for
|
|
|
|
additional uses of the libraries contained in this release of SANE.
|
|
|
|
|
|
|
|
The exception is that, if you link a SANE library with other files
|
|
|
|
to produce an executable, this does not by itself cause the
|
|
|
|
resulting executable to be covered by the GNU General Public
|
|
|
|
License. Your use of that executable is in no way restricted on
|
|
|
|
account of linking the SANE library code into it.
|
|
|
|
|
|
|
|
This exception does not, however, invalidate any other reasons why
|
|
|
|
the executable file might be covered by the GNU General Public
|
|
|
|
License.
|
|
|
|
|
|
|
|
If you submit changes to SANE to the maintainers to be included in
|
|
|
|
a subsequent release, you agree by submitting the changes that
|
|
|
|
those changes may be distributed with this exception intact.
|
|
|
|
|
|
|
|
If you write modifications of your own for SANE, it is your choice
|
|
|
|
whether to permit this exception to apply to your modifications.
|
|
|
|
If you do not wish that, delete this exception notice.
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
This file declares common option names, titles, and descriptions. A
|
|
|
|
backend is not limited to these options but for the sake of
|
|
|
|
consistency it's better to use options declared here when appropriate.
|
2003-07-26 09:05:34 +00:00
|
|
|
*/
|
2002-03-27 00:00:49 +00:00
|
|
|
|
|
|
|
/* This file defines several option NAMEs, TITLEs and DESCs
|
|
|
|
that are (or should be) used by several backends.
|
|
|
|
|
|
|
|
All well known options should be listed here. But this does
|
|
|
|
not mean that all options that are listed here are well known options.
|
|
|
|
To find out if an option is a well known option and how well known
|
|
|
|
options have to be defined please take a look at the sane standard!!!
|
|
|
|
*/
|
1999-08-09 18:06:01 +00:00
|
|
|
#ifndef saneopts_h
|
|
|
|
#define saneopts_h
|
|
|
|
|
2001-04-27 19:28:56 +00:00
|
|
|
#ifndef SANE_I18N
|
|
|
|
#define SANE_I18N(text) text
|
|
|
|
#endif
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
/* This _must_ be the first option (index 0): */
|
|
|
|
#define SANE_NAME_NUM_OPTIONS "" /* never settable */
|
2008-05-21 01:38:12 +00:00
|
|
|
|
|
|
|
/* The common option groups */
|
|
|
|
#define SANE_NAME_STANDARD "standard"
|
|
|
|
#define SANE_NAME_GEOMETRY "geometry"
|
|
|
|
#define SANE_NAME_ENHANCEMENT "enhancement"
|
|
|
|
#define SANE_NAME_ADVANCED "advanced"
|
|
|
|
#define SANE_NAME_SENSORS "sensors"
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
#define SANE_NAME_PREVIEW "preview"
|
|
|
|
#define SANE_NAME_GRAY_PREVIEW "preview-in-gray"
|
|
|
|
#define SANE_NAME_BIT_DEPTH "depth"
|
|
|
|
#define SANE_NAME_SCAN_MODE "mode"
|
|
|
|
#define SANE_NAME_SCAN_SPEED "speed"
|
|
|
|
#define SANE_NAME_SCAN_SOURCE "source"
|
|
|
|
#define SANE_NAME_BACKTRACK "backtrack"
|
|
|
|
/* Most user-interfaces will let the user specify the scan area as the
|
|
|
|
top-left corner and the width/height of the scan area. The reason
|
|
|
|
the backend interface uses the top-left/bottom-right corner is so
|
|
|
|
that the scan area values can be properly constraint independent of
|
|
|
|
any other option value. */
|
|
|
|
#define SANE_NAME_SCAN_TL_X "tl-x"
|
|
|
|
#define SANE_NAME_SCAN_TL_Y "tl-y"
|
|
|
|
#define SANE_NAME_SCAN_BR_X "br-x"
|
|
|
|
#define SANE_NAME_SCAN_BR_Y "br-y"
|
|
|
|
#define SANE_NAME_SCAN_RESOLUTION "resolution"
|
2008-07-26 03:53:44 +00:00
|
|
|
#define SANE_NAME_SCAN_X_RESOLUTION "x-resolution"
|
1999-08-09 18:06:01 +00:00
|
|
|
#define SANE_NAME_SCAN_Y_RESOLUTION "y-resolution"
|
2008-05-21 01:38:12 +00:00
|
|
|
#define SANE_NAME_PAGE_WIDTH "page-width"
|
|
|
|
#define SANE_NAME_PAGE_HEIGHT "page-height"
|
1999-08-09 18:06:01 +00:00
|
|
|
#define SANE_NAME_CUSTOM_GAMMA "custom-gamma"
|
|
|
|
#define SANE_NAME_GAMMA_VECTOR "gamma-table"
|
|
|
|
#define SANE_NAME_GAMMA_VECTOR_R "red-gamma-table"
|
|
|
|
#define SANE_NAME_GAMMA_VECTOR_G "green-gamma-table"
|
|
|
|
#define SANE_NAME_GAMMA_VECTOR_B "blue-gamma-table"
|
|
|
|
#define SANE_NAME_BRIGHTNESS "brightness"
|
|
|
|
#define SANE_NAME_CONTRAST "contrast"
|
|
|
|
#define SANE_NAME_GRAIN_SIZE "grain"
|
|
|
|
#define SANE_NAME_HALFTONE "halftoning"
|
|
|
|
#define SANE_NAME_BLACK_LEVEL "black-level"
|
|
|
|
#define SANE_NAME_WHITE_LEVEL "white-level"
|
2004-01-15 17:19:56 +00:00
|
|
|
#define SANE_NAME_WHITE_LEVEL_R "white-level-r"
|
|
|
|
#define SANE_NAME_WHITE_LEVEL_G "white-level-g"
|
|
|
|
#define SANE_NAME_WHITE_LEVEL_B "white-level-b"
|
1999-08-09 18:06:01 +00:00
|
|
|
#define SANE_NAME_SHADOW "shadow"
|
|
|
|
#define SANE_NAME_SHADOW_R "shadow-r"
|
|
|
|
#define SANE_NAME_SHADOW_G "shadow-g"
|
|
|
|
#define SANE_NAME_SHADOW_B "shadow-b"
|
|
|
|
#define SANE_NAME_HIGHLIGHT "highlight"
|
|
|
|
#define SANE_NAME_HIGHLIGHT_R "highlight-r"
|
|
|
|
#define SANE_NAME_HIGHLIGHT_G "highlight-g"
|
|
|
|
#define SANE_NAME_HIGHLIGHT_B "highlight-b"
|
|
|
|
#define SANE_NAME_HUE "hue"
|
|
|
|
#define SANE_NAME_SATURATION "saturation"
|
|
|
|
#define SANE_NAME_FILE "filename"
|
|
|
|
#define SANE_NAME_HALFTONE_DIMENSION "halftone-size"
|
|
|
|
#define SANE_NAME_HALFTONE_PATTERN "halftone-pattern"
|
|
|
|
#define SANE_NAME_RESOLUTION_BIND "resolution-bind"
|
|
|
|
#define SANE_NAME_NEGATIVE "negative"
|
|
|
|
#define SANE_NAME_QUALITY_CAL "quality-cal"
|
|
|
|
#define SANE_NAME_DOR "double-res"
|
|
|
|
#define SANE_NAME_RGB_BIND "rgb-bind"
|
|
|
|
#define SANE_NAME_THRESHOLD "threshold"
|
|
|
|
#define SANE_NAME_ANALOG_GAMMA "analog-gamma"
|
|
|
|
#define SANE_NAME_ANALOG_GAMMA_R "analog-gamma-r"
|
|
|
|
#define SANE_NAME_ANALOG_GAMMA_G "analog-gamma-g"
|
|
|
|
#define SANE_NAME_ANALOG_GAMMA_B "analog-gamma-b"
|
|
|
|
#define SANE_NAME_ANALOG_GAMMA_BIND "analog-gamma-bind"
|
|
|
|
#define SANE_NAME_WARMUP "warmup"
|
|
|
|
#define SANE_NAME_CAL_EXPOS_TIME "cal-exposure-time"
|
|
|
|
#define SANE_NAME_CAL_EXPOS_TIME_R "cal-exposure-time-r"
|
|
|
|
#define SANE_NAME_CAL_EXPOS_TIME_G "cal-exposure-time-g"
|
|
|
|
#define SANE_NAME_CAL_EXPOS_TIME_B "cal-exposure-time-b"
|
|
|
|
#define SANE_NAME_SCAN_EXPOS_TIME "scan-exposure-time"
|
|
|
|
#define SANE_NAME_SCAN_EXPOS_TIME_R "scan-exposure-time-r"
|
|
|
|
#define SANE_NAME_SCAN_EXPOS_TIME_G "scan-exposure-time-g"
|
|
|
|
#define SANE_NAME_SCAN_EXPOS_TIME_B "scan-exposure-time-b"
|
|
|
|
#define SANE_NAME_SELECT_EXPOSURE_TIME "select-exposure-time"
|
|
|
|
#define SANE_NAME_CAL_LAMP_DEN "cal-lamp-density"
|
|
|
|
#define SANE_NAME_SCAN_LAMP_DEN "scan-lamp-density"
|
|
|
|
#define SANE_NAME_SELECT_LAMP_DENSITY "select-lamp-density"
|
2004-10-03 10:51:40 +00:00
|
|
|
#define SANE_NAME_LAMP_OFF_AT_EXIT "lamp-off-at-exit"
|
1999-08-09 18:06:01 +00:00
|
|
|
|
2008-05-21 18:48:30 +00:00
|
|
|
/* well known options from 'SENSORS' group*/
|
|
|
|
#define SANE_NAME_SCAN "scan"
|
|
|
|
#define SANE_NAME_EMAIL "email"
|
|
|
|
#define SANE_NAME_FAX "fax"
|
|
|
|
#define SANE_NAME_COPY "copy"
|
|
|
|
#define SANE_NAME_PDF "pdf"
|
|
|
|
#define SANE_NAME_CANCEL "cancel"
|
2008-09-25 02:39:52 +00:00
|
|
|
#define SANE_NAME_PAGE_LOADED "page-loaded"
|
|
|
|
#define SANE_NAME_COVER_OPEN "cover-open"
|
2008-05-21 18:48:30 +00:00
|
|
|
|
2001-04-27 19:28:56 +00:00
|
|
|
#define SANE_TITLE_NUM_OPTIONS SANE_I18N("Number of options")
|
2008-05-21 01:38:12 +00:00
|
|
|
|
|
|
|
#define SANE_TITLE_STANDARD SANE_I18N("Standard")
|
|
|
|
#define SANE_TITLE_GEOMETRY SANE_I18N("Geometry")
|
|
|
|
#define SANE_TITLE_ENHANCEMENT SANE_I18N("Enhancement")
|
|
|
|
#define SANE_TITLE_ADVANCED SANE_I18N("Advanced")
|
|
|
|
#define SANE_TITLE_SENSORS SANE_I18N("Sensors")
|
|
|
|
|
2001-04-27 19:28:56 +00:00
|
|
|
#define SANE_TITLE_PREVIEW SANE_I18N("Preview")
|
|
|
|
#define SANE_TITLE_GRAY_PREVIEW SANE_I18N("Force monochrome preview")
|
|
|
|
#define SANE_TITLE_BIT_DEPTH SANE_I18N("Bit depth")
|
|
|
|
#define SANE_TITLE_SCAN_MODE SANE_I18N("Scan mode")
|
|
|
|
#define SANE_TITLE_SCAN_SPEED SANE_I18N("Scan speed")
|
|
|
|
#define SANE_TITLE_SCAN_SOURCE SANE_I18N("Scan source")
|
|
|
|
#define SANE_TITLE_BACKTRACK SANE_I18N("Force backtracking")
|
|
|
|
#define SANE_TITLE_SCAN_TL_X SANE_I18N("Top-left x")
|
|
|
|
#define SANE_TITLE_SCAN_TL_Y SANE_I18N("Top-left y")
|
|
|
|
#define SANE_TITLE_SCAN_BR_X SANE_I18N("Bottom-right x")
|
|
|
|
#define SANE_TITLE_SCAN_BR_Y SANE_I18N("Bottom-right y")
|
|
|
|
#define SANE_TITLE_SCAN_RESOLUTION SANE_I18N("Scan resolution")
|
|
|
|
#define SANE_TITLE_SCAN_X_RESOLUTION SANE_I18N("X-resolution")
|
|
|
|
#define SANE_TITLE_SCAN_Y_RESOLUTION SANE_I18N("Y-resolution")
|
2008-05-21 01:38:12 +00:00
|
|
|
#define SANE_TITLE_PAGE_WIDTH SANE_I18N("Page width")
|
|
|
|
#define SANE_TITLE_PAGE_HEIGHT SANE_I18N("Page height")
|
2001-04-27 19:28:56 +00:00
|
|
|
#define SANE_TITLE_CUSTOM_GAMMA SANE_I18N("Use custom gamma table")
|
|
|
|
#define SANE_TITLE_GAMMA_VECTOR SANE_I18N("Image intensity")
|
|
|
|
#define SANE_TITLE_GAMMA_VECTOR_R SANE_I18N("Red intensity")
|
|
|
|
#define SANE_TITLE_GAMMA_VECTOR_G SANE_I18N("Green intensity")
|
|
|
|
#define SANE_TITLE_GAMMA_VECTOR_B SANE_I18N("Blue intensity")
|
|
|
|
#define SANE_TITLE_BRIGHTNESS SANE_I18N("Brightness")
|
|
|
|
#define SANE_TITLE_CONTRAST SANE_I18N("Contrast")
|
|
|
|
#define SANE_TITLE_GRAIN_SIZE SANE_I18N("Grain size")
|
|
|
|
#define SANE_TITLE_HALFTONE SANE_I18N("Halftoning")
|
|
|
|
#define SANE_TITLE_BLACK_LEVEL SANE_I18N("Black level")
|
|
|
|
#define SANE_TITLE_WHITE_LEVEL SANE_I18N("White level")
|
2004-01-15 17:19:56 +00:00
|
|
|
#define SANE_TITLE_WHITE_LEVEL_R SANE_I18N("White level for red")
|
|
|
|
#define SANE_TITLE_WHITE_LEVEL_G SANE_I18N("White level for green")
|
|
|
|
#define SANE_TITLE_WHITE_LEVEL_B SANE_I18N("White level for blue")
|
2001-04-27 19:28:56 +00:00
|
|
|
#define SANE_TITLE_SHADOW SANE_I18N("Shadow")
|
|
|
|
#define SANE_TITLE_SHADOW_R SANE_I18N("Shadow for red")
|
|
|
|
#define SANE_TITLE_SHADOW_G SANE_I18N("Shadow for green")
|
|
|
|
#define SANE_TITLE_SHADOW_B SANE_I18N("Shadow for blue")
|
|
|
|
#define SANE_TITLE_HIGHLIGHT SANE_I18N("Highlight")
|
|
|
|
#define SANE_TITLE_HIGHLIGHT_R SANE_I18N("Highlight for red")
|
|
|
|
#define SANE_TITLE_HIGHLIGHT_G SANE_I18N("Highlight for green")
|
|
|
|
#define SANE_TITLE_HIGHLIGHT_B SANE_I18N("Highlight for blue")
|
|
|
|
#define SANE_TITLE_HUE SANE_I18N("Hue")
|
|
|
|
#define SANE_TITLE_SATURATION SANE_I18N("Saturation")
|
|
|
|
#define SANE_TITLE_FILE SANE_I18N("Filename")
|
|
|
|
#define SANE_TITLE_HALFTONE_DIMENSION SANE_I18N("Halftone pattern size")
|
|
|
|
#define SANE_TITLE_HALFTONE_PATTERN SANE_I18N("Halftone pattern")
|
|
|
|
#define SANE_TITLE_RESOLUTION_BIND SANE_I18N("Bind X and Y resolution")
|
|
|
|
#define SANE_TITLE_NEGATIVE SANE_I18N("Negative")
|
|
|
|
#define SANE_TITLE_QUALITY_CAL SANE_I18N("Quality calibration")
|
|
|
|
#define SANE_TITLE_DOR SANE_I18N("Double Optical Resolution")
|
|
|
|
#define SANE_TITLE_RGB_BIND SANE_I18N("Bind RGB")
|
|
|
|
#define SANE_TITLE_THRESHOLD SANE_I18N("Threshold")
|
|
|
|
#define SANE_TITLE_ANALOG_GAMMA SANE_I18N("Analog gamma correction")
|
|
|
|
#define SANE_TITLE_ANALOG_GAMMA_R SANE_I18N("Analog gamma red")
|
|
|
|
#define SANE_TITLE_ANALOG_GAMMA_G SANE_I18N("Analog gamma green")
|
|
|
|
#define SANE_TITLE_ANALOG_GAMMA_B SANE_I18N("Analog gamma blue")
|
|
|
|
#define SANE_TITLE_ANALOG_GAMMA_BIND SANE_I18N("Bind analog gamma")
|
|
|
|
#define SANE_TITLE_WARMUP SANE_I18N("Warmup lamp")
|
|
|
|
#define SANE_TITLE_CAL_EXPOS_TIME SANE_I18N("Cal. exposure-time")
|
|
|
|
#define SANE_TITLE_CAL_EXPOS_TIME_R SANE_I18N("Cal. exposure-time for red")
|
|
|
|
#define SANE_TITLE_CAL_EXPOS_TIME_G SANE_I18N("Cal. exposure-time for " \
|
|
|
|
"green")
|
|
|
|
#define SANE_TITLE_CAL_EXPOS_TIME_B SANE_I18N("Cal. exposure-time for blue")
|
|
|
|
#define SANE_TITLE_SCAN_EXPOS_TIME SANE_I18N("Scan exposure-time")
|
|
|
|
#define SANE_TITLE_SCAN_EXPOS_TIME_R SANE_I18N("Scan exposure-time for red")
|
|
|
|
#define SANE_TITLE_SCAN_EXPOS_TIME_G SANE_I18N("Scan exposure-time for " \
|
|
|
|
"green")
|
|
|
|
#define SANE_TITLE_SCAN_EXPOS_TIME_B SANE_I18N("Scan exposure-time for blue")
|
|
|
|
#define SANE_TITLE_SELECT_EXPOSURE_TIME SANE_I18N("Set exposure-time")
|
|
|
|
#define SANE_TITLE_CAL_LAMP_DEN SANE_I18N("Cal. lamp density")
|
|
|
|
#define SANE_TITLE_SCAN_LAMP_DEN SANE_I18N("Scan lamp density")
|
|
|
|
#define SANE_TITLE_SELECT_LAMP_DENSITY SANE_I18N("Set lamp density")
|
2004-10-03 10:51:40 +00:00
|
|
|
#define SANE_TITLE_LAMP_OFF_AT_EXIT SANE_I18N("Lamp off at exit")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
2008-05-21 18:48:30 +00:00
|
|
|
/* well known options from 'SENSORS' group*/
|
|
|
|
#define SANE_TITLE_SCAN "Scan button"
|
|
|
|
#define SANE_TITLE_EMAIL "Email button"
|
|
|
|
#define SANE_TITLE_FAX "Fax button"
|
|
|
|
#define SANE_TITLE_COPY "Copy button"
|
|
|
|
#define SANE_TITLE_PDF "PDF button"
|
|
|
|
#define SANE_TITLE_CANCEL "Cancel button"
|
|
|
|
#define SANE_TITLE_PAGE_LOADED "Page loaded"
|
|
|
|
#define SANE_TITLE_COVER_OPEN "Cover open"
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
/* Descriptive/help strings for above options: */
|
|
|
|
#define SANE_DESC_NUM_OPTIONS \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Read-only option that specifies how many options a specific " \
|
|
|
|
"devices supports.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
2008-05-21 01:38:12 +00:00
|
|
|
#define SANE_DESC_STANDARD SANE_I18N("Source, mode and resolution options")
|
|
|
|
#define SANE_DESC_GEOMETRY SANE_I18N("Scan area and media size options")
|
|
|
|
#define SANE_DESC_ENHANCEMENT SANE_I18N("Image modification options")
|
|
|
|
#define SANE_DESC_ADVANCED SANE_I18N("Hardware specific options")
|
|
|
|
#define SANE_DESC_SENSORS SANE_I18N("Scanner sensors and buttons")
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
#define SANE_DESC_PREVIEW \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Request a preview-quality scan.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_GRAY_PREVIEW \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Request that all previews are done in monochrome mode. On a " \
|
|
|
|
"three-pass scanner this cuts down the number of passes to one and on a " \
|
|
|
|
"one-pass scanner, it reduces the memory requirements and scan-time of the " \
|
|
|
|
"preview.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_BIT_DEPTH \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Number of bits per sample, typical values are 1 for \"line-art\" " \
|
|
|
|
"and 8 for multibit scans.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_SCAN_MODE \
|
2003-10-05 11:43:20 +00:00
|
|
|
SANE_I18N("Selects the scan mode (e.g., lineart, monochrome, or color).")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_SCAN_SPEED \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Determines the speed at which the scan proceeds.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_SCAN_SOURCE \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Selects the scan source (such as a document-feeder).")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_BACKTRACK \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Controls whether backtracking is forced.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_SCAN_TL_X \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Top-left x position of scan area.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_SCAN_TL_Y \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Top-left y position of scan area.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_SCAN_BR_X \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Bottom-right x position of scan area.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_SCAN_BR_Y \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Bottom-right y position of scan area.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_SCAN_RESOLUTION \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Sets the resolution of the scanned image.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_SCAN_X_RESOLUTION \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Sets the horizontal resolution of the scanned image.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_SCAN_Y_RESOLUTION \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Sets the vertical resolution of the scanned image.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
2008-05-21 01:38:12 +00:00
|
|
|
#define SANE_DESC_PAGE_WIDTH \
|
|
|
|
SANE_I18N("Specifies the width of the media. Required for automatic " \
|
|
|
|
"centering of sheet-fed scans.")
|
|
|
|
|
|
|
|
#define SANE_DESC_PAGE_HEIGHT \
|
|
|
|
SANE_I18N("Specifies the height of the media.")
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
#define SANE_DESC_CUSTOM_GAMMA \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Determines whether a builtin or a custom gamma-table should be " \
|
|
|
|
"used.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_GAMMA_VECTOR \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Gamma-correction table. In color mode this option equally " \
|
|
|
|
"affects the red, green, and blue channels simultaneously (i.e., it is an " \
|
|
|
|
"intensity gamma table).")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_GAMMA_VECTOR_R \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Gamma-correction table for the red band.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_GAMMA_VECTOR_G \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Gamma-correction table for the green band.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_GAMMA_VECTOR_B \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Gamma-correction table for the blue band.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_BRIGHTNESS \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Controls the brightness of the acquired image.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_CONTRAST \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Controls the contrast of the acquired image.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_GRAIN_SIZE \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Selects the \"graininess\" of the acquired image. Smaller values " \
|
|
|
|
"result in sharper images.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_HALFTONE \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Selects whether the acquired image should be halftoned (dithered).")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_BLACK_LEVEL \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Selects what radiance level should be considered \"black\".")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_WHITE_LEVEL \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Selects what radiance level should be considered \"white\".")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
2004-01-15 17:19:56 +00:00
|
|
|
#define SANE_DESC_WHITE_LEVEL_R \
|
|
|
|
SANE_I18N("Selects what red radiance level should be considered \"white\".")
|
|
|
|
|
|
|
|
#define SANE_DESC_WHITE_LEVEL_G \
|
|
|
|
SANE_I18N("Selects what green radiance level should be considered \"white\".")
|
|
|
|
|
|
|
|
#define SANE_DESC_WHITE_LEVEL_B \
|
|
|
|
SANE_I18N("Selects what blue radiance level should be considered \"white\".")
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
#define SANE_DESC_SHADOW \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Selects what radiance level should be considered \"black\".")
|
1999-08-09 18:06:01 +00:00
|
|
|
#define SANE_DESC_SHADOW_R \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Selects what red radiance level should be considered \"black\".")
|
1999-08-09 18:06:01 +00:00
|
|
|
#define SANE_DESC_SHADOW_G \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Selects what green radiance level should be considered \"black\".")
|
1999-08-09 18:06:01 +00:00
|
|
|
#define SANE_DESC_SHADOW_B \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Selects what blue radiance level should be considered \"black\".")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_HIGHLIGHT \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Selects what radiance level should be considered \"white\".")
|
1999-08-09 18:06:01 +00:00
|
|
|
#define SANE_DESC_HIGHLIGHT_R \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Selects what red radiance level should be considered \"full red\".")
|
1999-08-09 18:06:01 +00:00
|
|
|
#define SANE_DESC_HIGHLIGHT_G \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Selects what green radiance level should be considered \"full " \
|
|
|
|
"green\".")
|
1999-08-09 18:06:01 +00:00
|
|
|
#define SANE_DESC_HIGHLIGHT_B \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Selects what blue radiance level should be considered \"full " \
|
|
|
|
"blue\".")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_HUE \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Controls the \"hue\" (blue-level) of the acquired image.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_SATURATION \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("The saturation level controls the amount of \"blooming\" that " \
|
|
|
|
"occurs when acquiring an image with a camera. Larger values cause more " \
|
|
|
|
"blooming.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
2001-04-27 19:28:56 +00:00
|
|
|
#define SANE_DESC_FILE \
|
|
|
|
SANE_I18N("The filename of the image to be loaded.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_HALFTONE_DIMENSION \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Sets the size of the halftoning (dithering) pattern used when " \
|
|
|
|
"scanning halftoned images.")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
#define SANE_DESC_HALFTONE_PATTERN \
|
2001-04-27 19:28:56 +00:00
|
|
|
SANE_I18N("Defines the halftoning (dithering) pattern for scanning " \
|
|
|
|
"halftoned images.")
|
|
|
|
|
|
|
|
#define SANE_DESC_RESOLUTION_BIND \
|
|
|
|
SANE_I18N("Use same values for X and Y resolution")
|
|
|
|
#define SANE_DESC_NEGATIVE \
|
|
|
|
SANE_I18N("Swap black and white")
|
|
|
|
#define SANE_DESC_QUALITY_CAL \
|
|
|
|
SANE_I18N("Do a quality white-calibration")
|
|
|
|
#define SANE_DESC_DOR \
|
|
|
|
SANE_I18N("Use lens that doubles optical resolution")
|
|
|
|
#define SANE_DESC_RGB_BIND \
|
|
|
|
SANE_I18N("In RGB-mode use same values for each color")
|
|
|
|
#define SANE_DESC_THRESHOLD \
|
|
|
|
SANE_I18N("Select minimum-brightness to get a white point")
|
|
|
|
#define SANE_DESC_ANALOG_GAMMA \
|
|
|
|
SANE_I18N("Analog gamma-correction")
|
|
|
|
#define SANE_DESC_ANALOG_GAMMA_R \
|
|
|
|
SANE_I18N("Analog gamma-correction for red")
|
|
|
|
#define SANE_DESC_ANALOG_GAMMA_G \
|
|
|
|
SANE_I18N("Analog gamma-correction for green")
|
|
|
|
#define SANE_DESC_ANALOG_GAMMA_B \
|
|
|
|
SANE_I18N("Analog gamma-correction for blue")
|
|
|
|
#define SANE_DESC_ANALOG_GAMMA_BIND \
|
|
|
|
SANE_I18N("In RGB-mode use same values for each color")
|
|
|
|
#define SANE_DESC_WARMUP \
|
|
|
|
SANE_I18N("Warmup lamp before scanning")
|
|
|
|
#define SANE_DESC_CAL_EXPOS_TIME \
|
|
|
|
SANE_I18N("Define exposure-time for calibration")
|
|
|
|
#define SANE_DESC_CAL_EXPOS_TIME_R \
|
|
|
|
SANE_I18N("Define exposure-time for red calibration")
|
|
|
|
#define SANE_DESC_CAL_EXPOS_TIME_G \
|
|
|
|
SANE_I18N("Define exposure-time for green calibration")
|
|
|
|
#define SANE_DESC_CAL_EXPOS_TIME_B \
|
|
|
|
SANE_I18N("Define exposure-time for blue calibration")
|
|
|
|
#define SANE_DESC_SCAN_EXPOS_TIME \
|
|
|
|
SANE_I18N("Define exposure-time for scan")
|
|
|
|
#define SANE_DESC_SCAN_EXPOS_TIME_R \
|
|
|
|
SANE_I18N("Define exposure-time for red scan")
|
|
|
|
#define SANE_DESC_SCAN_EXPOS_TIME_G \
|
|
|
|
SANE_I18N("Define exposure-time for green scan")
|
|
|
|
#define SANE_DESC_SCAN_EXPOS_TIME_B \
|
|
|
|
SANE_I18N("Define exposure-time for blue scan")
|
|
|
|
#define SANE_DESC_SELECT_EXPOSURE_TIME \
|
|
|
|
SANE_I18N("Enable selection of exposure-time")
|
|
|
|
#define SANE_DESC_CAL_LAMP_DEN \
|
|
|
|
SANE_I18N("Define lamp density for calibration")
|
|
|
|
#define SANE_DESC_SCAN_LAMP_DEN \
|
|
|
|
SANE_I18N("Define lamp density for scan")
|
|
|
|
#define SANE_DESC_SELECT_LAMP_DENSITY \
|
|
|
|
SANE_I18N("Enable selection of lamp density")
|
2004-10-03 10:51:40 +00:00
|
|
|
#define SANE_DESC_LAMP_OFF_AT_EXIT \
|
|
|
|
SANE_I18N("Turn off lamp when program exits")
|
1999-08-09 18:06:01 +00:00
|
|
|
|
2008-05-21 18:48:30 +00:00
|
|
|
/* well known options from 'SENSORS' group*/
|
|
|
|
#define SANE_DESC_SCAN SANE_I18N("Scan button")
|
|
|
|
#define SANE_DESC_EMAIL SANE_I18N("Email button")
|
|
|
|
#define SANE_DESC_FAX SANE_I18N("Fax button")
|
|
|
|
#define SANE_DESC_COPY SANE_I18N("Copy button")
|
|
|
|
#define SANE_DESC_PDF SANE_I18N("PDF button")
|
|
|
|
#define SANE_DESC_CANCEL SANE_I18N("Cancel button")
|
|
|
|
#define SANE_DESC_PAGE_LOADED SANE_I18N("Page loaded")
|
|
|
|
#define SANE_DESC_COVER_OPEN SANE_I18N("Cover open")
|
2004-05-05 00:26:42 +00:00
|
|
|
|
2008-05-21 18:48:30 +00:00
|
|
|
/* Typical values for stringlists (to keep the backends consistent) */
|
2004-05-05 00:26:42 +00:00
|
|
|
#define SANE_VALUE_SCAN_MODE_COLOR SANE_I18N("Color")
|
|
|
|
#define SANE_VALUE_SCAN_MODE_GRAY SANE_I18N("Gray")
|
|
|
|
#define SANE_VALUE_SCAN_MODE_LINEART SANE_I18N("Lineart")
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
#endif /* saneopts_h */
|