Linux/Scan Server: Difference between revisions
< Linux
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
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> | |||
* scanbd | |||
<blockquote> | |||
<pre> | |||
apt-get install build-essential | |||
apt-get install libconfuse-dev libusb-dev libudev-dev libdbus-1-dev dbus libsane-dev | |||
</pre> | |||
</blockquote> | |||
<blockquote> | |||
<pre> | |||
wget scanbd... | |||
...unpack... | |||
./configure | |||
make | |||
make install | |||
</pre> | |||
</blockquote> | |||
<blockquote> | |||
<pre> | |||
cp -R /etc/sane.d /usr/local/etc/scanbd | |||
edit scanbd.conf | |||
start: | |||
export SANE_CONFIG_DIR=/usr/local/etc/scanbd/sane.d/ | |||
/usr/local/sbin/scanbd -df -c scanbd.conf | |||
</pre> | </pre> | ||
</blockquote> | </blockquote> |
Revision as of 13:23, 10 July 2015
- 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
- scanbd
apt-get install build-essential apt-get install libconfuse-dev libusb-dev libudev-dev libdbus-1-dev dbus libsane-dev
wget scanbd... ...unpack... ./configure make make install
cp -R /etc/sane.d /usr/local/etc/scanbd edit scanbd.conf start: export SANE_CONFIG_DIR=/usr/local/etc/scanbd/sane.d/ /usr/local/sbin/scanbd -df -c scanbd.conf