Re: Automatic Feed Scanner

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2008-11-22 at 15:28 -0200, Newton wrote:
Dear Friends :
I'll present an Automatic Scanning Management Document Project, and I would like to know if yours, with Automatic Feed Scanner experience, could be point a really good functional model ! I tried SANE, but I want experience ! For my personal, I tried models, without success

If your scsnner is on a network, scanimage needs to be told where to find it. It will then control the ADF (document feeder). And the printer should be on a fixed IP address. Here is my script: runs great with an HP3055 Multifunction printer. And the output tif's are easily fed to gscan2pdf to create a pdf file if you need to.

Here is my script:
#!/bin/bash
# ADF Scan for counted pages

# set the IP address of the scanner

export hpaio=hpaio:/net/HP_LaserJet_3055?ip=192.168.1.12

if [ "$1" = "" ] || [ "$2" = "" ] || [ "$3" = "" ] || [ "$4" = "" ] || [ "$5" = "" ] || [ "$1" = "-h" ] || [ "$1" = "--h" ] || [ "$1" = "--help" ] ;
 then
 echo -e "      ** Missing Command Parameters ** \n"
 echo -e "      This script takes five parameters:\n"
 echo -e "      1 The pathname of the folder in which to store the scans."
 echo -e "      2 The preliminary portion of the file name."
 echo -e "      3 The starting number portion of the file name."
 echo -e "      4 The number of scans to take."
 echo -e "      5 The increment of the number portion."
echo -e " scanner /tmp/scans/ testA 1 5 1 scans and saves 5 pages \n" echo -e " Use Increment= -2 to step downwards when scanning doublesided."
 exit;
fi
cd $1
 echo -e "      Please wait while scanning commences.......\n"
# letter is -y 280, legal is -y 355 in the next line
scanimage --device-name=$hpaio --format=tif --mode lineart --resolution 150 -x 216 -y 280 -v --batch=$2%d.tif --batch-start=$3 --batch-count=$4 --batch-increment=$5


Geoff

 Please let me know if anything I say offends you.
         I may wish to offend you again in the future.

         Tux says: "Be regular. Eat cron flakes."

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux