ポプラ nano ( BTOスリムタワーPC ) オリジナル ベアボーン Intel Celeron G530 Windows7 Professional (64bit) 搭載モデル 新品価格 |
PCワンズBTOパソコンG-spirit i73770K GX670-ZDA 新品価格 |
インテル Celeron G540 2.50GHz 2M LGA1155 SandyBridge BX80623G540 新品価格 |
インテル Celeron G530 2.40GHz 2M LGA1155 SandyBridge BX80623G530 新品価格 |
インテル Atom Onboardマザーボード BOXDN2800MT 【Mini-ITX】 新品価格 |
インテル Atom Onboardマザーボード BOXD2700DC 【Mini-ITX】 新品価格 |
インテル Atom Onboardマザーボード BOXD2500HN 【Mini-ITX】 新品価格 |
ECS Mini-ITXマザーボード Atom D2700搭載 CDC-I 日本正規代理店品 (MB1848) CDC-I 新品価格 |
ASRock H61 Micro-ATX SATA3 USB3 HDMI DVI H61M/U3S3 新品価格 |
ASRock Intel H61チップセット搭載 LGA1155対応microATXマザーボード H61M-HVS 新品価格 |
GIGABYTE microATX Intel H61 GA-H61M-DS2 REV2.X 新品価格 |
ASRock マザーボード H61 Mini-ITX H61M-ITX 新品価格 |
ANTEC デザインと冷却性に優れた小型Mini-ITXケース ISK-100 新品価格 |
GIGABYTE intel H61 micro-ATX LGA1155 GA-H61M-DS2H 新品価格 |
Canon N676UをCentOS6.3(ターミナル)で使用する。
Canon N676U(発表日:2001年9月3日)
CentOS6.3(リリース日:2012年7月12日)
Canon N676UはVista(32bit)までの正式対応ドライバあり。
Win7(64bit)未対応。
Linux向け汎用ドライバ「sane」サポート機種→http://www.sane-project.org/sane-backends.html
[root@centos ~]# yum install sane # インストール [root@centos ~]# sane-find-scanner # スキャナ検索 # sane-find-scanner will now attempt to detect your scanner. If the # result is different from what you expected, first make sure your # scanner is powered up and properly connected to your computer. # No SCSI scanners found. If you expected something different, make sure that # you have loaded a kernel SCSI driver for your SCSI adapter. found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan], chip=LM9832/3) at libusb:003:002 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage. # Not checking for parallel port scanners. # Most Scanners connected to the parallel port or other proprietary ports # can't be detected by this program. [root@centos ~]# scanimage -L # デバイスリスト表示 device `plustek:libusb:003:002' is a Canon CanoScan N670U/N676U/LiDE20 flatbed scanner |
出力はpnm,tiffのみ。(jpg出力は変換が必要)
下記設定
Format … tiff
Offset(横) … 0
Offset(縦) … 0
x(横幅) … 210
y(縦幅) … 297
解像度 … 200dbi
Brightness … -7(-100〜100)
Contrast … 14(-100〜100)
image_1.tifを出力する。
[root@centos ~]# scanimage -T -d plustek:libusb:003:002 # 動作確認テスト [root@centos ~]# scanimage --format=tiff -l 0 -t 0 -x 210 -y 297 --resolution 400 --brightness -7 --contrast 14 > image_1.tif |
下記設定のスクリプトを作成する。
Format … tiff
Offset(横) … 0
Offset(縦) … 0
x(横幅) … 210
y(縦幅) … 297
解像度 … 200dbi
Brightness … -7(-100〜100)
Contrast … 14(-100〜100)
image_1.tifを出力する。
[root@centos ~]# vi when_you_wanna_use_scanner.sh # スクリプトを生成 scanimage -L scanimage --format=tiff -l 0 -t 0 -x 210 -y 297 --resolution 200 --brightness -7 --contrast 14 > image_1.tif mv image_1.tif /home/samba/ [root@centos ~]# sh when_you_wanna_use_scanner.sh # スクリプトを実行でスキャン開始 |