Since switching from epson-sane-backend to net-print/hplip with a LaserJet pro 200 color I can not scan small images. don't work: scanimage -y 49 -x 48 --format=pnm > aktuell.pnm scanimage: sane_start: Invalid argument --------------------------------------------------- work: scanimage -y 49 -x 49 --format=pnm > aktuell.pnm --------------------------------------------------- He has the same problem: https://sejh.wordpress.com/2014/11/07/xsane-konnte-scanner-nicht-starten-ungultiges-argument/ Reproducible: Always Steps to Reproduce: 1.scanimage -y 49 -x 48 --format=pnm > aktuell.pnm Actual Results: scanimage: sane_start: Invalid argument Expected Results: should scan scanimage -L device `hpaio:/net/HP_LaserJet_200_colorMFP_M276n?ip=192.168.1.11' is a Hewlett-Packard HP_LaserJet_200_colorMFP_M276n all-in-one --------------------------------------------------- hp-query -a -d "hp:/net/HP_LaserJet_200_colorMFP_M276n?ip=192.168.1.11" align-type=0 clean-type=0 color-cal-type=0 copy-type=0 embedded-server-type=0 fax-type=7 fw-download=False icon=hp_color_laserjet_cm1312_mfp.png io-mfp-mode=1 io-mode=1 io-support=6 job-storage=0 linefeed-cal-type=0 model1=HP LaserJet Pro 200 color MFP M276n monitor-type=0 panel-check-type=0 pcard-type=0 plugin=1 plugin-reason=64 power-settings=0 ppd-name=laserjet_200_colormfp_m276 pq-diag-type=0 r-type=0 r0-agent1-kind=4 r0-agent1-sku=CF210A/CF210X r0-agent1-type=1 r0-agent2-kind=4 r0-agent2-sku=CF211A r0-agent2-type=4 r0-agent3-kind=4 r0-agent3-sku=CF213A r0-agent3-type=5 r0-agent4-kind=4 r0-agent4-sku=CF212A r0-agent4-type=6 scan-src=3 scan-type=5 status-battery-check=0 status-dynamic-counters=0 status-type=10 support-released=True support-subtype=2202411 support-type=2 support-ver=3.12.9 tech-class=['Postscript'] tech-subclass=['Normal'] tech-type=4 usb-pid=4650 usb-vid=1008 wifi-config=0 -------------------------------------------- emerge --info Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.4, glibc-2.20-r2, 3.18.11-gentoo x86_64) ================================================================= System uname: Linux-3.18.11-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.2 KiB Mem: 4046972 total, 961228 free KiB Swap: 4194300 total, 4194300 free Timestamp of repository gentoo: Sat, 02 May 2015 14:45:01 +0000 sh dash 0.5.7.4 ld GNU ld (Gentoo 2.24 p1.4) 2.24 ccache version 3.1.9 [enabled] app-shells/bash: 4.2_p53::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo dev-util/ccache: 3.1.9-r4::gentoo dev-util/cmake: 2.8.12.2-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.13.11::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.8.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: -1000 science location: /var/lib/layman/science masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE PUEL dlj-1.1 AdobeFlash-11.x" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/latex2html /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/texmf-site/tex/latex/html /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS=" -j3 --load-average 3" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://de-mirror.org/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.netcologne.de/gentoo/" LANG="de_DE@euro" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 amr apache2 avahi berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cupsddk cxx dbus dri dts dvd dvdr dvi emboss encode exif fam firefox flac fortran g3dvl gd gdbm gif gimp glamor gnutls gpm gstreamer gtk gtk3 hddtemp hpcups hunspell iconv ipv6 java jpeg jpg latex lcdfilter lcms libnotify lm_sensors lyx mad midi mime mmx mmxext mng modules mono mp3 mp4 mpeg mtp multilib ncurses nls nptl nsplugin nvidia odbc odf ogg opencl opengl openmp pam pango pcre pdf png policykit ppds python qt3support raw readline scanner sdl session smp snmp spell sse sse2 ssl startup-notification svg symlink system-cairo system-icu system-jpeg system-libvpx system-sqlite tcpd theora thunar thunderbird tiff truetype udev udisks unicode upower usb uvm vorbis win32codecs wmf wxwidgets x264 xcb xinerama xml xpm xscreensaver xv xvid xvmc zip zlib zsh-completion" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON -----------------------------------------------
I can not reproduce this issue here, so this looks like a device specific issue. It is probably better to report this issue at the upstream bug tracker (https://bugs.launchpad.net/hplip/). Another thing to check! Your device seems to require a binary plugin. Please make sure it is installed correctly.
(In reply to Daniel Pielmeier from comment #1) > I can not reproduce this issue here, so this looks like a device specific > issue. It is probably better to report this issue at the upstream bug > tracker (https://bugs.launchpad.net/hplip/). I did it. https://bugs.launchpad.net/hplip/+bug/1451980
Do you still have this problem with current hplip?