ImageScannerDriver4Linux-UG_fi03
ImageScannerDriver4Linux-UG_fi03
User's Guide
1
Contents
8.2. Method Using Scan Application Created Using SANE API ................................................................ 14
2
11.3 Models and Supported Functions ........................................................................................................ 28
1. LINUX ............................................................................................................................ 29
3
Linux is a registered trademark or trademark of Linus Torvalds in the United States and other countries.
Red Hat is a registered trademark or trademark of Red Hat, Inc. in the United States and other countries.
Ubuntu is a registered trademark of Canonical Ltd.
The CentOS Marks are trademarks of Red Hat, Inc. ("Red Hat")
Debian is a registered trademark of Software in the Public Interest, Inc.
openSUSE® is registered trademarks of Novell, Inc. in the United States and other countries.
Windows is either a registered trademark or trademark of Microsoft Corporation in the United States and/or
other countries.
Intel and Intel Core are registered trademarks or trademarks of Intel Corporation in the United States and
other countries.
Other company names and product names are the registered trademarks or trademarks of the respective
companies.
4
Linux Driver Product Specifications
User Application or
"scanimage" or "xsane"
SANE API
SANE Project
Libsane.so (Dispatcher)
(Linux OS)
SANE API
Management tool
(Linux OS)
Linux(libusb & usb driver)
USB connection
5
*Note: In Linux systems, the term "driver" refers to a module that is installed in the Linux kernel and operates
in privilege mode for the CPU. Previously, scanner drivers had been installed in the Linux kernel for
operation. Currently, drivers are installed as a library based on SANE API outside the kernel and
operate by dynamically linking from applications. Although it is actually a library, PFU and other
scanner manufacturers call it a "driver".
2. Supported Devices
fi Series scanners
No Device Notes
1 fi-7030/fi-7140/fi-7240/fi-7160/fi-7260/fi-7180/fi-7280/fi-7460/fi-7480
This product is provided in two packages (installers). The supported devices and OS version for each
package are shown below.
6
4. Provided Components and Supported Languages
The provided components and supported languages in this product are shown in the table below.
(Yes: Supported, No: Not supported)
No. Component
Portuguese
(traditional)
(simplified)
Japanese
Chinese
Chinese
German
Spanish
Russian
English
Turkish
Korean
French
Arabic
Italian
1 Driver file No Yes No No No No No No No No No No No
2 Scan button No Yes No No No No No No No No No No No
monitoring tool
3 readme No Yes No No No No No No No No No No No
4 EULA Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
5 Management No Yes No No No No No No No No No No No
tool
*The No. 4 EULA is included in the package. This is also displayed on the download screen when
downloading the package for this product from the release site.
7
5. System Requirements
5.1 OS Environment
The relationship between this product and the OS environment (Linux distribution) is shown below.
2MB
Many versions of Linux can use the scanning applications "scanimage" and "xsane". This product can also
use these as operation verification tools, but an operation with other applications that support SANE API has
not been verified.
8
xsane Scanning application for a GUI environment. Detailed settings can be
specified when scanning in a GUI screen.
Because this is not included in the distributions for Ubuntu 14/16/18, it
cannot be used immediately after Ubuntu is installed. To use "xsane", the
package must be downloaded from the Ubuntu distributor. To download and
install the package, follow the procedure below.
Preparation:
Establish an Internet connection on a computer.
Download Procedure:
Use the following procedure to download the files.
(1) Open the terminal software.
(2) Execute the "sudo" command, enter the password for the
superuser (root user) to become a root user.
sudo su -
(3) Use the command below to connect to the Ubuntu server and
check the latest package information, and then download it.
apt-get update
apt-get install xsane
An example is shown below for installation and uninstallation of the fi Series driver (Ubuntu 64-bit).
9
5. Execute "dpkg –i pfufs-ubuntu18.04_2.1.1_amd64.deb" to install the package.
6. Execute "dpkg -l pfufs", and check that the package was installed correctly. If the package name pfufs
appears, installation was successful.
7. Connect the scanner, and turn on the power.
8. Start "scanimage", "xsane", or other operation verification tools, and check the scanning operation.
*Note
- Uninstalling this product does not delete any scanned image data.
- To find out the OS type, use the "uname" command. The result of the "uname –m" shows you the type of the
OS.
10
7. Driver Function Overview
A function overview of this driver and specifications comparison with drivers by other companies and drivers
for the other operating system are shown in the table below.
PFU
(fi Series)
No Function
PaperStrea WIA
mIP Driver Driver Linux
Ubuntu 14 Yes
Ubuntu 15 No
Supported OS
1 Windows Windows Ubuntu 16 Yes
Ubuntu 17 No
Ubuntu 18 Yes
2 Supported architecture Intel x86 compatible Intel x86 compatible
50 to 1200
12 Resolution dpi 75 to 600 dpi 50 to 600 dpi
Image type
13 (Color/grayscale/binary Yes Yes Yes
black & white)
Paper size
14 (Custom)
Yes No Yes
11
PFU
(fi Series)
No Function
PaperStrea WIA
mIP Driver Driver Linux
Halftone No No
Error
diffusion No Yes
None/R/G/B/
22 Dropout color W/ No None/R/G/B/W
Custom
23 Image enhancement Yes No Yes
(Tone adjustment)
24 Inverted image Yes No No
Automatic color/black &
25 white detection Yes No No
12
8.Driver Function Details
This product provides SANE API as a library for using the functions of this product from applications that
support SANE API ("xsane", "scanimage", etc.).
To use this product to scan a document with a scanner, use one of the methods below.
13
8.2. Method Using Scan Application Created Using SANE API
For applications that support SANE API ("scanimage", "xsane"), a list of the options that can be specified
when using this product with the "scanimage" command (CUI-based) is shown in the table below.
When using this product with "xsane" (GUI-based), the setting items corresponding to the options below can
be specified on the "xsane" setting screen.
Adf-duplex
Flatbed
Image type --mode Lineart
Gray
Color
Resolution --resolution [50 to 600] Settable in units of 1 dpi
(300)
Paper width --page-widt -fi-7460/fi-7480: - This setting is valid only when "Custom"
h [26~304.8] (210.0) is specified for "paper-size" (units: mm).
-fi-7030/fi-7140/fi-7240 (*3)
/fi-7160/fi-7260/fi-7180 - This setting value may be rounded by the
/fi-7280 application.
[26~216](210.0) - This setting is invalid when "Flatbed" is
specified for "--source".
Paper length --page-heig [26 to 5588] (297.0) - This setting is valid only when "Custom"
ht Note that the settable is specified for "paper-size" (units: mm).
length varies depending (*3)
on the resolution. - This setting value may be rounded by the
[26, 2700] for 401 dpi or application.
more. [26, 4064] for 301 - This setting is invalid when "Flatbed" is
to 400 dpi. [26, 5461] for specified for "--source".
201 to 300 dpi. [26,
5588] for 200 dpi or less.
(Continued on next page)
14
Function Option Settable values of Notes
(Syntax) argument
(Bold: Default setting)
Scanning area -l [0 to page-width] (0) - For the ADF, this setting is valid only
(Top-leftX) when "Custom" is specified for
"paper-size" (units: mm).
Scanning area -t [0 to page-height] (0)
- This setting value may be rounded by the
(Top-leftY)
application.
Scanning area -x [26 to page-width]
- -x and -y may be interpreted differently
(Bottom-right x) (210.0)
depending on the scanning tool.
Scanning area -y [26 to page-height] scanimage interprets -x and -y as the
(Bottom-right y) (297.0) size (width and height) of a scanning
area.
xsane interprets -x and -y as the bottom
right position of a scanning area.
Paper type --paper-si Custom When "Custom" is selected, scanning is
ze performed within the range of the setting
values for "page-height" and
"page-width". Also, if "page-auto" is
enabled, this setting is ignored.
- This setting is invalid when "Flatbed" is
specified for "--source".
15
Function Option Settable values of Notes
(Syntax) argument
(Bold: Default setting)
Cropping --page-auto [=(yes | no)] - If this setting is enabled ("page-auto=yes"),
the setting values for "page-height",
"page-width", "paper-size", "Top-leftX",
"Top-leftY", "Bottom-right x", and "Bottom-right
y" are ignored. The maximum paper sizes that
can be scanned vary depending on the
resolution as shown below. However, the
actual paper sizes that can be scanned
depends on the computer environment.
Resolution fi-7030/fi-7140/ fi-7460/fi-7480
fi-7240/fi-7160/
fi-7260/fi-7180/
fi-7280
(dpi) (mm) (mm)
50 to 200 216 × 5588 304.8 × 5588
201 to 300 216 × 5461 304.8 × 5461
301 to 400 216 × 4064 304.8 × 4064
401 to 600 216 × 2700 304.8 × 2700
Cropping --page-auto-pri Speed - Speed: Priority is given to speed for cropping.
priority ority - Accuracy: Priority is given to accuracy for
cropping.
- This setting cannot be specified when the
following scanner model is used:
fi-7030
Accuracy
- This setting can be specified when "yes" is
specified for "--page-auto". However, this
setting cannot be specified when "Flatbed" is
specified for "--source" or when "White" is
specified for "--bgcolor".
(Continued on next page)
16
Function Option Settable values of Notes
(Syntax) argument
(Bold: Default setting)
Background color --bgcolor Black - This setting is invalid when "Flatbed"
that is used when is specified for "--source".
the ADF is used - This setting is ignored when "yes" is
for scanning specified for "--page-auto".
- It is recommended that you specify
White
"White" for "--bgcolor" when
scanning dark color documents.
- This setting cannot be specified
when the following scanner model is
used:
fi-7030
Brightness --brightness [-127 to 127] (0)
Contrast --contrast [-127 to 127] (0)
Binarization --bw-mode SDTC This setting is enabled when "Lineart"
method is specified for "--mode".
Threshold
SDTC: Automatic
17
Function Option Settable values of Notes
(Syntax) argument
(Bold: Default
setting)
Sharpness/ -- None - The sharpness is not adjusted and
images are not enhanced.
Image cleanup-sharpness
- This setting is enabled when "Color" or
enhancement "Lineart" is specified for "--mode".
Smoothing This setting is enabled when "Lineart" is
specified for "--mode".
Emphasis-level-1 This setting is enabled when "Color" or
Emphasis-level-2 "Lineart" is specified for "--mode".
Emphasis-level-3
Descreen-level-1 This setting is enabled when "Color" is
Descreen-level-2 specified for "--mode".
Descreen-level-3
Descreen-level-4
Blank page skip --blank-page-skip [=(yes | no)] - If yes is specified, the data for blank
pages is deleted.
- This setting is invalid when "Flatbed" is
specified for "--source".
Blank page skip --blank-page-skip-se [1 to 5] (3) This is enabled when "yes" is specified for
"--blank-page-skip". The determination
sensitivity nsitivity
sensitivity is specified.
1: Less likely to detect blank pages
3: Normal detection setting
5: More likely to detect blank pages
Multifeed --multifeed-detection Do-not-detect This setting is invalid when "Flatbed" is
detection specified for "--source".
Stop
control
Detects --mf-overlapping [=(yes | no)] This setting is enabled when "Stop" is
multifeed by the specified for "--multifeed detection".
overlapping of
documents
Detecting --mf-length [=(yes | no)] This setting is valid when "Stop" is
multifeeds by specified for "--multifeed detection".
the length of
the document
Specifying --prepick [=(yes | no)] - This setting is invalid when "Flatbed" is
whether or not specified for "--source".
to enable - This setting cannot be specified when
pre-pick. the following scanner model is used:
fi-7030
18
Function Option Settable values of Notes
(Syntax) argument
(Bold: Default setting)
JPEG transfer --jpeg [=(yes | no)] - This setting is valid when "Gray" or
"Color" is specified for "--mode".
- This setting controls how to transfer
image data between the scanner
and the computer. The data that is
transferred to an application is
always uncompressed.
JPEG type --jpeg-type 444 This setting is valid when "yes" is
specified for "--jpeg".
422
411
scanimage --help
19
9. Driver Operation Specifications for Errors
This describes driver operations for various types of errors when using this product to perform scanning. The
display messages for various types of errors when scanning by "scanimage" are also included for reference.
20
Error code in Message displayed in
Symptom Operation and corrective action SANE API scanimage
(Reference)
When the ADF Operation: Stops a scan and returns an SANE_STATUS Scanner cover is
cover is error. _COVER_OPEN open
opened during Corrective action: Close the ADF cover,
the scanning return the paper, and then try scanning
process again.
When Operation: Stops a scan and returns an SANE_STATUS Operation was
scanning is error. _CANCELLED cancelled
canceled Corrective action: A document may be
during the remaining in the scanner. Open the
scanning scanner cover and remove the
process document.
When an Operation: Does not a scan and returns SANE_STATUS unrecognized option
incorrect an error. _COVER_OPEN Example:
option was Corrective action: Specify the correct #scanimage
specified option, and then try scanning again. --page-size=A4
>pfu.pnm
#unrecognized option
'--page-size=A4'
When a value Operation: Scans a document after a The scanner rounded value of XX
outside the value is changed to a value within the operates from XX to XX
allowable allowable range. A message appears normally. Example:
range was indicating that the value was changed. #scanimage
specified Corrective action: Not needed. --contrast 128
>pfu.pnm
# rounded value of
contrast from 128 to
127
When there is Operation: Stops a scan and returns an SANE_STATUS Out of memory
not enough error. _NO_MEM
memory Corrective action: Change the settings
during the such as the resolution and the paper
scanning size to reduce the image size and scan
process again. In addition, some parameters
tend to consume memory. Disable the
cropping parameter and the blank page
skip parameter and try again.
If the problem persists, add memory.
When the Operation: Stops a scan and returns an SANE_STATUS Operation was
STOP button error. _CANCELLED cancelled
was pressed Corrective action: A document may be
to cancel remaining in the scanner. Open the
scanning. scanner cover and remove the
document.
21
10. Scan Button Monitoring Tool
This tool monitors the [Scan] button of the scanner and performs a scan by executing the "scanimage"
command when it detects that the [Scan] button was pressed.
The usage procedure is described below.
The monitoring tool must be registered to start it automatically when the system is started.
The system is managed by "update-rc.d".
Configuration file example: A configuration file with the settings below is saved upon installation.
scanimage --batch --format=pnm --source "Adf-front" –mode Lineart --resolution 300 --autofeed=yes
*Note: The contents of this configuration file cannot be written as a shell script. This file can be used only
as an option for the "scanimage" command.
By default, images are saved in the "/opt/pfufs/image" directory. However, you can change the save
22
destination by using the "batch" option as follows.
(4) Notes
- When the scanner is in use (for example, when a scanning application is using the scanner), the
monitoring tool cannot start scanning even if the [Scan] button is pressed.
On the other hand, when a scan is being performed by the monitoring tool due to the [Scan] button being
pressed, other applications cannot start scanning.
The function to stop/resume scanning with the Scan button is not supported.
- The monitoring tool can monitor only one scanner. When multiple scanners are connected to the computer,
the monitoring tool does not run correctly.
- If you need to save an error message that is generated during a scan, add the path and name to be used for the
output file (for example, "/tmp/err.log") in the “pfufsscanbutton.conf” file as follows:
scanimage --batch --format=pnm --source "Adf-front" –mode Lineart --resolution 300 --autofeed=yes >/tmp/err.log
2>&1
23
11. Management Tool
The management tool allows you to maintain the scanner and configure the settings such as the waiting time
before the scanner enters power saving mode, the period of time before the scanner is automatically turned
off when it is left unused, the magnification level, and the offset value.
Details on how to use this management tool and its functions are described below.
Example: To configure the settings for the scanner to be automatically turned off
24
No Function Option Setting value for an Notes
argument
5 Displaying the --info None The following information about
scanner information the scanner is displayed:
- Scanner name
- Firmware version
- Serial number
- Consumable counters
- Waiting time before the
scanner enters power saving
mode/time period before the
scanner is automatically
turned off when it is left
unused
- Magnification level and offset
value
6 Clearing the number --after-cleaning-clear None The number of sheets scanned
of sheets scanned after cleaning is cleared.
after cleaning Only a user with root privileges
can set this option.
7 Clearing the counter --brake-roller-clear None The counter number for the
number for the brake brake roller is cleared.
roller Only a user with root privileges
can set this option.
8 Clearing the counter --pick-roller-clear None The counter number for the pick
number for the pick roller is cleared.
roller Only a user with root privileges
can set this option.
9 Setting the waiting --sleeptimer 5 to 235 Specify a value for the time (in
time before the (Step: 5) minutes) in multiples of 5.
scanner enters power If you specify a value that is not
saving mode in multiples of 5, the value that
is rounded down to the nearest
multiple of 5 is set.
Only a user with root privileges
can set this option.
10 Setting the time period --power-off inactive Specify an option to keep the
before the scanner is 1-hour scanner on even when it is left
automatically turned 2-hours unused or specify a time period
off when it is left 4-hours before the scanner is
unused 8-hours automatically turned off.
Select "1-hour", "2-hours",
"4-hours", or "8-hours" for the
time period.
Only a user with root privileges
can set this option.
25
No Function Option Setting value for Notes
an argument
11 Setting the --adf-front-offset-main -4 to 4 (*0.5 mm) Specify the ADF front offset value for
offset value (Step: 1) main scanning.
Only a user with root privileges can set
this option.
--adf-front-offset-sub Specify the ADF front offset value for
sub scanning.
Only a user with root privileges can set
this option.
--adf-front-offset-end-of-pa Specify the ADF front offset value for
ge the bottom edge of the document.
Only a user with root privileges can set
this option.
--adf-back-offset-main Specify the ADF rear offset value for
main scanning.
Only a user with root privileges can set
this option.
--adf-back-offset-sub Specify the ADF rear offset value for
sub scanning.
Only a user with root privileges can set
this option.
--adf-back-offset-end-of-pa Specify the ADF rear offset value for the
ge bottom edge of the document.
Only a user with root privileges can set
this option.
--flatbed-offset-main Specify the flatbed offset value for main
scanning.
Only a user with root privileges can set
this option.
--flatbed-offset-sub Specify the flatbed offset value for sub
scanning.
Only a user with root privileges can set
this option.
12 Setting the --adf-magnification-adjustm -3.1 to 3.1% Specify the magnification level
magnification ent (Step: 0.1) adjustment for the ADF.
level Only a user with root privileges can set
this option.
--flatbed-magnification-adju Specify the magnification level
stment adjustment for the flatbed.
Only a user with root privileges can set
this option.
*If you specify two or more options from No.1, No.3, No.4, and No.5 at the same time, only the first option is applied.
For example, when the following command is executed, only the version information is displayed.
pfufsconsumables -V --info
*If you specify an option from No.1, No.3, No.4, and No.5 and an option from No.6 through No.12 at the same time, the
For example, when the following command is executed, the version information is displayed, but the waiting time before
pfufsconsumables --sleeptimer 60 -V
26
*Option No.6 and subsequent options can be specified only when the management tool is executed by the superuser (root
user). These options cannot be specified by a general user. In addition, option No.6 is not displayed when "--help" is
specified.
*To output the displayed results of the scanner status into a text file by using the management tool, execute the following
command:
*Notes
Make sure that you start the management tool before operating the operator panel or perform a scan with the scanner.
27
11.3 Models and Supported Functions
The following table shows which model each function (option) is supported with.
Setting the ADF front offset value for the bottom edge of the document No No Yes *
(--adf-front-offset-end-of-page)
Setting the ADF rear offset value for main scanning Yes * Yes * Yes *
(--adf-back-offset-main)
Setting the ADF rear offset value for sub scanning Yes * Yes * Yes *
(--adf-back-offset-sub)
Setting the ADF rear offset value for the bottom edge of the document No No Yes *
(--adf-back-offset-end-of-page)
Setting the flatbed offset value for main scanning No Yes * No
(--flatbed-offset-main)
Setting the flatbed offset value for sub scanning No Yes * No
(--flatbed-offset-sub)
Setting the magnification level adjustment for the ADF Yes * Yes * Yes *
(--adf-magnification-adjustment)
Setting the magnification level adjustment for the flatbed No Yes * No
--flatbed-magnification-adjustment
* Only a user with root privileges can set this option.
28
Appendix: Basic Knowledge for Using Linux Drivers
1. Linux
Many different types of Linux distributions are available around the world. A Linux distribution includes a
Linux kernel module that is released for free, libraries, command components, and applications. In
addition, a Linux distribution is on the DVD provided or other distributable media.
Well-known distributions are Debian, Ubuntu, Redhat, CentOS, and OpenSUSE. Each distribution has a
different aspect, such as bundled applications, a GUI system, a support system, or a bug fix frequency.
- Debian: For general use.
- Ubuntu: For desktops. This is a Debian based version that is optimized for desktops.
- Redhat (Red Hat Enterprise Linux): For server systems. This is a commercial based version and
is supported by Red Hat for a fee.
- CentOS: A clone of Red Hat Enterprise Linux. Trademarks are removed from this distribution so
that users can use this for free.
- OpenSUSE: For general use. Novell supports the development of this distribution. This is the
commercial based version (SuSE Enterprise Linux).
PFU conducted the development for the driver and support based on the Ubuntu distribution because of
its market share and high versatility.
1.1. Ubuntu
Ubuntu 18.04 LTS includes the scanner driver (SANE 1.0.27) for free. At this point, the majority of fi Series
scanners and ix500 scanners can use this driver.
*Note 1: Ubuntu 14.04 LTS also includes a free scanner driver, but because the driver is older (SANE
1.0.24), it does not work when the scanner is connected to the computer via the USB 3.0
controller.
The following describes how to obtain Ubuntu18.04 LTS and how to install it.
(1) Obtaining an OS image
An OS Image (ISO format) can be obtained from the site below. This site is mirrored by organizations in
various countries. Because the network environment varies in each country, be sure to select the most
suitable site.
●Download site
[Original site]
http://releases.ubuntu.com/18.04/
29
●ISO image to be downloaded
(for 64-bit systems) ubuntu-18.04-desktop-amd64.iso
*Note: A screen asking for a donation may appear when attempting to download an OS image by following the
URL from the original website for Ubuntu.
*If you do not know the nearest mirror site to you, search for the above ISO image file name, and find which
site is the nearest to you from among the URLs of the displayed sites based on the country name.
If you proceed with method (a), install the virtualization software in advance. For the installation method,
refer to the install instructions of each software.
After you prepare the virtualization environment, proceed with the installation steps by referring to the
following website:
http://www.ubuntu.com/download/desktop/install-ubuntu-desktop
If you proceed with method (b), refer to the following website for the installation:
http://www.ubuntu.com/download/desktop/try-ubuntu-before-you-install
If you proceed with method (c), refer to the following website for the installation:
http://www.ubuntu.com/download/desktop/install-ubuntu-desktop
30
2. Scanners on Linux Platform
2.1. SANE API
The APIs for scanners in Windows OS include TWAIN and ISIS, and the API for scanners in Linux OS is
called SANE.
SANE API can be used to operate a scanner using one of the two methods below.
(1) Method for using the scanner application included in Linux OS
Scanner applications ("scanimage", "xsane", "simple-scan", etc.) that support SANE API are included in
the typical Linux OS. The scanner can be used from these applications.
For example, by calling the "scanimage" command from the user application, a scanned image can be
output as a file. In this case, you can develop your application without any regard to SANE API.
The points to take into consideration when using SANE API are shown below.
- In contrast to the scanner driver for Windows, no GUI setting screen is included, and the functions are
generally limited, which results in an extremely small size. For this reason, distribution is easy, and it is ideal
as an element for creating mechanisms with limited disk resources such as thin clients.
- In SANE API, the driver cannot create files. Transfer of image data to applications uses uncompressed
memory transfer only. For this reason, JPEG and PDF creation functions are assigned to applications at the
calling side. Generally, the Linux OS includes file format conversion tools, and so after scanning, the
application calls these tools to create the target file format.
For details, refer to the link below. SANE API is in a public domain, and it can be used by anyone without
restrictions.
SANE API Specifications http://www.sane-project.org/sane.ps
31
2.3. Scanning Software
The scanning applications that can be used in Ubuntu are shown below.
Tool name Description
scanimage Scanning application for command line based operation.
Command line options can be used to specify detailed settings for
scanning.
xsane Scanning application for a GUI environment. Detailed settings can
be specified when scanning in a GUI screen.
simple-scan Scanning application for a GUI environment. This has an extremely
simple structure, and it is easy to use, but as a result, detailed
options cannot be specified.
*Notes
The above-mentioned software and software described starting from the next section are all Linux freeware.
PFU uses the above-mentioned "scanimage" and "xsane" to evaluate the Linux drivers, but no operation
guarantee or support is provided for "scanimage" and "xsane" themselves. This document is intended to
provide a description of how to use the Linux drivers only. The freeware listed starting from the next section is
also unsupported. Because it is highly likely that the customer is using this software, this software is
introduced here so that the readers of this manual can gain some familiarity with it.
This explanation assumes that the computer and scanner are connected by a USB cable and power is being
supplied to them.
(1) Open the terminal software.
(2) Load paper into the hopper.
(3) Execute the "scanimage" command. When this is executed, the scan operation is performed, and
the specified file is created.
Example - when scanning with the settings: resolution 300, gray, dropout red, and output file format tiff
Example - when scanning with the settings: resolution 100, color, contrast 30, and output file format tiff
32
* The "scanimage" command is open source. Any unclear points about an operation can be checked using the
source code.
The scanimage for each Linux OS can be obtained from the respective distributor. The latest version can be
obtained from the site below.
http://www.sane-project.org/
* In addition to the options supported by the driver, the options for batch processing and other operations by
the "scanimage" command itself can also be specified in "scanimage". This appears as shown below.
[Ex:Ubuntu18]
standard output.
%n (newline)
--batch-increment=2
-B, --buffer-size=# change input buffer size (in kB, default 32)
-V, --version print version information
33
2.5. "xsane" Usage Example
xsane
(3) In the GUI setting screen, check or change the resolution, scan mode, paper size, and other settings.
(4) Load paper into the hopper.
(5) If the [Scan] button is clicked on the GUI setting screen, the scan process is started.
(6) Once the scan is completed, operation is performed based on the output method that was set
beforehand.
34
*Notes
Because "xsane" is not included in the distributions for Ubuntu 14 and 16, it cannot be used immediately after
Linux is installed. To use "xsane", the package must be downloaded from the Ubuntu distributor. To download
and install the package, follow the procedure below.
Preparation:
Establish an Internet connection on a computer.
Download Procedure:
Use the following procedure to download the files.
- In environments using a proxy server to connect to the Internet, settings may be required for the system.
Make the settings based on the specific proxy server environment.
- Example of image conversion of all JPEG files in the current directory to PNG format
do
done
- Example of image conversion of all TIFF files in the current directory to JPEG format
35
*ImageMagick supports more than 100 types of image file formats including GIF, JPEG, JPEG 2000,
PNG, PDF, Photo CD, TIFF, and DPX. For details about the usage procedure, refer to the site below.
http://www.imagemagick.org/
*ImageMagick may not be installed for certain Linux OS installation methods. If this happens, perform an
additional installation using the method for the respective Linux OS.
For Ubuntu, ImageMagick can be installed from the Ubuntu Software Center.
36