Comment 0 for bug 879347

Revision history for this message
kaktux (kaktux) wrote : ADF Duplex not working

About the used source:
I installed pct-scanner scripts through muon package manager - normal ubuntu respository.
http://packages.ubuntu.com/oneiric/pct-scanner-scripts

Answer to 1) lsb_release -rd:
Description: Ubuntu 11.10 (actually it´s Kubuntu)
Release: 11.10
Scanner: HP Scanjet 5590

Answer to 2) apt-cache policy pct-scanner-scripts:
  Installiert: 0.0.4-3ubuntu1
  Kandidat: 0.0.4-3ubuntu1
  Versionstabelle:
 *** 0.0.4-3ubuntu1 0
        500 http://de.archive.ubuntu.com/ubuntu/ oneiric/universe i386 Packages
        100 /var/lib/dpkg/status

Answer to 3) to scan the documents
Answer to 4)weird error messages appeard (see below)

Additional info: pct-scanner-script --search output:
searching for scanadf scanners and there options, please standby ...
Usage: scanadf [OPTION]...

Start image acquisition on a scanner device and write image data to
output files.

   [ -d | --device-name <device> ] use a given scanner device.
   [ -h | --help ] display this help message and exit.
   [ -L | --list-devices ] show available scanner devices.
   [ -v | --verbose ] give even more status messages.
   [ -V | --version ] print version information.
   [ -N | --no-overwrite ] don't overwrite existing files.

   [ -o | --output-file <name> ] name of file to write image data
                                     (%d replacement in output file name).
   [ -S | --scan-script <name> ] name of script to run after every scan.
   [ --script-wait ] wait for scripts to finish before exit
   [ -s | --start-count <num> ] page count of first scanned image.
   [ -e | --end-count <num> ] last page number to scan.
   [ -r | --raw ] write raw image data to file.

Options specific to device `hp5590:libusb:005:002':
    -l 0..215.889mm (in steps of 0.0999908) [0]
        Top-left x position of scan area.
    -t 0..297.699mm (in steps of 0.0999908) [0]
        Top-left y position of scan area.
    -x 0..215.889mm (in steps of 0.0999908) [215.889]
        Width of scan-area.
    -y 0..297.699mm (in steps of 0.0999908) [297.699]
        Height of scan-area.
    --mode Color|Gray|Lineart [Lineart]
        Selects the scan mode (e.g., lineart, monochrome, or color).
    --source Flatbed|ADF|ADF Duplex [Flatbed]
        Selects the scan source (such as a document-feeder).
    --resolution 100|200|300|600|1200|2400dpi [100]
        Sets the resolution of the scanned image.
    --extend-lamp-timeout[=(yes|no)] [no]
        Extends lamp timeout (from 15 minutes to 1 hour)
    --wait-for-button[=(yes|no)] [no]
        Waits for button before scanning
    --preview[=(yes|no)] [no]
        Request a preview-quality scan.

Type ``scanadf --help -d DEVICE'' to get list of all options for DEVICE.

List of available devices:
    hp5590:libusb:005:002

Firs problem: ADF-Duplex does not work-
Scanning with --source flatbed or --source ADF works just fine.
But when trying ADF Duplex it doesn work at all.
No problems with the scanner in other programms (for example gscan2pdf) - and as --search recognizes ADF Duplex it seems to be available.

For example:
pct-scanner-script --color --source ADF Duplex --resolution 300 --device hp5590:libusb:002:004 --outdir /home/kaktux
resolves in the message:
"outdir not set, try adding --outdir /home/kaktux, closing now"
while exactly the same example with ADF only:
pct-scanner-script --color --source ADF --resolution 300 --device hp5590:libusb:002:004 --outdir /home/kaktux
works just fine.

Second problem: lineart does not work-
Another thing is that -using exactly the same code/command line as above but replacing color with lineart - it won't work (neither ADF nor Flatbed, nor ADF Duplex).
It just gives the error message:
"scanadf: unrecognized option '--compression'"

But there is no such thing as compression mentioned anywhere (for example in /etc/pct-scanner-script.conf).

As mentioned above - works also fine with other programs (which sadly don't support segmented djvu)