cmuwmtopbm, escp2topbm, pbmtocmuwm, pbmtoepsi, ebmtoepson, pbmtoescp2, pbmtogo: add pages (#12235)
* cmuwmtopbm, escp2topbm, pbmtocmuwm, pbmtoepsi, ebmtoepson, pbmtoescp2, pbmtogo: add pages
---------
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-02-12 15:13:35 +01:00
|
|
|
# pbmtoescp2
|
|
|
|
|
|
|
|
> Convert a PBM image to a ESC/P2 printer file.
|
|
|
|
> See also: `pbmtoepson`, `escp2topbm`.
|
|
|
|
> More information: <https://netpbm.sourceforge.net/doc/pbmtoescp2.html>.
|
|
|
|
|
|
|
|
- Convert a PBM image to a ESC/P2 printer file:
|
|
|
|
|
|
|
|
`pbmtoescp2 {{path/to/image.pbm}} > {{path/to/output.escp2}}`
|
|
|
|
|
|
|
|
- Specify the compression of the output:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pbmtoescp2 {{[-c|-compression]}} {{0|1}} {{path/to/image.pbm}} > {{path/to/output.escp2}}`
|
cmuwmtopbm, escp2topbm, pbmtocmuwm, pbmtoepsi, ebmtoepson, pbmtoescp2, pbmtogo: add pages (#12235)
* cmuwmtopbm, escp2topbm, pbmtocmuwm, pbmtoepsi, ebmtoepson, pbmtoescp2, pbmtogo: add pages
---------
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-02-12 15:13:35 +01:00
|
|
|
|
|
|
|
- Specify the horizontal and vertical resolution of the output in dots per inch:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pbmtoescp2 {{[-re|-resolution]}} {{180|360|720}} {{path/to/image.pbm}} > {{path/to/output.escp2}}`
|
cmuwmtopbm, escp2topbm, pbmtocmuwm, pbmtoepsi, ebmtoepson, pbmtoescp2, pbmtogo: add pages (#12235)
* cmuwmtopbm, escp2topbm, pbmtocmuwm, pbmtoepsi, ebmtoepson, pbmtoescp2, pbmtogo: add pages
---------
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-02-12 15:13:35 +01:00
|
|
|
|
|
|
|
- Place a formfeed command at the end of the output:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pbmtoescp2 {{[-f|-formfeed]}} {{path/to/image.pbm}} > {{path/to/output.escp2}}`
|