pnmtopclxl
Convert a PNM file to an HP LaserJet PCL XL printer stream. tldr-pages
On several platforms
Several platforms
Convert PNM files to an HP LaserJet PCL XL printer stream
pnmtopclxl path/to/input1.pnm path/to/input2.pnm ... >path/to/output.pclxlIdentifySpecify the resolution of the image as well as the location of the page from the upper left corner of each image
pnmtopclxl -dpi resolution -xoffs x_offset -yoffs y_offset path/to/input1.pnm path/to/input2.pnm ... >path/to/output.pclxlIdentifyGenerate a duplex printer stream for the specified paper format
pnmtopclxl -duplex vertical -format letter path/to/input1.pnm path/to/input2.pnm ... >path/to/output.pclxlIdentify