| 1 |
|
| 2 |
Quick installation instructions for the Lexmark Z12 or Z31 printer under Linux |
| 3 |
------------------------------------------------------------------------------ |
| 4 |
|
| 5 |
For those who don't want to read the Ghostscript and CUPS documentation |
| 6 |
I will provide here some short instructions. |
| 7 |
|
| 8 |
I suppose you don't have CUPS and ESP Ghostscript installed on your system. |
| 9 |
You need the followings: |
| 10 |
- CUPS (the current version is 1.1.18) |
| 11 |
- ESP Ghostscript (current CVS version: espgs-7.05.6-source.tar.bz2) |
| 12 |
- PPD file from www.linuxprinting.org |
| 13 |
- cupsomatic Perl script from www.linuxprinting.org |
| 14 |
|
| 15 |
1) Compile CUPS |
| 16 |
./configure --prefix=/usr --exec-prefix=/usr --localstatedir=/var \ |
| 17 |
--sysconfdir=/etc && |
| 18 |
make && make install |
| 19 |
|
| 20 |
2) Extract the ESP Ghostscript source. |
| 21 |
Replace the gdevlx32.c from the gsX.YZ/src directory with the one |
| 22 |
provided with this tarball. |
| 23 |
Now we are ready to compile Ghostscript. |
| 24 |
./configure --prefix=/usr/local --with-fontpath=/usr/local/share/ghostscript/fonts && |
| 25 |
make && make install |
| 26 |
|
| 27 |
3) Copy the PPD file (Lexmark-Z12-lxm3200-tweaked.ppd or |
| 28 |
Lexmark-Z31-lxm3200-tweaked.ppd) to |
| 29 |
/usr/share/cups/model |
| 30 |
chmod a+r Lexmark-Z12-lxm3200-tweaked.ppd |
| 31 |
or |
| 32 |
chmod a+r Lexmark-Z31-lxm3200-tweaked.ppd |
| 33 |
|
| 34 |
4) Copy the cupsomatic Perl script to /usr/lib/cups/filter |
| 35 |
chmod 755 cupsomatic |
| 36 |
|
| 37 |
5) Now we are ready to start CUPS: |
| 38 |
/etc/rc.d/init.d/cups start or /etc/init.d/cups start |
| 39 |
|
| 40 |
6) Open your favorite web browser and connect to http://localhost:631. |
| 41 |
From the graphical CUPS configuration tool add a new printer. |
| 42 |
Select the "Lexmark Z12, lxm3200-tweaked" or |
| 43 |
"Lexmark Z31, lxm3200-tweaked" from the list. |
| 44 |
If everything went well now you can print a test page. |
| 45 |
Remember that I have tested only B&W printing. If you select color, |
| 46 |
I cannot guarantee anything. |
| 47 |
|
| 48 |
Enjoy the Lexmark Z12/Z31 printing under Linux ! |
| 49 |
|
| 50 |
Note that the lxm3200 driver was written by Daniel Gordini, |
| 51 |
so all credits go to him. |
| 52 |
|
| 53 |
If you have problems setting up the Z12 or Z31, first of all read the CUPS |
| 54 |
and ESP Ghostscript documentation. If you are sure that the problem is |
| 55 |
connected with the driver, please contact us. |
| 56 |
|
| 57 |
Boer Attila (Z12) ([email protected]) |
| 58 |
Tomas Groth (Z31) ([email protected]) |