grimoire

personal wiki
git clone git://git.pyratebeard.net/grimoire.git
Log | Files | Refs

scanning.md (521B)


      1 # scanning
      2 
      3 [sane docs][]
      4 
      5 ## usb scanner on arch linux
      6 ```
      7 pacman -S sane ipp-usb
      8 systemctl enable ipp-usb
      9 systemctl start ipp-usb
     10 scanimage -L # check scanner is available
     11 scanimage --format=(pnm|png|tiff|jpeg) --output-file <filename> --progress
     12 scanimage --resolution 1200 >output.pnm
     13 ```
     14 
     15 * if no format provided defaults to pnm
     16 * `man scanimage` for more options
     17 
     18 ## convert to pdf
     19 * requires `imagemagick`
     20 ```
     21 convert <filename> <new_filename>.pdf
     22 ```
     23 
     24 [sane docs]: https://tldp.org/HOWTO/Scanner-HOWTO/index.html