LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pbmtoepson

converts PBM bitmaps to Epson printer control codes for direct printing

TLDR

Convert PBM to Epson printer format
$ pbmtoepson [input.pbm] | lpr
copy
Specify protocol
$ pbmtoepson -protocol [escp] [input.pbm] > [output.escp]
copy

SYNOPSIS

pbmtoepson [options] [file]

DESCRIPTION

pbmtoepson reads a PBM image as input and produces a stream of Epson printer graphics as output. Supports ESC/P and ESC/P 9-pin protocols. For the newer ESC/P2 protocol, use pbmtoescp2 instead. Part of the Netpbm toolkit.

PARAMETERS

-protocol TYPE

Output protocol: escp (newer ESC/P) or escp9 (older 9-pin ESC/P). Default is escp.
-dpi N
Horizontal print density in dots per inch. Allowed values: 60, 72, 80, 90, 120, 144, 240.
-adjacent
Force adjacent dot printing.
-nonadjacent
Force non-adjacent dot printing.

SEE ALSO

Copied to clipboard
Kai