Linux command
foo2xqx 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Convert PBM to
foo2xqx [options] < [input.pbm] > [output.prn]
Set resolution
foo2xqx -r [600] < [input.pbm] > [output.prn]
Set paper size
foo2xqx -p [letter] < [input.pbm] > [output.prn]
说明
foo2xqx converts PBM images to XQX format for HP LaserJet and compatible printers. It encodes raster data for printers using HP's XQX protocol. The tool handles printer-specific encoding and compression for monochrome printing. It functions as a CUPS filter backend for supported HP printers. foo2xqx enables Linux printing on certain HP LaserJet models that use XQX.
参数
- -r _DPI_
- Resolution (300, 600, 1200).
- -p _PAPER_
- Paper size (letter, a4, legal).
- -m _MEDIA_
- Media type.
- -n _COPIES_
- Number of copies.
- -d _DUPLEX_
- Duplex mode.
- --help
- Display help information.
FAQ
What is the foo2xqx command used for?
foo2xqx converts PBM images to XQX format for HP LaserJet and compatible printers. It encodes raster data for printers using HP's XQX protocol. The tool handles printer-specific encoding and compression for monochrome printing. It functions as a CUPS filter backend for supported HP printers. foo2xqx enables Linux printing on certain HP LaserJet models that use XQX.
How do I run a basic foo2xqx example?
Run `foo2xqx [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 foo2xqx?
Resolution (300, 600, 1200).