Comment 8 for bug 1086562

Revision history for this message
Charles Peters II (cp) wrote :

I was trying to scan with xsane and ran into an error...
 Failed to set value of option tl-x: invalid argument.

I also tried installing hplip-3.12.11.run and same results.

cp@o32:/tmp$ hp-scan -g -otest.jpg --size=letter

HP Linux Imaging and Printing System (ver. 3.12.11)
Scan Utility ver. 2.2

Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

hp-scan[9276]: debug: getDeviceUri(None, None, ['hpaio'], {'scan-type': (<built-in function gt>, 0)}, , True)
hp-scan[9276]: debug: Mode=0
WARNING: gnome-keyring:: couldn't connect to: /run/user/cp/keyring-4P25sf/pkcs11: No such file or directory
hp-scan[9276]: debug: Device URI dnssd://Brother%20HL-2170W%20series._printer._tcp.local/ is invalid/unknown
hp-scan[9276]: debug: Exception: 4 (Unknown/invalid device-uri field)
hp-scan[9276]: debug: hp:/net/HP_Color_LaserJet_CM1017?ip=192.168.2.14: back_end:hp is_hp:True bus:net model:HP_Color_LaserJet_CM1017 serial: dev_file: host:192.168.2.14 zc: port:1
hp-scan[9276]: debug: Cache miss: hp_color_laserjet_cm1017
hp-scan[9276]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-scan[9276]: debug: Searching for section [hp_color_laserjet_cm1017] in file /usr/share/hplip/data/models/models.dat
hp-scan[9276]: debug: Found section [hp_color_laserjet_cm1017] in file /usr/share/hplip/data/models/models.dat
hp-scan[9276]: debug: hp:/net/HP_Color_LaserJet_CM1017?ip=192.168.2.14: back_end:hp is_hp:True bus:net model:HP_Color_LaserJet_CM1017 serial: dev_file: host:192.168.2.14 zc: port:1
hp-scan[9276]: debug: {'hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.2.14': ['HP_Color_LaserJet_CM1017', 'HP_Color_LaserJet_CM1017_2']}
Using device: hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.2.14

Using device hpaio:/net/HP_Color_LaserJet_CM1017?ip=192.168.2.14
Opening connection to device...
warning: Invalid value for tl-x (tl-x < min value of 215). Using 215.
error: Unable to set option tl-x to value 215.899993896
warning: Invalid value for tl-y (tl-y < min value of 296). Using 296.
error: Unable to set option tl-y to value 296.925994873
warning: Invalid value for br-x (br-x < min value of 215). Using 215.
error: Unable to set option br-x to value 215.899993896
warning: Invalid value for br-y (br-y < min value of 25966). Using 25966.
error: Unable to set option br-y to value 25966.4113159
hp-scan[9276]: debug: Device supported resolutions [75, 100, 150, 200, 300, 600, 1200]
error: Invalid scan area (width or height is negative).