Optional prefixes: [g]oogle, [m]ap  
[w]ikipedia, [snopes]  

home » ltsp » ltsp4.2 » ltsp4.2 scanning


LTSP4.2 Scanning

Table of Contents

References


top

Enable saned on terminal


top

Usage


top

Alternative to net.conf

If you do not wish to add the host to net.conf (as shown above) then you can run the following:

$ SANE_NET_HOSTS=`echo $DISPLAY | cut -d: -f1`
$ export SANE_NET_HOSTS

This will only work for the life of the terminal window - so you will need to run the application from the command line. Alternatively add this to a script that does the scanning.


top

Scanning from the command line

Check scanner detected

$ scanimage -L

Scan

$ scanimage -l 0 -t 0 -x 215 -y 297 --mode {Lineart|Gray|Color} --resolution {75..600} --format {pnm|tiff} --brightness {-100..100} --contrast {-100..100} >test.pnm
Share

top