LinuxCommandLibrary

foo2xqx

Convert Ghostscript output to XQX format

SYNOPSIS

foo2xqx [options...] [-]

PARAMETERS

-p model
    Printer model (e.g., -p fs820)

-z#
    Number of copies (1-99)

-n#
    Pages per sheet (1-6)

-P
    Preview mode (dithered output)

-D#
    Print density (0-100, default 95)

-s#
    Speed parameter (1-6)

-R#
    Resolution in DPI (75,150,300,600)

-Y#
    Reduce length by % (1-99)

-L#
    Roll paper length reduce (1-99)

-w#
    Page width in points (default 612)

-lx,y
    Label size in points

-d#
    Duplex mode (1=on, 0=off)

-e#
    Debug level (0=none)

-v
    Verbose output

-L
    List available options

DESCRIPTION

The foo2xqx command is a printer driver from the foo2zjs suite, designed to generate XQX format data for printers using the Zenographics ZjStream protocol variant, such as certain Kyocera FS series (e.g., FS-820, FS-1820) and compatible models like Dell and Lexmark. It converts PBM (Portable BitMap) input into printer-ready XQX streams.

This driver enables Linux users to print to non-CUPS-aware printers via a filter in the printing system. It supports options for resolution, density, multiple copies, and page layout. Typically invoked as a backend or wrapper in CUPS (foo2xqx-wrapper), it handles rasterization and protocol specifics.

Key strengths include support for high resolutions up to 1200 DPI and duplex printing on compatible hardware. Usage requires the foo2zjs package installation and printer-specific PPD files. It's widely used in open-source printing stacks for legacy hardware.

CAVEATS

Experimental driver; test on specific hardware. Requires foo2zjs package and PPD. May produce banding at low resolutions. Not for production CUPS without tuning.

USAGE EXAMPLE

foo2xqx -p fs820 -z2 -R300 input.pbm > output.xqx
Generates 2 copies at 300 DPI for FS-820.

DEPENDENCIES

Requires foo2zjs package; compile from source for latest models using make.

HISTORY

Developed by Toby Thain starting 2003 as part of foo2zjs project to reverse-engineer proprietary printer protocols. foo2xqx added for Kyocera XQX engines around 2005. Maintained in open-source, integrated into major distros like Debian/Ubuntu.

SEE ALSO

foo2zjs(1), foo2qpdl(1), foo2hbpl(1), foo2lava(1), foo2zjs-wrapper(1)

Copied to clipboard