>Ed Greshko <ed.greshko@xxxxxxxxxxx> wrote:
>Well, it is possible that the printers are defined such that cups can
>access them but not
>in such a way that hplip recognizes them.
The scanner portion of the All-In-One machines is not handled by cups.
If the OP runs hp-setup, selects 'Network' then 'Advanced' and 'Manual
Discovery' and enters the IP address of the printer, it will be
discovered, and the URI will be shown, something like:
Model Host Name Device URI
HP Laserjet 3055 192.168.1.12 hp:/net/HP_Laserjet_3055?ip=192.168.1.12
Write down the URI. You can continue to set up the printer and fax as
you wish. Your system now knows where the scanner 'is' and hp-scan
should work without specifying the --device=<name> parameter.
HP-scan appears to only do one page at a time. You cannot use the adf
feature and get tiff/png outputs.
The hp scanning structure (and Hp-scan) is SANE based so scanimage is
instakked and works. It is easy to use in a script so you don't have to
remember the settings! Batch settings allow you to set the page start,
page count and count direction: +2 for the front of double sided pages
and -2 for the stack flipped over. These are not available with hp-scan.
Note that the command api is NOT the same with hp-scan, nor as featured.
My record is something above 300 pages in one pass with scanimage.
gscan2pdf is used to create the pdf file later, maybe after a pass using
unpaper to straighten the images, adjust contrast or whatever.
##################
##!/bin/bash
# script 'scanner'
export hp="hp:/net/HP_LaserJet_3055?ip=192.168.1.12"
# takes 5 parameters
cd $1
echo -e " Please wait while scanning commences.......\n"
# letter is -y 280, legal is -y 355
scanimage --device-name=$hp --source auto --resolution 150 --format
tiff --mode Color --contrast 125 -x 220 -y 290 --batch=$2%d.tiff
--batch-start=$3 --batch-count=$4 --batch-increment=$5
###############
Geoff
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx