LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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.

INSTALL

sudo apt install netpbm
copy
sudo dnf install netpbm
copy
sudo pacman -S netpbm
copy
sudo apk add netpbm
copy
sudo zypper install netpbm
copy
brew install netpbm
copy
nix profile install nixpkgs#netpbm
copy

SEE ALSO

Copied to clipboard
Kai