User Tools

Site Tools


bildbearbeitung:scan

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bildbearbeitung:scan [2020/01/23 23:50] msbildbearbeitung:scan [2025/02/19 22:02] (current) ms
Line 1: Line 1:
-====== Scannen mit scanimage ======+=== Nötige Pakete: sane-utils graphicsmagick-imagemagick-compat bzip2 ===
 ''scanimage -L'' zeigt Scanner-Device\\ ''scanimage -L'' zeigt Scanner-Device\\
 ''scanimage -A'' zeigt spezifische optionen für den Scanner\\ ''scanimage -A'' zeigt spezifische optionen für den Scanner\\
 ''scanimage -h'' zeigt Hilfe an ''scanimage -h'' zeigt Hilfe an
 +
 +====== Brother ADS-1200 ======
  
 ==== Einseitig ==== ==== Einseitig ====
-''scanimage --resolution 600 --source 'Automatic Document Feeder(center aligned)' -x 210 -y 297 --format=tiff | bzip2 > bild.tiff.bz2''+<code> 
 +scanimage --resolution 600 --source 'Automatic Document Feeder(center aligned)-x 210 -y 297 --format=tiff --mode 'True Gray' -o bild.tiff 
 + 
 +scanimage --resolution 600 --source 'Automatic Document Feeder(center aligned)' -x 210 -y 297 --format=tiff | bzip2 > bild.tiff.bz2 
 +</code>
  
 Script zum einseitigen scannen (''scan1.sh''): Script zum einseitigen scannen (''scan1.sh''):
Line 13: Line 19:
 if [ -z `mount|grep ramdisk|awk '{print $1}'` ]; then if [ -z `mount|grep ramdisk|awk '{print $1}'` ]; then
     sudo mount -t ramfs ramfs /media/ramdisk     sudo mount -t ramfs ramfs /media/ramdisk
-    sudo chown user /media/ramdisk/+    sudo chown ms /media/ramdisk/
 fi fi
  
Line 26: Line 32:
  
 scanimage --resolution 600 --source 'Automatic Document Feeder(center aligned)' -x 210 -y 297 --format=tiff | bzip2 > $1.tiff.bz2 scanimage --resolution 600 --source 'Automatic Document Feeder(center aligned)' -x 210 -y 297 --format=tiff | bzip2 > $1.tiff.bz2
 +
 +display -resize 20% $1.tiff.bz2
 +
 +sxiv -g 700x1000 $1.tiff.bz2
 </code> </code>
  
Line 78: Line 88:
 echo "mv /media/ramdisk/$name* " echo "mv /media/ramdisk/$name* "
 echo echo
 +</code>
 +
 +====== Canon CanoScan N1240U ======
 +<code>
 +scanimage --preview=yes -l 0 -t 0 -x 210 -y 297 -o scan.jpg
 +
 +scanimage --resolution 150 -l 0 -t 0 -x 210 -y 297 --format=jpeg -o scan.jpg
 +convert scan.jpg scan.pdf
 </code> </code>
bildbearbeitung/scan.1579819855.txt.gz · Last modified: 2023/01/11 20:30 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki