LinuxCommandLibrary

pbmtoescp2

converts PBM bitmaps to Epson ESC/P2 printer format

TLDR

Convert PBM to Epson ESC/P2 format
$ pbmtoescp2 [input.pbm] > [output.escp2]
copy
Specify resolution
$ pbmtoescp2 -resolution [360] [input.pbm] > [output.escp2]
copy

SYNOPSIS

pbmtoescp2 [options] [file]

DESCRIPTION

pbmtoescp2 converts PBM bitmaps to Epson ESC/P2 printer format. ESC/P2 is used by modern inkjet printers. Part of Netpbm toolkit.

PARAMETERS

-resolution n

Print resolution (180, 360, 720).
-compress
Enable compression.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard