Mam skaner HP G3110, jest z nim jednak jeden mały problem.
Popatrzcie:
http://imgur.com/a/jWNuM
Pierwszy obrazek to skan z Linuksa, drugi był robiony na Windowsie7. Różnica jest widoczna gołym okiem. Za każdym razem na Linuksie skan jest "niebieskawy".
Trochę szczegółów:
Kod: Zaznacz cały
Debian Wheezy
Linux debian 3.2.0-4-686-pae #1 SMP Debian 3.2.51-1 i686 GNU/Linux
Kod: Zaznacz cały
dpkg -l | grep sane
ii libsane:i386 1.0.22-7.4 i386 API library for scanners
ii libsane-common 1.0.22-7.4 i386 API library for scanners -- documentation and support files
ii libsane-extras:i386 1.0.22.2 i386 API library for scanners -- extra backends
ii libsane-extras-common 1.0.22.2 i386 API library for scanners -- documentation and support files
ii libsane-hpaio 3.12.6-3.1 i386 HP SANE backend for multi-function peripherals
ii sane 1.0.14-9 i386 scanner graphical frontends
ii sane-utils 1.0.22-7.4 i386 API library for scanners -- utilities
ii xsane 0.998-3+b1 i386 featureful graphical frontend for SANE (Scanner Access Now Easy)
ii xsane-common 0.998-3 all featureful graphical frontend for SANE (Scanner Access Now Easy)
Kod: Zaznacz cały
scanimage -L
device `hp3900:libusb:001:005' is a Hewlett-Packard Scanjet G3110 flatbed scanner
Polecenie:
Kod: Zaznacz cały
scanimage --help -d hp3900:libusb:001:005Kod: Zaznacz cały
Usage: scanimage [OPTION]...
Start image acquisition on a scanner device and write image data to
standard output.
Parameters are separated by a blank from single-character options (e.g.
-d epson) and by a "=" from multi-character options (e.g. --device-name=epson).
-d, --device-name=DEVICE use a given scanner device (e.g. hp:/dev/scanner)
--format=pnm|tiff file format of output file
-i, --icc-profile=PROFILE include this ICC profile into TIFF file
-L, --list-devices show available scanner devices
-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output
can be specified: %d (device name), %v (vendor),
%m (model), %t (type), %i (index number), and
%n (newline)
-b, --batch[=FORMAT] working in batch mode, FORMAT is `out%d.pnm' or
`out%d.tif' by default depending on --format
--batch-start=# page number to start naming files with
--batch-count=# how many pages to scan in batch mode
--batch-increment=# increase page number in filename by #
--batch-double increment page number by two, same as
--batch-increment=2
--batch-prompt ask for pressing a key before scanning a page
--accept-md5-only only accept authorization requests using md5
-p, --progress print progress messages
-n, --dont-scan only set options, don't actually scan
-T, --test test backend thoroughly
-A, --all-options list all available backend options
-h, --help display this help message and exit
-v, --verbose give even more status messages
-B, --buffer-size=# change input buffer size (in kB, default 32)
-V, --version print version information
[B]Options specific to device `hp3900:libusb:001:005':[/B]
Geometry:
-l 0..220mm (in steps of 1) [0]
Top-left x position of scan area.
-t 0..300mm (in steps of 1) [0]
Top-left y position of scan area.
-x 0..220mm (in steps of 1) [220]
Width of scan-area.
-y 0..300mm (in steps of 1) [300]
Height of scan-area.
--resolution 50|75|100|150|200|300|600|1200|2400|4800dpi [50]
Sets the resolution of the scanned image.
--red-gamma-table 0..65535,...
Gamma-correction table for the red band.
--green-gamma-table 0..65535,...
Gamma-correction table for the green band.
--blue-gamma-table 0..65535,...
Gamma-correction table for the blue band.
--source Flatbed|Slide|Negative [Flatbed]
Selects the scan source (such as a document-feeder).
--mode Color|Gray|Lineart [Color]
Selects the scan mode (e.g., lineart, monochrome, or color).
--depth 8|16bit [8]
Number of bits per sample, typical values are 1 for "line-art" and 8
for multibit scans.
--threshold 0..255 [inactive]
Select minimum-brightness to get a white point
Debugging Options:
--opt_model HP3800|HP3970|HP4070|HP4370|UA4900|HPG3010|BQ5550|HPG2710|HPG3110 [HP3800]
Allows to test device behaviour with other supported models
--opt_negative[=(yes|no)] [no]
Image colours will be inverted
--opt_nogamma[=(yes|no)] [no]
Gamma correction will be disabled
--opt_nowshading[=(yes|no)] [no]
White shading correction will be disabled
--opt_realdepth[=(yes|no)] [no]
If gamma is enabled, scans are always made in 16 bits depth to improve
image quality and then converted to the selected depth. This option
avoids depth emulation.
--opt_emulategray[=(yes|no)] [no]
If enabled, image will be scanned in color mode and then converted to
grayscale by software. This may improve image quality in some
circumstances.
--opt_nowarmup[=(yes|no)] [no]
Warmup process will be disabled
--opt_dbgimages[=(yes|no)] [no]
If enabled, some images involved in scanner processing are saved to
analyze them.
scanimage: invalid option caps, SS!SD
Information:
scanimage: invalid option caps, SS!SD
Sensors:
Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
List of available devices:
v4l:/dev/video0 hp3900:libusb:001:005
Testowałem z różnymi opcjami. Raz obrazek wyjdzie bardziej niebieski, raz mniej niebieski. Ale nigdy nie biały.
Czy ktoś ma doświadczenie ze skanerami i tego typu podobnymi tematami? Znalazłem gdzieś w internecie podobny problem, z tym skanerem, ale nie było żadnej odpowiedzi na ten temat, niestety.
Znalazłem takie coś http://www.sane-project.org/man/sane-hp3900.5.html ale jak się do tego zastosuję, to skaner przestaje być widoczny w ogóle, więc raczej to odpada.