LinuxCommandLibrary

foo2xqx

TLDR

Convert PBM to XQX format

$ foo2xqx [options] < [input.pbm] > [output.prn]
copy
Set resolution
$ foo2xqx -r [600] < [input.pbm] > [output.prn]
copy
Set paper size
$ foo2xqx -p [letter] < [input.pbm] > [output.prn]
copy

SYNOPSIS

foo2xqx [options] < input > output

DESCRIPTION

foo2xqx converts PBM images to XQX format for HP LaserJet and compatible printers. It encodes raster data for printers using HP's XQX protocol.
The tool handles printer-specific encoding and compression for monochrome printing. It functions as a CUPS filter backend for supported HP printers.
foo2xqx enables Linux printing on certain HP LaserJet models that use XQX.

PARAMETERS

-r DPI

Resolution (300, 600, 1200).
-p PAPER
Paper size (letter, a4, legal).
-m MEDIA
Media type.
-n COPIES
Number of copies.
-d DUPLEX
Duplex mode.
--help
Display help information.

CAVEATS

Monochrome only. Limited to XQX-compatible printers. Model support varies.

HISTORY

foo2xqx is part of foo2zjs, adding support for HP printers using the XQX protocol, reverse-engineered to provide Linux compatibility.

SEE ALSO

Copied to clipboard