Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

CanoScan LiDE 110 is connected to my Ubuntu 11.04. I need to scan remotely using the command line.

How can I use the scanner from the command line?


$ apt-get install sane sane-utils
$ scanimage
scanimage: no SANE devices found
$ scanadf
scanadf: no SANE devices found

$ sane-find-scanner
failed... over and over to find the correct one.. (very strange)

$ dmesg 
now found something...(after waiting a lot)

$ scanimage -L
device `genesys:libusb:001:018' is a Canon LiDE 110 flatbed scanner

$ scanimage -x 100 -y 100 --format=tiff > /tmp/scanBabyscan.tiff
$ file /tmp/test.tiff
 /tmp/test.tiff: TIFF image data, big-endian
# ll /tmp/test.tiff
-rw-r--r-- 1 root root 1393802 2011-10-25 20:09 /tmp/test.tiff

Follow up:

what is what:

PPM = color
PBM = black and white
PGM = gray

how do i use it show me some examples:

scanimage -d umax:/dev/sgb --resolution 72 -x 200 -y 100 > scan.ppm
          |______________| |_____________|
              device       DPI 72,120,300,600

scanimage --mode=color > /tmp/test.tiff
share|improve this question
Are you saying you need the driver for the scanner as well? – belacqua Oct 25 '11 at 17:38
Run scanimage --list-devices – Anonymous Oct 25 '11 at 18:10
up vote 1 down vote accepted

Run the scanimage program.

If you install the 'sane' package, you can also use the scanadf tool.

To find the scanner use lsusb and sane-find-scanner.

share|improve this answer
Its not HP products. Its a Canon. – YumYumYum Oct 25 '11 at 18:04
please see above, does it mean its working? But few times it did not show my USB and its product details. – YumYumYum Oct 25 '11 at 18:12
  • PPM = portable pixmap format
  • PBM = portable bitmap format
  • PGM = ortable graymap format


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.