Bonsoir,
J'essaie de faire fonctionner une imprimante Lexmark X6675 avec ma Debian.
L'installateur officiel pour ce modèle commence à dater un petit peu (février 2010), mais ça se tente.
Le principe est simple : extraire le paquet Debian i386, rectifier le fichier control, installer le machin...
wget https://downloads.lexmark.com/downloads/cpd/lexmark-08z-series-driver-1.0-1.i386.deb.sh.tar.gz
tar xzf lexmark-08z-series-driver-1.0-1.i386.deb.sh.tar.gz
./lexmark-08z-series-driver-1.0-1.i386.deb.sh --help
Makeself version 2.1.4
1) Getting help or info about ./lexmark-08z-series-driver-1.0-1.i386.deb.sh :
./lexmark-08z-series-driver-1.0-1.i386.deb.sh --help Print this message
./lexmark-08z-series-driver-1.0-1.i386.deb.sh --info Print embedded info : title, default target directory, embedded script ...
./lexmark-08z-series-driver-1.0-1.i386.deb.sh --lsm Print embedded lsm entry (or no LSM)
./lexmark-08z-series-driver-1.0-1.i386.deb.sh --list Print the list of files in the archive
./lexmark-08z-series-driver-1.0-1.i386.deb.sh --check Checks integrity of the archive
2) Running ./lexmark-08z-series-driver-1.0-1.i386.deb.sh :
./lexmark-08z-series-driver-1.0-1.i386.deb.sh [options] [--] [additional arguments to embedded script]
with following options (in that order)
--confirm Ask before running embedded script
--noexec Do not run embedded script
--keep Do not erase target directory after running
the embedded script
--nox11 Do not spawn an xterm
--nochown Do not give the extracted files to the current user
--target NewDirectory Extract in NewDirectory
--tar arg1 [arg2 ...] Access the contents of the archive through the tar command
-- Following arguments will be passed to the embedded script
./lexmark-08z-series-driver-1.0-1.i386.deb.sh --noexec --target lexmark
Creating directory lexmark
Verifying archive integrity... All good.
Uncompressing nixstaller..............................................................
instarchive_all: LZMA compressed data, non-streamed, size 22466560
tar xvf instarchive_all --lzma
printdriver.te
lexmark-08z-series-driver-1.0-1.i386.deb
launcher.c
launcher
lsbrowser
lsusbdevice
dpkg-deb -f lexmark-08z-series-driver-1.0-1.i386.deb
Package: lexmark-08z-series-driver
Version: 1.0-1
Section: non-free
Priority: optional
Architecture: i386
Installed-Size:
Maintainer: build <build@linux>
Description:
Lexmark 08z Series Drivers Package
This package contains the Lexmark 08z Series Drivers. This is
a copyrighted package, please refer to the copyright notice
for details about using this product.
dpkg-deb -R lexmark-08z-series-driver-1.0-1.i386.deb lexmark-archive
cat -n lexmark-archive/DEBIAN/control
1 Package: lexmark-08z-series-driver
2 Version: 1.0-1
3 Section: non-free
4 Priority: optional
5 Architecture: i386
6 Installed-Size:
7 Maintainer: build <build@linux>
8 Description:
9 Lexmark 08z Series Drivers Package
10
11 This package contains the Lexmark 08z Series Drivers. This is
12 a copyrighted package, please refer to the copyright notice
13 for details about using this product.
sed -i 10s/" "/" ."/ lexmark-archive/DEBIAN/control
cat -n lexmark-archive/DEBIAN/control
1 Package: lexmark-08z-series-driver
2 Version: 1.0-1
3 Section: non-free
4 Priority: optional
5 Architecture: i386
6 Installed-Size:
7 Maintainer: build <build@linux>
8 Description:
9 Lexmark 08z Series Drivers Package
10 .
11 This package contains the Lexmark 08z Series Drivers. This is
12 a copyrighted package, please refer to the copyright notice
13 for details about using this product.
dpkg-deb -b lexmark-archive newlexmark-08z-series-driver-1.0-1.i386.deb
dpkg-deb: building package 'lexmark-08z-series-driver' in 'newlexmark-08z-series-driver-1.0-1.i386.deb'.
dpkg-deb -f newlexmark-08z-series-driver-1.0-1.i386.deb
Package: lexmark-08z-series-driver
Version: 1.0-1
Section: non-free
Priority: optional
Architecture: i386
Installed-Size:
Maintainer: build <build@linux>
Description:
Lexmark 08z Series Drivers Package
.
This package contains the Lexmark 08z Series Drivers. This is
a copyrighted package, please refer to the copyright notice
for details about using this product.
dpkg --add-architecture i386
dpkg -i newlexmark-08z-series-driver-1.0-1.i386.deb
Selecting previously unselected package lexmark-08z-series-driver:i386.
(Reading database ... 115004 files and directories currently installed.)
Preparing to unpack newlexmark-08z-series-driver-1.0-1.i386.deb ...
--------------------------
Installing 08z-series-driver ...
--------------------------
Unpacking lexmark-08z-series-driver:i386 (1.0-1) ...
Setting up lexmark-08z-series-driver:i386 (1.0-1) ...
-- Updating symbolic links
Installation Complete.
--------------------------------------------
Please remember to review the license agreement (license.txt)
at /usr/local/lexmark/08zero/docs/ before using this software.
less ./files_extra/readme
6. Manually adding the Printer in CUPS:
---------------------------------------
1. Attach the printer via USB to the Linux machine.
2. Run a browser and open "http://localhost:631"
3. Click "Add Printer" and fill out the details, such as name and description.
In the Device dropdown list, select "Lexmark <printer model> USB #1"
Make sure you select the correct device. The printer is not detected by the
machine if you cannot see its model in the list. On some distro, you may have
to reboot the machine so it can be detected.
You can also Browse for the PPD file if the device is not on the list. The
ppd files are located in folder /usr/local/lexmark/08zero/etc/. The following
are the different models supported by this driver and with their matching
ppd file:
Printer PPD
------------------------------------------------------
Lexmark Z2400 Series ..... lxZ2400.ppd
Lexmark 3600-4600 Series ..... lx36-46.ppd
Lexmark 4900 Series ..... lx4900.ppd
Lexmark 5000 Series ..... lx5000.ppd
Lexmark 5600-6600 Series ..... lx56-66.ppd
Lexmark 7600 Series ..... lx7600.ppd
Ne disposant pas de ce modèle, je ne peux pas tester la réalité de la prise en charge. Ma source, ici.
Dernière modification par èfpé (02-07-2018 13:10:42)