Skip to main content

Thread: scanimage: Why is it not working right (forced default geometry)


edit:
1st command fails second command works
code:
chad@lucid-desktop:~$ scanimage -d "hpaio:/usb/deskjet_2050_j510_series?serial=cn14d3n0pq05d1" -l 0 -t 0 -x 215.9 -y 297.011 --resolution 75 --mode color --format=ppm > ~/desktop/scan.ppm scanimage: setting of option --br-y failed (invalid argument) chad@lucid-desktop:~$ scanimage -d "hpaio:/usb/deskjet_2050_j510_series?serial=cn14d3n0pq05d1" --resolution 75 --mode color --format=ppm > ~/desktop/scan.ppm chad@lucid-desktop:~$
end edit
fails scanimage: setting of option --br-y failed (invalid argument)
code:
scanimage -d "hpaio:/usb/deskjet_2050_j510_series?serial=cn14d3n0pq05d1" -l 0 -t 0 -x 215.9 -y 297.011 --resolution 75 --mode color --format=ppm > ~/desktop/scan.ppm
this should same thing as
code:
scanimage -d "hpaio:/usb/deskjet_2050_j510_series?serial=cn14d3n0pq05d1" --resolution 75 --mode color --format=ppm  > ~/desktop/scan.ppm
since merely specified use default size

if use 297.01 -y works not 297.011 why can't tell include 1/100 of millimeter manually can automatically
using form script , scanners defaults not full scan have force full size full scan
code:
from umax 3450 flatbed scanner     -l 0..215mm [0]         top-left x position of scan area.     -t 0..297mm [0]         top-left y position of scan area.     -x 0..215mm [103]         width of scan-area.     -y 0..297mm [76.21]         height of scan-area.
code:
usage: scanimage [option]...  start image acquisition on scanner device , write image data standard output.  parameters separated blank single-character options (e.g. -d epson) , "=" multi-character options (e.g. --device-name=epson). -d, --device-name=device   use given scanner device (e.g. hp:/dev/scanner)     --format=pnm|tiff      file format of output file -i, --icc-profile=profile  include icc profile tiff file -l, --list-devices         show available scanner devices -f, --formatted-device-list=format similar -l, format of output                            can specified: %d (device name), %v (vendor),                            %m (model), %t (type), %i (index number), ,                            %n (newline) -b, --batch[=format]       working in batch mode, format `out%d.pnm' or                            `out%d.tif' default depending on --format     --batch-start=#        page number start naming files     --batch-count=#        how many pages scan in batch mode     --batch-increment=#    increase page number in filename #     --batch-double         increment page number two, same                            --batch-increment=2     --batch-prompt         ask pressing key before scanning page     --accept-md5-only      accept authorization requests using md5 -p, --progress             print progress messages -n, --dont-scan            set options, don't scan -t, --test                 test backend thoroughly -h, --help                 display message , exit -v, --verbose              give more status messages -b, --buffer-size=#        change input buffer size (in kb, default 32) -v, --version              print version information  options specific device `hpaio:/usb/deskjet_2050_j510_series?serial=cn14d3n0pq05d1':   scan mode:     --mode lineart|gray|color [color]         selects scan mode (e.g., lineart, monochrome, or color).     --resolution 75|100|200|300|600|1200dpi [75]         sets resolution of scanned image.     --source flatbed [flatbed]         selects scan source (such document-feeder).   advanced:     --contrast -127..127 [0]         controls contrast of acquired image.     --compression jpeg [jpeg]         selects scanner compression method faster scans, possibly @         expense of image quality.     --jpeg-quality 0..100 [inactive]         sets scanner jpeg compression factor. larger numbers mean better         compression, , smaller numbers mean better image quality.   geometry:     -l 0..215.9mm [0]         top-left x position of scan area.     -t 0..297.011mm [0]         top-left y position of scan area.     -x 0..215.9mm [215.9]         width of scan-area.     -y 0..297.011mm [297.011]         height of scan-area.  type ``scanimage --help -d device'' list of options device.  list of available devices:     plustek:libusb:003:002     hpaio:/usb/deskjet_2050_j510_series?serial=cn14d3n0pq05d1

anyone have idea?
edit
if set y on
297.01068878173825282^9
gives error , not scan
default scan size y 297.011


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] scanimage: Why is it not working right (forced default geometry)


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support