usb scanner on arch linux
pacman -S sane ipp-usb
systemctl enable ipp-usb
systemctl start ipp-usb
scanimage -L # check scanner is available
scanimage --format=(pnm|png|tiff|jpeg) --output-file <filename> --progress
scanimage --resolution 1200 >output.pnm
- if no format provided defaults to pnm
-
man scanimage
for more options
convert to pdf
- requires
imagemagick
convert <filename> <new_filename>.pdf