Use this script to scan your document using http. Just put your ip address in the printer worflow file destination and run scan.sh as root.