Do not guess the coordinates of the scan area corners, but ask the scanner: scanimage -d vendor:/dev/my_scanner -v -h reports the scan margins. Regards, Ulrich Deiters