How to scan a page with the ScanSnap S510 on Ubuntu Linux
Run on Ubuntu Precise 12.04
#!/usr/bin/env python
"""
usage: insert paper into scanner, then run "python scandoc.py"
"""
import os
cmd = ' '.join([
# 'sudo',
'scanimage',
# '--device-name=fujitsu:libusb:007:030',
'--source "ADF Duplex"',
'--mode Color',
'-v',
'--resolution 200',
'--y-resolution 200',
'--batch',
])
os.system(cmd)