1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:42:08 +02:00
tldr/pages/common/pbmtolj.md
Antti Savolainen e1d44b5166 batch3
2025-03-28 18:12:09 +02:00

509 B

pbmtolj

Convert a PBM file to an HP LaserJet file. More information: https://netpbm.sourceforge.net/doc/pbmtolj.html.

  • Convert a PBM file to an HP LaserJet file:

pbmtolj {{path/to/input.pbm}} > {{path/to/output.lj}}

  • Compress the output file using the specified method:

pbmtolj -{{packbits|delta|compress}} {{path/to/input.pbm}} > {{path/to/output.lj}}

  • Specify the required resolution:

pbmtolj {{[-r|-resolution]}} {{75|100|150|300|600}} {{path/to/input.pbm}} > {{path/to/output.lj}}