Linux command
foo2oak 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Convert PBM to
foo2oak [options] < [input.pbm] > [output.prn]
Set resolution
foo2oak -r [600] < [input.pbm] > [output.prn]
Set paper size
foo2oak -p [letter] < [input.pbm] > [output.prn]
Color mode
foo2oak -c < [input.ppm] > [output.prn]
说明
foo2oak converts PBM/PPM images to OAKT protocol for certain HP and Kyocera printers. It encodes raster data for printers using Oak Technology chips. The tool manages the proprietary OAKT encoding required by these printers, handling page setup and color conversion. It functions as a CUPS filter backend. foo2oak supports printers like HP LaserJet 1000 and similar models using Oak Technology controllers.
参数
- -r _DPI_
- Resolution.
- -p _PAPER_
- Paper size (letter, a4, legal).
- -c
- Color mode.
- -m _MEDIA_
- Media type.
- -n _COPIES_
- Number of copies.
- -d _DUPLEX_
- Duplex mode.
- --help
- Display help information.
FAQ
What is the foo2oak command used for?
foo2oak converts PBM/PPM images to OAKT protocol for certain HP and Kyocera printers. It encodes raster data for printers using Oak Technology chips. The tool manages the proprietary OAKT encoding required by these printers, handling page setup and color conversion. It functions as a CUPS filter backend. foo2oak supports printers like HP LaserJet 1000 and similar models using Oak Technology controllers.
How do I run a basic foo2oak example?
Run `foo2oak [options] < [input.pbm] > [output.prn]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -r _DPI_ do in foo2oak?
Resolution.