Convert a HP ThinkJet printer commands file to a PBM file. More information: https://netpbm.sourceforge.net/doc/thinkjettopbm.html.
thinkjettopbm path/to/input > path/to/output.pbm
stderr
thinkjettopbm -d path/to/input > path/to/output.pbm