This section is of
historical interest only.
Recent distributions of Redhat and
Debian have the lx5000 driver compiled
as part of their Ghostscript
distribution. To check for this, use
gs -help | grep lx5000
If the driver is compiled into
gs, it will show in the output
from this command.
Source is now (as of 12th March 2000)
distributed as part of a source RPM. Full
instructions on using this source RPM to compile
and install Ghostscript with a Lexmark 5000
driver are available in Compiling
Ghostscript 6.0 with Lexmark 5xxx & 7xxx
If you are happy to compile Ghostscript by
yourself, here is the driver
Note that applying the
gs6.0.lexmark5000.patch from the patch
list, below, will have the effect of placing
gdevlx50.c in your source directory. (To
save links as files: In Netscape, use
Shift+LeftButton; in IE use RightButton->Save
The following patch files may be applied in
order to the source tree.
Sets prefix, compiler flags, libraries, etc.
Optional. Use this if you want gs
to default to A4.
This places gdevlx50.c in your source
directory, and patches the makefiles.
Optional. Apply this patch if
you want to include Stephen Taylor's 5700
driver in the gs binary.
Optional. Apply this patch if you
want to include Henryk Paluch's 7000 driver in
the gs binary.
To apply these patches after downloading the
gs6.0 source tree, cd to the top level directory
of the tree, and apply the patches in order
patch -p1 <name-of-the-patch-file
Files for printer
administration. The four available
printer administration functions are:
- Head alignment
Print out a pattern which shows the relative
alignment of the black and colour
cartridges. The data file is blckalgn.out.
- Head cleaning
Print out solid blocks from all of the print
N.B. The above functions are not yet
available for the photo cartridge.
- Expose the print cartridges
Allow the cartridges to be changed. showcart.out
- Hide the print cartridges
Park the print cartrideges after changing a
- Using the data files.
The most convenient way to use these files is
to define a raw queue for the printer, and to
print the data files to this queue. This
enables non-root users to perform maintenance
on the printer. This assumes, of course,
that such permission is a desirable thing.
For RedHat systems employing the
rhs-printfilters system, I use the shell
script lx.control, linked to from headalign,
headclean, showcartridges and hidecartridges,
to effect the printer controls. The
script assumes that the raw queue is
lx.control, and that the data
files are located in the directory
and will have to be modified to taste.
This is a piece of perl
code that I used when I was tinkering
with the protocol. I used it to output
protocol sequences to stdout. It was vital
to me in decoding one of the 5000's compression
methods, and would be easy to modify for other