Linux command
pjtoppm 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Convert an HP PaintJet file to PPM
pjtoppm [input.pj] > [output.ppm]
Read PaintJet data from stdin
cat [input.pj] | pjtoppm > [output.ppm]
Pipe into another Netpbm tool
pjtoppm [input.pj] | pnmtopng > [output.png]
说明
pjtoppm reads an HP PaintJet printer file and writes a PPM (Portable Pixmap) image to standard output. If no filename is given, input is read from stdin. It is a quick hack that handles only the subset of PaintJet escape sequences needed to decode most raster images; it is not a full PCL interpreter. The resulting PPM can be converted to other formats by the rest of the Netpbm toolchain (for example, pnmtopng or pnmtojpeg).
FAQ
What is the pjtoppm command used for?
pjtoppm reads an HP PaintJet printer file and writes a PPM (Portable Pixmap) image to standard output. If no filename is given, input is read from stdin. It is a quick hack that handles only the subset of PaintJet escape sequences needed to decode most raster images; it is not a full PCL interpreter. The resulting PPM can be converted to other formats by the rest of the Netpbm toolchain (for example, pnmtopng or pnmtojpeg).
How do I run a basic pjtoppm example?
Run `pjtoppm [input.pj] > [output.ppm]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more pjtoppm examples?
This page includes 3 examples for pjtoppm, plus related commands for nearby Linux tasks.