Adjusting scan settings

Adjusting scan settings using XSane or OpenOffice.org

Depending on the application, do either of the following to access the scan options:

Use

To

Content Type or content-type

Select the document type.

the XSane scan resolution setting icon or scan-resolution

Select a scan resolution.

Resolutions for all the printers are displayed as options. Make sure the printer supports the resolution you select.

Note: The XSane scan resolution setting icon is found on the XSane main dialog.

the XSane color depth setting icon or mode

Select a color depth.

Note: The XSane color depth setting is found on the XSane main dialog.

Original Size or original-size

Select a document size.

Document sizes for all the printers are displayed as options. Make sure the printer supports the size you select.

Scan both sides or scan-both-sides

Perform a duplex scan.

Notes:

  • Make sure that the printer has a duplex scanner and an Automatic Document Feeder (ADF).
  • Make sure to load the document into the ADF.
  • The duplex scanner and the ADF are available only in select models.

orientation or Orientation

Select a portrait or landscape orientation.

the XSane brightness setting icon or brightness

Select a brightness setting.

Note: The XSane brightness setting icon is found on the XSane main dialog.

the XSane contrast setting icon or contrast

Select a contrast setting.

Note: The XSane contrast setting icon icon is found on the XSane main dialog.

the XSane single or multiple pages selection icon or source

Scan a single-sheet or a multiple-page document.

Note: The XSane single or multiple pages selection icon is found on the XSane main dialog.

the XSane negative setting icon or Invert pixel values

Invert pixel values.

Note: The XSane negative setting icon is found on the XSane main dialog.

Background Removal

Remove smudges and light background shading when scanning color documents.

Note: Background Removal is available only in XSane.

Color Dropout

Select a color to remove.

Note: Color Dropout is available only in XSane.

Color Dropout Threshold

Select a color dropout quality.

Note: Color Dropout Threshold is available only in XSane.

Mirror Image

Produce a mirror image of the document.

Note: Mirror Image is available only in XSane.

Note: Your printer may not support all the options. For more information, see the printer Extended User Guide.

Adjusting scan settings using scanimage

Some of the values are available only in select printer models.

Scanimage is a command-line-only application that uses the first scanner found and the default scan settings. A command initiates the scan and stores the image in TIFF or PXM format. You can provide command-line options to specify the scan settings.

For example, to initiate scanning of a legal-size document, type scanimage original-size=Legal > /tmp/image.pxm in the command line, and then press Enter.

To

Type

Command

Value

Specify the printer

-d [device_name]

[device_name]

Select the document type

content-type

Text

Text/Graphics

Photo

Select a scan resolution

Note: Resolutions for all the printers are displayed as options.

scan-resolution

75

100

150

200

300

400

600

1200

Note: Make sure the printer supports the resolution you select.

Select a color depth

mode

1-bit Black & White

8-bit Grayscale

24-bit Color

Specify the document size

Note: Document sizes for all the printers are displayed as options.

original-size

Letter

Executive

Legal

A3

A4

A5

A6

B4

B5

Tabloid

Oficio (Mexico)

Folio

Statement

Universal

Custom Scan Size

ID Card

3x5 Photo

4x6 Photo

Business Card

Book Original

Auto Size

Mixed Size

3x5 in

3.5x5 in

4x6 in

4x8 in

5x7 in

8x10 in

9x13 cm

10x15 cm

10x20 cm

13x18 cm

20x25 cm

L

2L

Hagaki

Note: Make sure the printer supports the size you select.

Specify the document being scanned

document-source

Black and White Laser

Color Laser

Inkjet Plain

Inkjet Glossy

Retail Photo

Photo

Magazine

Newspaper

Press

Auto/Other

Notes:

  • Make sure the printer supports the size you select.
  • The printer uses the default values if the option is not supported.

Perform a duplex scan

scan-both-sides

no

yes

Notes:

  • Make sure your printer has a duplex scanner and an Automatic Document Feeder (ADF).
  • Make sure to load the document into the ADF.
  • The duplex scanner and ADF are available only in select printer models.

Select a portrait or landscape orientation

orientation

portrait

landscape

Select a brightness setting

brightness

1–9

Select a contrast setting

contrast

0–5

Scan a single-page or multiple-page document

source

Single Page

Multiple Pages

Invert pixel values

negative-image

no

yes

Remove smudges and light background shading when scanning color documents

background-removal

-4–+4

Specify a color to remove

color-dropout

None

Red

Green

Blue

Select a color dropout quality

color-dropout-threshold

0–254

Produce a mirror image of the document

mirror-image

no

yes

Notes:

Setting default scan options

All default scan options are stored in the scan driver configuration file, /etc/sane.d/prink_nscan.conf. Changing the values in the scan driver configuration file changes the default settings. The settings are reflected in the application.

XSane stores the most recently used scan settings in the ${HOME}/.sane/xsane directory. In order for XSane to reflect the changes you made in the scan driver configuration file, do the following:

  1. Close XSane in the application.

  2. On a terminal window, type the following, and then press Enter:

    rm -f ${HOME}/.sane/xsane/*.drc

  3. Type xsane, and then press Enter