I am trying to read the scan property on my Ricoh fi-8170 because it contains whether the scan button has been pressed. However, this is currently the result.

I figured the easiest way to fix this for my specific use case was to copy this library's sane.py to my project and remove the scan function since it is just a helper function.