foo2slx
Convert foo2zjs printer driver to CUPS
SYNOPSIS
foo2slx [-P paper] [-p] [-l length] [-w width] [-z#] [-L] [other options] [<input.pcl] [>output.slx]
foo2slx-wrapper [CUPS-options] [foo2slx-options] [file ...]
PARAMETERS
-P paper
Set paper size, e.g. -P letter, a4, legal
-p
Portrait orientation (default)
-l length
Paper length in points (72/inch)
-w width
Paper width in points
-z#
Graphics resolution: -z0=300x150, -z1=600x300, -z2=600x600, etc.
-L
Landscape orientation
-R
Rotate by 90 degrees
-n copies
Number of copies
-d0/-d1
Duplex: off/on
-y0/-y1
Tumble: no/yes for duplex
-g gamma
Gamma correction (0.1-3.0)
-t#
Toner density (0-100%)
-s#
Tone curve steepness
-Z #
Command modifier (advanced)
DESCRIPTION
The foo2slx command is part of the foo2zjs printer driver suite, designed to support non-HP printers using HP's ZJS or similar engines, specifically converting HP PCL^5 printer language files to Dell's proprietary SLX format. It targets Dell All-in-One inkjet printers like the 924, 942, and 948 models.
Usage typically involves piping Ghostscript output to foo2slx for PostScript input, or direct PCL files: gs ... | foo2slx options > output.slx. A wrapper script, foo2slx-wrapper, integrates with CUPS for printing queues, handling options via PPD files.
It supports resolutions up to 1200x600 dpi, duplex printing, paper sizes, gamma correction, and toner density adjustments. Install via foo2zjs package, which includes pre-built binaries or source compilation. Ideal for Linux users lacking official drivers for legacy Dell printers.
CAVEATS
Requires foo2zjs package installation; supports specific Dell models only (e.g., 924/942/948); compile from source if binaries unavailable; test with sample PCL files; USB printing may need firmware hacks.
SUPPORTED PRINTERS
Dell 924, 942, 948 All-in-One; check foo2zjs site for full list and firmware requirements.
INSTALLATION NOTE
Download from foo2zjs.rkkda.com; make then sudo make install; add CUPS filters for printing.
HISTORY
Developed by Toby Johnson starting 2005 as part of foo2zjs project to reverse-engineer proprietary printer languages. Evolved from ZJS support for HP clones; SLX added for Dell AIOs. Maintained at foo2zjs.rkkda.com; last major updates ~2010s, still used for legacy hardware.
SEE ALSO
foo2slx-wrapper(1), foo2zjs(1), foo2qpdl(1), gs(1), lp(1)


