Sodamhan.com

TL;DR

escp2topbm

Convert a PBM image to a ESC/P2 printer file. See also: pbmtoescp2. More information: https://netpbm.sourceforge.net/doc/escp2topbm.html.

  • Convert a ESC/P2 printer file to a PBM image:

escp2topbm path/to/image.escp2 > path/to/output.pbm

This document was created using the contents of the tldr project.