mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-19 06:01:19 +00:00
Update cheatsheets
This commit is contained in:
21
pbmtolj
Normal file
21
pbmtolj
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 -resolution {{75|100|150|300|600}} {{path/to/input.pbm}} > {{path/to/output.lj}}`
|
||||
Reference in New Issue
Block a user