Lexmark X7170 scanner driver package is distributed under the terms
of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version..
Please refer to the file COPYING for more information.
X7170 SANE Scanner Driver package requires the following:
- sane-backend 1.0-13 development libraries
- Lexmark USB scanner device driver (LEXUSB-SCANNER-1.0-1.TAR.GZ)
- X7170 LLPDDK binary (x7170llpddk-2.0-4.i386.rpm)
To install the X7170 SANE scanner driver, run the following commands:
- make install
Make sure to have an entry for "lexmark" in /usr/local/etc/sane.d/dll.conf
for SANE to recognize the lexmark backend.
To run the daemon which catches the scan button press event:
- /etc/init.d/x7170d start
To stop the daemon:
- /etc/init.d/x7170d stop
To run the x7170adfutil utility tool in command line to support PDF file format on ADF scanning:
- x7170adfutil no_of_pages filename [or]
- x7170adfutil no_of_pages [or]
Note: This scanner driver was tested and verified in the following
- Red Hat 8.0
- Red Hat 9.0
- Mandrake 9.0
- Mandrake 9.1
- Mandrake 9.2
- SuSE 8.1
- SuSE 8.2
- SuSE 9.0
PREREQUISITES FOR SCANNER FRONTENDS
Before using the scanner driver, the user must compile the frontend that
will be used with the following changes on the frontend:
After downloading XSane-0.9x tar file, modify the Makefile and append "/usr/lib/libstdc++.so.5"
in the "LIBS=" section. The Makefile is located in "xsane-0.9x/src/Makefile."
After downloading the tar file, modify the Makefile and append "/usr/lib/libstdc++.so.5"
in the "LIBS=" section. Make sure to include this on all Makefile in all the subdirectories
in the folder. The Makefile that needs to be modified prior to compiling quiteinsane are the
Proceed with the rest of the installation procedure.
After downloading the tar file, modify the Makefile and append the "/usr/lib/libstdc++.so.5"
in the "LIBS=" section. The Makefile is located in "sane-frontends-1.0.xx/src/Makefile."
After downloading and installing the sane package, modify the Makefile of the frontend and append "/usr/lib/libstdc++.so.5"
in the "LIBS=" section. The Makefile is located in "sane-backends-1.0.1x/frontend/Makefile." Change directory to
"sane-backends-1.0.1x/frontend" and do a "make uninstall" and "make clean" on the current directory. Reinstall the frontend
by doing a "make" and "make install."
1) Q: Where can we find the errors in scanning specifically logged for Lexmark devices?
A: These can be found in /var/log/scanerror_log.
2) Q: What particular SANE frontend is used when the scan button is pressed? Where can we find
the output image produced? How can we view it?
A: Scanimage is the SANE frontend used. By default, the last scanned image is named `scanpreview`
and placed at /var/tmp directory. If GIMP is installed, pressing the scan button automatically
displays the output image in GIMP. If not, the image which takes one of the PNM (portable aNyMaP)
formats, can be opened through any graphical interface supporting the image format.
3) Q: The scan button still doesn't work. Why?
A: The scan button is a USB Human Interface Device (HID) and it needs the 'hid.o' kernel module
to be loaded for it to function properly. You can check if the module has been loaded using
the command 'lsmod'. If it has not been loaded, try loading it using the command 'modprobe hid'.
4) Q: What particular SANE frontends support the ADF functionality of Lexmark X7170?
A: The following frontends can be used to support the ADF functionality of Lexmark X7170:
scanadf, xsane and quiteinsane. xscanimage does not support continous scan in ADF,
but it can still be used for Lexmark X7170 but will only scan one page at a time in ADF
even if the selected scan source is Automatic Document Feeder.
1) Read the FAQ section of this file. Your question may be answered
2) Please report any problems to email@example.com.
* None so far.
bash: ./configure: 没有该文件或目录
ylpc@ylpc:~/桌面$ sudo ./configure
sudo: ./configure: command not found