Linux command
pbmtoepson 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Convert PBM to Epson printer format
pbmtoepson [input.pbm] | lpr
Specify protocol
pbmtoepson -protocol [escp] [input.pbm] > [output.escp]
说明
pbmtoepson reads a PBM image as input and produces a stream of Epson printer graphics as output. Supports ESC/P and ESC/P 9-pin protocols. For the newer ESC/P2 protocol, use pbmtoescp2 instead. Part of the Netpbm toolkit.
参数
- -protocol _TYPE_
- Output protocol: escp (newer ESC/P) or escp9 (older 9-pin ESC/P). Default is escp.
- -dpi _N_
- Horizontal print density in dots per inch. Allowed values: 60, 72, 80, 90, 120, 144, 240.
- -adjacent
- Force adjacent dot printing.
- -nonadjacent
- Force non-adjacent dot printing.
FAQ
What is the pbmtoepson command used for?
pbmtoepson reads a PBM image as input and produces a stream of Epson printer graphics as output. Supports ESC/P and ESC/P 9-pin protocols. For the newer ESC/P2 protocol, use pbmtoescp2 instead. Part of the Netpbm toolkit.
How do I run a basic pbmtoepson example?
Run `pbmtoepson [input.pbm] | lpr` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -protocol _TYPE_ do in pbmtoepson?
Output protocol: escp (newer ESC/P) or escp9 (older 9-pin ESC/P). Default is escp.