LinuxCommandLibrary

foo2hbpl2-wrapper

PostScript/PDF to HBPL2 wrapper script

TLDR

Print PostScript file

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

SYNOPSIS

foo2hbpl2-wrapper [options] [files...]

DESCRIPTION

foo2hbpl2-wrapper is a wrapper script that converts PostScript/PDF to HBPL2 format for printing. It chains Ghostscript rasterization with foo2hbpl2 encoding.
The wrapper simplifies printing by handling the conversion pipeline automatically. It accepts common print options and translates them to the underlying tools.
foo2hbpl2-wrapper provides a user-friendly interface to the foo2hbpl2 conversion process.

PARAMETERS

FILES

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

CAVEATS

Requires Ghostscript installed. Color output depends on printer support. Some options printer-specific.

HISTORY

foo2hbpl2-wrapper is part of the foo2zjs driver collection, providing easy command-line printing for HBPL2 protocol printers supported by the foo2hbpl2 converter.

SEE ALSO

foo2hbpl2(1), gs(1), lpr(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community