1 /* sane - Scanner Access Now Easy. 2 Copyright (C) 1996, 1997 David Mosberger-Tang and Andreas Beck 3 This file is part of the SANE package. 4 5 SANE is free software; you can redistribute it and/or modify it under 6 the terms of the GNU General Public License as published by the Free 7 Software Foundation; either version 2 of the License, or (at your 8 option) any later version. 9 10 SANE is distributed in the hope that it will be useful, but WITHOUT 11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with sane; see the file COPYING. 17 If not, see <https://www.gnu.org/licenses/>. 18 19 As a special exception, the authors of SANE give permission for 20 additional uses of the libraries contained in this release of SANE. 21 22 The exception is that, if you link a SANE library with other files 23 to produce an executable, this does not by itself cause the 24 resulting executable to be covered by the GNU General Public 25 License. Your use of that executable is in no way restricted on 26 account of linking the SANE library code into it. 27 28 This exception does not, however, invalidate any other reasons why 29 the executable file might be covered by the GNU General Public 30 License. 31 32 If you submit changes to SANE to the maintainers to be included in 33 a subsequent release, you agree by submitting the changes that 34 those changes may be distributed with this exception intact. 35 36 If you write modifications of your own for SANE, it is your choice 37 whether to permit this exception to apply to your modifications. 38 If you do not wish that, delete this exception notice. 39 40 This file declares common option names, titles, and descriptions. A 41 backend is not limited to these options but for the sake of 42 consistency it's better to use options declared here when appropriate. 43 */ 44 45 /* This file defines several option NAMEs, TITLEs and DESCs 46 that are (or should be) used by several backends. 47 48 All well known options should be listed here. But this does 49 not mean that all options that are listed here are well known options. 50 To find out if an option is a well known option and how well known 51 options have to be defined please take a look at the sane standard!!! 52 */ 53 #ifndef saneopts_h 54 #define saneopts_h 55 56 #ifndef SANE_I18N 57 #define SANE_I18N(text) text 58 #endif 59 60 /* This _must_ be the first option (index 0): */ 61 #define SANE_NAME_NUM_OPTIONS "" /* never settable */ 62 63 /* The common option groups */ 64 #define SANE_NAME_STANDARD "standard" 65 #define SANE_NAME_GEOMETRY "geometry" 66 #define SANE_NAME_ENHANCEMENT "enhancement" 67 #define SANE_NAME_ADVANCED "advanced" 68 #define SANE_NAME_SENSORS "sensors" 69 70 #define SANE_NAME_PREVIEW "preview" 71 #define SANE_NAME_GRAY_PREVIEW "preview-in-gray" 72 #define SANE_NAME_BIT_DEPTH "depth" 73 #define SANE_NAME_SCAN_MODE "mode" 74 #define SANE_NAME_SCAN_SPEED "speed" 75 #define SANE_NAME_SCAN_SOURCE "source" 76 #define SANE_NAME_BACKTRACK "backtrack" 77 /* Most user-interfaces will let the user specify the scan area as the 78 top-left corner and the width/height of the scan area. The reason 79 the backend interface uses the top-left/bottom-right corner is so 80 that the scan area values can be properly constraint independent of 81 any other option value. */ 82 #define SANE_NAME_SCAN_TL_X "tl-x" 83 #define SANE_NAME_SCAN_TL_Y "tl-y" 84 #define SANE_NAME_SCAN_BR_X "br-x" 85 #define SANE_NAME_SCAN_BR_Y "br-y" 86 #define SANE_NAME_SCAN_RESOLUTION "resolution" 87 #define SANE_NAME_SCAN_X_RESOLUTION "x-resolution" 88 #define SANE_NAME_SCAN_Y_RESOLUTION "y-resolution" 89 #define SANE_NAME_PAGE_WIDTH "page-width" 90 #define SANE_NAME_PAGE_HEIGHT "page-height" 91 #define SANE_NAME_CUSTOM_GAMMA "custom-gamma" 92 #define SANE_NAME_GAMMA_VECTOR "gamma-table" 93 #define SANE_NAME_GAMMA_VECTOR_R "red-gamma-table" 94 #define SANE_NAME_GAMMA_VECTOR_G "green-gamma-table" 95 #define SANE_NAME_GAMMA_VECTOR_B "blue-gamma-table" 96 #define SANE_NAME_BRIGHTNESS "brightness" 97 #define SANE_NAME_CONTRAST "contrast" 98 #define SANE_NAME_GRAIN_SIZE "grain" 99 #define SANE_NAME_HALFTONE "halftoning" 100 #define SANE_NAME_BLACK_LEVEL "black-level" 101 #define SANE_NAME_WHITE_LEVEL "white-level" 102 #define SANE_NAME_WHITE_LEVEL_R "white-level-r" 103 #define SANE_NAME_WHITE_LEVEL_G "white-level-g" 104 #define SANE_NAME_WHITE_LEVEL_B "white-level-b" 105 #define SANE_NAME_SHADOW "shadow" 106 #define SANE_NAME_SHADOW_R "shadow-r" 107 #define SANE_NAME_SHADOW_G "shadow-g" 108 #define SANE_NAME_SHADOW_B "shadow-b" 109 #define SANE_NAME_HIGHLIGHT "highlight" 110 #define SANE_NAME_HIGHLIGHT_R "highlight-r" 111 #define SANE_NAME_HIGHLIGHT_G "highlight-g" 112 #define SANE_NAME_HIGHLIGHT_B "highlight-b" 113 #define SANE_NAME_HUE "hue" 114 #define SANE_NAME_SATURATION "saturation" 115 #define SANE_NAME_FILE "filename" 116 #define SANE_NAME_HALFTONE_DIMENSION "halftone-size" 117 #define SANE_NAME_HALFTONE_PATTERN "halftone-pattern" 118 #define SANE_NAME_RESOLUTION_BIND "resolution-bind" 119 #define SANE_NAME_NEGATIVE "negative" 120 #define SANE_NAME_QUALITY_CAL "quality-cal" 121 #define SANE_NAME_DOR "double-res" 122 #define SANE_NAME_RGB_BIND "rgb-bind" 123 #define SANE_NAME_THRESHOLD "threshold" 124 #define SANE_NAME_ANALOG_GAMMA "analog-gamma" 125 #define SANE_NAME_ANALOG_GAMMA_R "analog-gamma-r" 126 #define SANE_NAME_ANALOG_GAMMA_G "analog-gamma-g" 127 #define SANE_NAME_ANALOG_GAMMA_B "analog-gamma-b" 128 #define SANE_NAME_ANALOG_GAMMA_BIND "analog-gamma-bind" 129 #define SANE_NAME_WARMUP "warmup" 130 #define SANE_NAME_CAL_EXPOS_TIME "cal-exposure-time" 131 #define SANE_NAME_CAL_EXPOS_TIME_R "cal-exposure-time-r" 132 #define SANE_NAME_CAL_EXPOS_TIME_G "cal-exposure-time-g" 133 #define SANE_NAME_CAL_EXPOS_TIME_B "cal-exposure-time-b" 134 #define SANE_NAME_SCAN_EXPOS_TIME "scan-exposure-time" 135 #define SANE_NAME_SCAN_EXPOS_TIME_R "scan-exposure-time-r" 136 #define SANE_NAME_SCAN_EXPOS_TIME_G "scan-exposure-time-g" 137 #define SANE_NAME_SCAN_EXPOS_TIME_B "scan-exposure-time-b" 138 #define SANE_NAME_SELECT_EXPOSURE_TIME "select-exposure-time" 139 #define SANE_NAME_CAL_LAMP_DEN "cal-lamp-density" 140 #define SANE_NAME_SCAN_LAMP_DEN "scan-lamp-density" 141 #define SANE_NAME_SELECT_LAMP_DENSITY "select-lamp-density" 142 #define SANE_NAME_LAMP_OFF_AT_EXIT "lamp-off-at-exit" 143 #define SANE_NAME_FOCUS "focus" 144 #define SANE_NAME_AUTOFOCUS "autofocus" 145 146 /* well known options from 'SENSORS' group*/ 147 #define SANE_NAME_SCAN "scan" 148 #define SANE_NAME_EMAIL "email" 149 #define SANE_NAME_FAX "fax" 150 #define SANE_NAME_COPY "copy" 151 #define SANE_NAME_PDF "pdf" 152 #define SANE_NAME_CANCEL "cancel" 153 #define SANE_NAME_PAGE_LOADED "page-loaded" 154 #define SANE_NAME_COVER_OPEN "cover-open" 155 156 #define SANE_TITLE_NUM_OPTIONS SANE_I18N("Number of options") 157 158 #define SANE_TITLE_STANDARD SANE_I18N("Standard") 159 #define SANE_TITLE_GEOMETRY SANE_I18N("Geometry") 160 #define SANE_TITLE_ENHANCEMENT SANE_I18N("Enhancement") 161 #define SANE_TITLE_ADVANCED SANE_I18N("Advanced") 162 #define SANE_TITLE_SENSORS SANE_I18N("Sensors") 163 164 #define SANE_TITLE_PREVIEW SANE_I18N("Preview") 165 #define SANE_TITLE_GRAY_PREVIEW SANE_I18N("Force monochrome preview") 166 #define SANE_TITLE_BIT_DEPTH SANE_I18N("Bit depth") 167 #define SANE_TITLE_SCAN_MODE SANE_I18N("Scan mode") 168 #define SANE_TITLE_SCAN_SPEED SANE_I18N("Scan speed") 169 #define SANE_TITLE_SCAN_SOURCE SANE_I18N("Scan source") 170 #define SANE_TITLE_BACKTRACK SANE_I18N("Force backtracking") 171 #define SANE_TITLE_SCAN_TL_X SANE_I18N("Top-left x") 172 #define SANE_TITLE_SCAN_TL_Y SANE_I18N("Top-left y") 173 #define SANE_TITLE_SCAN_BR_X SANE_I18N("Bottom-right x") 174 #define SANE_TITLE_SCAN_BR_Y SANE_I18N("Bottom-right y") 175 #define SANE_TITLE_SCAN_RESOLUTION SANE_I18N("Scan resolution") 176 #define SANE_TITLE_SCAN_X_RESOLUTION SANE_I18N("X-resolution") 177 #define SANE_TITLE_SCAN_Y_RESOLUTION SANE_I18N("Y-resolution") 178 #define SANE_TITLE_PAGE_WIDTH SANE_I18N("Page width") 179 #define SANE_TITLE_PAGE_HEIGHT SANE_I18N("Page height") 180 #define SANE_TITLE_CUSTOM_GAMMA SANE_I18N("Use custom gamma table") 181 #define SANE_TITLE_GAMMA_VECTOR SANE_I18N("Image intensity") 182 #define SANE_TITLE_GAMMA_VECTOR_R SANE_I18N("Red intensity") 183 #define SANE_TITLE_GAMMA_VECTOR_G SANE_I18N("Green intensity") 184 #define SANE_TITLE_GAMMA_VECTOR_B SANE_I18N("Blue intensity") 185 #define SANE_TITLE_BRIGHTNESS SANE_I18N("Brightness") 186 #define SANE_TITLE_CONTRAST SANE_I18N("Contrast") 187 #define SANE_TITLE_GRAIN_SIZE SANE_I18N("Grain size") 188 #define SANE_TITLE_HALFTONE SANE_I18N("Halftoning") 189 #define SANE_TITLE_BLACK_LEVEL SANE_I18N("Black level") 190 #define SANE_TITLE_WHITE_LEVEL SANE_I18N("White level") 191 #define SANE_TITLE_WHITE_LEVEL_R SANE_I18N("White level for red") 192 #define SANE_TITLE_WHITE_LEVEL_G SANE_I18N("White level for green") 193 #define SANE_TITLE_WHITE_LEVEL_B SANE_I18N("White level for blue") 194 #define SANE_TITLE_SHADOW SANE_I18N("Shadow") 195 #define SANE_TITLE_SHADOW_R SANE_I18N("Shadow for red") 196 #define SANE_TITLE_SHADOW_G SANE_I18N("Shadow for green") 197 #define SANE_TITLE_SHADOW_B SANE_I18N("Shadow for blue") 198 #define SANE_TITLE_HIGHLIGHT SANE_I18N("Highlight") 199 #define SANE_TITLE_HIGHLIGHT_R SANE_I18N("Highlight for red") 200 #define SANE_TITLE_HIGHLIGHT_G SANE_I18N("Highlight for green") 201 #define SANE_TITLE_HIGHLIGHT_B SANE_I18N("Highlight for blue") 202 #define SANE_TITLE_HUE SANE_I18N("Hue") 203 #define SANE_TITLE_SATURATION SANE_I18N("Saturation") 204 #define SANE_TITLE_FILE SANE_I18N("Filename") 205 #define SANE_TITLE_HALFTONE_DIMENSION SANE_I18N("Halftone pattern size") 206 #define SANE_TITLE_HALFTONE_PATTERN SANE_I18N("Halftone pattern") 207 #define SANE_TITLE_RESOLUTION_BIND SANE_I18N("Bind X and Y resolution") 208 #define SANE_TITLE_NEGATIVE SANE_I18N("Negative") 209 #define SANE_TITLE_QUALITY_CAL SANE_I18N("Quality calibration") 210 #define SANE_TITLE_DOR SANE_I18N("Double Optical Resolution") 211 #define SANE_TITLE_RGB_BIND SANE_I18N("Bind RGB") 212 #define SANE_TITLE_THRESHOLD SANE_I18N("Threshold") 213 #define SANE_TITLE_ANALOG_GAMMA SANE_I18N("Analog gamma correction") 214 #define SANE_TITLE_ANALOG_GAMMA_R SANE_I18N("Analog gamma red") 215 #define SANE_TITLE_ANALOG_GAMMA_G SANE_I18N("Analog gamma green") 216 #define SANE_TITLE_ANALOG_GAMMA_B SANE_I18N("Analog gamma blue") 217 #define SANE_TITLE_ANALOG_GAMMA_BIND SANE_I18N("Bind analog gamma") 218 #define SANE_TITLE_WARMUP SANE_I18N("Warmup lamp") 219 #define SANE_TITLE_CAL_EXPOS_TIME SANE_I18N("Cal. exposure-time") 220 #define SANE_TITLE_CAL_EXPOS_TIME_R SANE_I18N("Cal. exposure-time for red") 221 #define SANE_TITLE_CAL_EXPOS_TIME_G SANE_I18N("Cal. exposure-time for " \ 222 "green") 223 #define SANE_TITLE_CAL_EXPOS_TIME_B SANE_I18N("Cal. exposure-time for blue") 224 #define SANE_TITLE_SCAN_EXPOS_TIME SANE_I18N("Scan exposure-time") 225 #define SANE_TITLE_SCAN_EXPOS_TIME_R SANE_I18N("Scan exposure-time for red") 226 #define SANE_TITLE_SCAN_EXPOS_TIME_G SANE_I18N("Scan exposure-time for " \ 227 "green") 228 #define SANE_TITLE_SCAN_EXPOS_TIME_B SANE_I18N("Scan exposure-time for blue") 229 #define SANE_TITLE_SELECT_EXPOSURE_TIME SANE_I18N("Set exposure-time") 230 #define SANE_TITLE_CAL_LAMP_DEN SANE_I18N("Cal. lamp density") 231 #define SANE_TITLE_SCAN_LAMP_DEN SANE_I18N("Scan lamp density") 232 #define SANE_TITLE_SELECT_LAMP_DENSITY SANE_I18N("Set lamp density") 233 #define SANE_TITLE_LAMP_OFF_AT_EXIT SANE_I18N("Lamp off at exit") 234 #define SANE_TITLE_FOCUS SANE_I18N("Focus position") 235 #define SANE_TITLE_AUTOFOCUS SANE_I18N("Autofocus") 236 237 /* well known options from 'SENSORS' group*/ 238 #define SANE_TITLE_SCAN "Scan button" 239 #define SANE_TITLE_EMAIL "Email button" 240 #define SANE_TITLE_FAX "Fax button" 241 #define SANE_TITLE_COPY "Copy button" 242 #define SANE_TITLE_PDF "PDF button" 243 #define SANE_TITLE_CANCEL "Cancel button" 244 #define SANE_TITLE_PAGE_LOADED "Page loaded" 245 #define SANE_TITLE_COVER_OPEN "Cover open" 246 247 /* Descriptive/help strings for above options: */ 248 #define SANE_DESC_NUM_OPTIONS \ 249 SANE_I18N("Read-only option that specifies how many options a specific " \ 250 "device supports.") 251 252 #define SANE_DESC_STANDARD SANE_I18N("Source, mode and resolution options") 253 #define SANE_DESC_GEOMETRY SANE_I18N("Scan area and media size options") 254 #define SANE_DESC_ENHANCEMENT SANE_I18N("Image modification options") 255 #define SANE_DESC_ADVANCED SANE_I18N("Hardware specific options") 256 #define SANE_DESC_SENSORS SANE_I18N("Scanner sensors and buttons") 257 258 #define SANE_DESC_PREVIEW \ 259 SANE_I18N("Request a preview-quality scan.") 260 261 #define SANE_DESC_GRAY_PREVIEW \ 262 SANE_I18N("Request that all previews are done in monochrome mode. On a " \ 263 "three-pass scanner this cuts down the number of passes to one and on a " \ 264 "one-pass scanner, it reduces the memory requirements and scan-time of the " \ 265 "preview.") 266 267 #define SANE_DESC_BIT_DEPTH \ 268 SANE_I18N("Number of bits per sample, typical values are 1 for \"line-art\" " \ 269 "and 8 for multibit scans.") 270 271 #define SANE_DESC_SCAN_MODE \ 272 SANE_I18N("Selects the scan mode (e.g., lineart, monochrome, or color).") 273 274 #define SANE_DESC_SCAN_SPEED \ 275 SANE_I18N("Determines the speed at which the scan proceeds.") 276 277 #define SANE_DESC_SCAN_SOURCE \ 278 SANE_I18N("Selects the scan source (such as a document-feeder).") 279 280 #define SANE_DESC_BACKTRACK \ 281 SANE_I18N("Controls whether backtracking is forced.") 282 283 #define SANE_DESC_SCAN_TL_X \ 284 SANE_I18N("Top-left x position of scan area.") 285 286 #define SANE_DESC_SCAN_TL_Y \ 287 SANE_I18N("Top-left y position of scan area.") 288 289 #define SANE_DESC_SCAN_BR_X \ 290 SANE_I18N("Bottom-right x position of scan area.") 291 292 #define SANE_DESC_SCAN_BR_Y \ 293 SANE_I18N("Bottom-right y position of scan area.") 294 295 #define SANE_DESC_SCAN_RESOLUTION \ 296 SANE_I18N("Sets the resolution of the scanned image.") 297 298 #define SANE_DESC_SCAN_X_RESOLUTION \ 299 SANE_I18N("Sets the horizontal resolution of the scanned image.") 300 301 #define SANE_DESC_SCAN_Y_RESOLUTION \ 302 SANE_I18N("Sets the vertical resolution of the scanned image.") 303 304 #define SANE_DESC_PAGE_WIDTH \ 305 SANE_I18N("Specifies the width of the media. Required for automatic " \ 306 "centering of sheet-fed scans.") 307 308 #define SANE_DESC_PAGE_HEIGHT \ 309 SANE_I18N("Specifies the height of the media.") 310 311 #define SANE_DESC_CUSTOM_GAMMA \ 312 SANE_I18N("Determines whether a builtin or a custom gamma-table should be " \ 313 "used.") 314 315 #define SANE_DESC_GAMMA_VECTOR \ 316 SANE_I18N("Gamma-correction table. In color mode this option equally " \ 317 "affects the red, green, and blue channels simultaneously (i.e., it is an " \ 318 "intensity gamma table).") 319 320 #define SANE_DESC_GAMMA_VECTOR_R \ 321 SANE_I18N("Gamma-correction table for the red band.") 322 323 #define SANE_DESC_GAMMA_VECTOR_G \ 324 SANE_I18N("Gamma-correction table for the green band.") 325 326 #define SANE_DESC_GAMMA_VECTOR_B \ 327 SANE_I18N("Gamma-correction table for the blue band.") 328 329 #define SANE_DESC_BRIGHTNESS \ 330 SANE_I18N("Controls the brightness of the acquired image.") 331 332 #define SANE_DESC_CONTRAST \ 333 SANE_I18N("Controls the contrast of the acquired image.") 334 335 #define SANE_DESC_GRAIN_SIZE \ 336 SANE_I18N("Selects the \"graininess\" of the acquired image. Smaller values " \ 337 "result in sharper images.") 338 339 #define SANE_DESC_HALFTONE \ 340 SANE_I18N("Selects whether the acquired image should be halftoned (dithered).") 341 342 #define SANE_DESC_BLACK_LEVEL \ 343 SANE_I18N("Selects what radiance level should be considered \"black\".") 344 345 #define SANE_DESC_WHITE_LEVEL \ 346 SANE_I18N("Selects what radiance level should be considered \"white\".") 347 348 #define SANE_DESC_WHITE_LEVEL_R \ 349 SANE_I18N("Selects what red radiance level should be considered \"white\".") 350 351 #define SANE_DESC_WHITE_LEVEL_G \ 352 SANE_I18N("Selects what green radiance level should be considered \"white\".") 353 354 #define SANE_DESC_WHITE_LEVEL_B \ 355 SANE_I18N("Selects what blue radiance level should be considered \"white\".") 356 357 #define SANE_DESC_SHADOW \ 358 SANE_I18N("Selects what radiance level should be considered \"black\".") 359 #define SANE_DESC_SHADOW_R \ 360 SANE_I18N("Selects what red radiance level should be considered \"black\".") 361 #define SANE_DESC_SHADOW_G \ 362 SANE_I18N("Selects what green radiance level should be considered \"black\".") 363 #define SANE_DESC_SHADOW_B \ 364 SANE_I18N("Selects what blue radiance level should be considered \"black\".") 365 366 #define SANE_DESC_HIGHLIGHT \ 367 SANE_I18N("Selects what radiance level should be considered \"white\".") 368 #define SANE_DESC_HIGHLIGHT_R \ 369 SANE_I18N("Selects what red radiance level should be considered \"full red\".") 370 #define SANE_DESC_HIGHLIGHT_G \ 371 SANE_I18N("Selects what green radiance level should be considered \"full " \ 372 "green\".") 373 #define SANE_DESC_HIGHLIGHT_B \ 374 SANE_I18N("Selects what blue radiance level should be considered \"full " \ 375 "blue\".") 376 377 #define SANE_DESC_HUE \ 378 SANE_I18N("Controls the \"hue\" (blue-level) of the acquired image.") 379 380 #define SANE_DESC_SATURATION \ 381 SANE_I18N("The saturation level controls the amount of \"blooming\" that " \ 382 "occurs when acquiring an image with a camera. Larger values cause more " \ 383 "blooming.") 384 385 #define SANE_DESC_FILE \ 386 SANE_I18N("The filename of the image to be loaded.") 387 388 #define SANE_DESC_HALFTONE_DIMENSION \ 389 SANE_I18N("Sets the size of the halftoning (dithering) pattern used when " \ 390 "scanning halftoned images.") 391 392 #define SANE_DESC_HALFTONE_PATTERN \ 393 SANE_I18N("Defines the halftoning (dithering) pattern for scanning " \ 394 "halftoned images.") 395 396 #define SANE_DESC_RESOLUTION_BIND \ 397 SANE_I18N("Use same values for X and Y resolution") 398 #define SANE_DESC_NEGATIVE \ 399 SANE_I18N("Swap black and white") 400 #define SANE_DESC_QUALITY_CAL \ 401 SANE_I18N("Do a quality white-calibration") 402 #define SANE_DESC_DOR \ 403 SANE_I18N("Use lens that doubles optical resolution") 404 #define SANE_DESC_RGB_BIND \ 405 SANE_I18N("In RGB-mode use same values for each color") 406 #define SANE_DESC_THRESHOLD \ 407 SANE_I18N("Select minimum-brightness to get a white point") 408 #define SANE_DESC_ANALOG_GAMMA \ 409 SANE_I18N("Analog gamma-correction") 410 #define SANE_DESC_ANALOG_GAMMA_R \ 411 SANE_I18N("Analog gamma-correction for red") 412 #define SANE_DESC_ANALOG_GAMMA_G \ 413 SANE_I18N("Analog gamma-correction for green") 414 #define SANE_DESC_ANALOG_GAMMA_B \ 415 SANE_I18N("Analog gamma-correction for blue") 416 #define SANE_DESC_ANALOG_GAMMA_BIND \ 417 SANE_I18N("In RGB-mode use same values for each color") 418 #define SANE_DESC_WARMUP \ 419 SANE_I18N("Warm up lamp before scanning") 420 #define SANE_DESC_CAL_EXPOS_TIME \ 421 SANE_I18N("Define exposure-time for calibration") 422 #define SANE_DESC_CAL_EXPOS_TIME_R \ 423 SANE_I18N("Define exposure-time for red calibration") 424 #define SANE_DESC_CAL_EXPOS_TIME_G \ 425 SANE_I18N("Define exposure-time for green calibration") 426 #define SANE_DESC_CAL_EXPOS_TIME_B \ 427 SANE_I18N("Define exposure-time for blue calibration") 428 #define SANE_DESC_SCAN_EXPOS_TIME \ 429 SANE_I18N("Define exposure-time for scan") 430 #define SANE_DESC_SCAN_EXPOS_TIME_R \ 431 SANE_I18N("Define exposure-time for red scan") 432 #define SANE_DESC_SCAN_EXPOS_TIME_G \ 433 SANE_I18N("Define exposure-time for green scan") 434 #define SANE_DESC_SCAN_EXPOS_TIME_B \ 435 SANE_I18N("Define exposure-time for blue scan") 436 #define SANE_DESC_SELECT_EXPOSURE_TIME \ 437 SANE_I18N("Enable selection of exposure-time") 438 #define SANE_DESC_CAL_LAMP_DEN \ 439 SANE_I18N("Define lamp density for calibration") 440 #define SANE_DESC_SCAN_LAMP_DEN \ 441 SANE_I18N("Define lamp density for scan") 442 #define SANE_DESC_SELECT_LAMP_DENSITY \ 443 SANE_I18N("Enable selection of lamp density") 444 #define SANE_DESC_LAMP_OFF_AT_EXIT \ 445 SANE_I18N("Turn off lamp when program exits") 446 #define SANE_DESC_FOCUS \ 447 SANE_I18N("Focus position for manual focus") 448 #define SANE_DESC_AUTOFOCUS \ 449 SANE_I18N("Perform autofocus before scan") 450 451 /* well known options from 'SENSORS' group*/ 452 #define SANE_DESC_SCAN SANE_I18N("Scan button") 453 #define SANE_DESC_EMAIL SANE_I18N("Email button") 454 #define SANE_DESC_FAX SANE_I18N("Fax button") 455 #define SANE_DESC_COPY SANE_I18N("Copy button") 456 #define SANE_DESC_PDF SANE_I18N("PDF button") 457 #define SANE_DESC_CANCEL SANE_I18N("Cancel button") 458 #define SANE_DESC_PAGE_LOADED SANE_I18N("Page loaded") 459 #define SANE_DESC_COVER_OPEN SANE_I18N("Cover open") 460 461 /* Typical values for stringlists (to keep the backends consistent) */ 462 #define SANE_VALUE_SCAN_MODE_COLOR SANE_I18N("Color") 463 #define SANE_VALUE_SCAN_MODE_COLOR_LINEART SANE_I18N("Color Lineart") 464 #define SANE_VALUE_SCAN_MODE_COLOR_HALFTONE SANE_I18N("Color Halftone") 465 #define SANE_VALUE_SCAN_MODE_GRAY SANE_I18N("Gray") 466 #define SANE_VALUE_SCAN_MODE_HALFTONE SANE_I18N("Halftone") 467 #define SANE_VALUE_SCAN_MODE_LINEART SANE_I18N("Lineart") 468 469 #endif /* saneopts_h */ 470