Oliver Rauch wrote:
David Paschal wrote:
Or did you mean to say that the backend uses int instead of float? :-)
So if the float-int round-up is the problem, then I should change the
backend to use SANE_TYPE_FIXED(=2) for the geometry options fix this
problem.
This would solve the
David Paschal wrote:
Hi, Oliver. With the hpoj backend (http://hpoj.sourceforge.net), xsane
(0.86, 0.84, and likely other versions as well) gets into a state of
infinite recursion when you switch from Scan to either Copy or Fax mode.
The reason for this is simple and ugly. The version of
David Paschal wrote:
Actually, that's not true:
[xsane] xsane_get_option_descriptor(11)
hpoj:mlc:usb:officejet_d_series: sane_hpoj_get_option_descriptor(option=11)
hpoj:mlc:usb:officejet_d_series: option=11 name=tl-x
type=1 unit=3 size=4 cap=0x45 ctype=1
^^
According
Oliver Rauch wrote:
The reason for this is simple and ugly. The version of the hpoj backend
you use defines the geometry options as float but when the frontend sets
a geometry value to e.g. 13.8 then the backend corrects this to 14.0
Actually, that's not true:
[xsane]