LinuxCommandLibrary

foo2xqx-wrapper

PostScript/PDF to XQX wrapper script

TLDR

Print PostScript file

$ foo2xqx-wrapper [file.ps]
copy
Set paper size
$ foo2xqx-wrapper -p [a4] [file.ps]
copy
Set resolution
$ foo2xqx-wrapper -r [600] [file.ps]
copy
Print multiple copies
$ foo2xqx-wrapper -n [3] [file.ps]
copy

SYNOPSIS

foo2xqx-wrapper [options] [files...]

DESCRIPTION

foo2xqx-wrapper converts PostScript/PDF documents to XQX format for HP LaserJet printers. It chains Ghostscript rasterization with foo2xqx encoding.
The wrapper provides simplified printing by handling the conversion pipeline automatically. It translates standard print options to the underlying tools.
foo2xqx-wrapper enables command-line printing to XQX protocol HP printers.

PARAMETERS

FILES

PostScript or PDF files to print.
-p PAPER
Paper size (letter, a4, legal).
-r DPI
Resolution.
-n COPIES
Number of copies.
-m MEDIA
Media type.
--help
Display help information.

CAVEATS

Requires Ghostscript. Monochrome only. Limited to XQX-compatible HP models.

HISTORY

foo2xqx-wrapper is part of the foo2zjs driver collection, providing document printing for HP printers using the XQX protocol.

SEE ALSO

foo2xqx(1), gs(1), lpr(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community