Linux/Scan Server: Difference between revisions

From Wiki
(Die Seite wurde neu angelegt: „ scanimage --resolution 300 --device-name $2 --mode Color --source "ADF Front" --page-width 210 --page-height 297 -x 210 -y 297 | pnmflip -r180 | pnmtops -wi…“)
 
No edit summary
Line 1: Line 1:
 
* scanbutton.d with ScanSnap S1500
<blockquote>
<pre>
scanimage --resolution 300 --device-name $2 --mode Color --source "ADF Front" --page-width 210 --page-height 297 -x 210 -y 297 |  
scanimage --resolution 300 --device-name $2 --mode Color --source "ADF Front" --page-width 210 --page-height 297 -x 210 -y 297 |  
pnmflip -r180 |  
pnmflip -r180 |  
pnmtops -width 8.263 -height 11.69 -imagewidth 8.263 -imageheight 11.69 > $TMPFILE_PS
pnmtops -width 8.263 -height 11.69 -imagewidth 8.263 -imageheight 11.69 > $TMPFILE_PS
ps2pdf $TMPFILE_PS $TMPFILE_PDF
ps2pdf $TMPFILE_PS $TMPFILE_PDF
</pre>
</blockquote>

Revision as of 17:23, 9 October 2014

  • scanbutton.d with ScanSnap S1500
scanimage --resolution 300 --device-name $2 --mode Color --source "ADF Front" --page-width 210 --page-height 297 -x 210 -y 297 | 
pnmflip -r180 | 
pnmtops -width 8.263 -height 11.69 -imagewidth 8.263 -imageheight 11.69 > $TMPFILE_PS
ps2pdf $TMPFILE_PS $TMPFILE_PDF