LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

foo2zjs-wrapper

PostScript/PDF to ZjStream wrapper script

TLDR

Print PostScript file
$ foo2zjs-wrapper [file.ps]
copy
Set paper size
$ foo2zjs-wrapper -p [a4] [file.ps]
copy
Color printing
$ foo2zjs-wrapper -c [file.ps]
copy
Set resolution
$ foo2zjs-wrapper -r [1200x600] [file.ps]
copy
Duplex (long edge)
$ foo2zjs-wrapper -d 2 [file.ps]
copy
Specify printer model
$ foo2zjs-wrapper -z [model] [file.ps]
copy

SYNOPSIS

foo2zjs-wrapper [options] [files...]

DESCRIPTION

foo2zjs-wrapper converts PostScript/PDF to ZjStream format for HP and Minolta/QMS printers. It combines Ghostscript rasterization with foo2zjs encoding.The wrapper handles the complete document-to-printer pipeline, providing a simple interface for printing. It translates common options to the underlying tools.foo2zjs-wrapper is the primary way to print documents to foo2zjs-supported printers.

PARAMETERS

FILES

PostScript or PDF files to print.
-p CODE
Paper size code (e.g., letter, a4, legal).
-r XxY
Device resolution in DPI (default 1200x600).
-c
Print in color (otherwise monochrome).
-n COPIES
Number of copies.
-m CODE
Media type code.
-d MODE
Duplex: 1=off, 2=long edge, 3=short edge.
-s CODE
Input slot code.
-t
Draft mode (every other pixel white).
-T DENSITY
Print density (1-5).
-z MODEL
Printer model.
-g OPTIONS
Additional Ghostscript options.
-D LEVEL
Set debug level.
--help
Display help information.

CAVEATS

Requires Ghostscript. Limited to supported printer models. Color support varies by printer.

HISTORY

foo2zjs-wrapper is part of the foo2zjs project, providing user-friendly document printing for ZjStream protocol printers on Linux.

SEE ALSO

foo2zjs(1), gs(1), lpr(1)

Copied to clipboard
Kai