Hi everybody, I just found a way to use a scanner with OTC; so I'm sharing !
Context ------- I'm using OTC to open RDP sessions on Windows. Users don't see OTC at all (except during boot and shutdown). I had a Windows XP box dedicated for the scanner :-( Idea ---- Install Sane and scanbuttond on OTC and transfer the scan result to a Linux box with SSH where the file can be converted into JPG/PDF Then share those output files using Samba. Custom Script ------------- Place the following script in openthinclient:/opt/openthinclient/server/default/data/nfs/root/custom/ http://pastebin.com/hnRhXzqp Tricky part is the "sleep 1m" at the beginning. When the script is called, there's no network yet, so we have to wait about a minute and then we can download the packages and install them. It just means that no scan can be made right after the boot, but it's not really a problem. buttonpressed.sh ---------------- I'm using the following scanner Bus 001 Device 004: ID 04b8:011e Seiko Epson Corp. Perfection 1660 Photo It has 4 buttons -> 4 differents quality settings: http://pastebin.com/38KtHM6M Convertion is made using Imagemagick on the Linux box. Result ------ Works great, it takes about 10 seconds to scan a document in normal quality. Seems to be stable enough :-) Enjoy, and thanks for the great OTC suite ! Jef -- Jean-Francois Bucas IT System Administrator School of Theoretical Physics Dublin Institute for Advanced Studies 10 Burlington Road Dublin 4 Tel. +353 1 614 0132 ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ The Open Source Thin Client Solution http://openthinclient.org [email protected] https://lists.sourceforge.net/lists/listinfo/openthinclient-user
