← 返回命令列表

Linux command

foo2lava 命令

文本

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Convert PBM to

foo2lava [options] < [input.pbm] > [output.prn]

Set resolution

foo2lava -r [600] < [input.pbm] > [output.prn]

Set paper size

foo2lava -p [letter] < [input.pbm] > [output.prn]

Color mode

foo2lava -c < [input.ppm] > [output.prn]

说明

foo2lava converts Ghostscript pbmraw, bitcmyk, or pksmraw output formats to monochrome or color LAVAFLOW or OPL streams for Konica Minolta magicolor printers. Supported printers include the magicolor 2530 DL, 2490 MF, and other Zenographics-based LAVAFLOW printers. It serves as a backend for the foo2lava-wrapper CUPS filter.

参数

-r _XRESxYRES_
Set resolution in pixels/inch (default 1200x600).
-g _XPIXxYPIX_
Set page dimensions in pixels (default 10200x6600).
-p _PAPER_
Paper code to send to printer (default 2 for letter).
-c
Force color mode.
-m _MEDIA_
Media type code to send to printer (default 0).
-n _COPIES_
Number of copies (default 1).
-d _DUPLEX_
Duplex code (1=off, 2=long-edge, 3=short-edge).
-s _SOURCE_
Source (InputSlot) code (default 255, auto).
-t
Draft mode. Every other pixel is white.
-S _PLANE_
Output a single color plane for debugging.

FAQ

What is the foo2lava command used for?

foo2lava converts Ghostscript pbmraw, bitcmyk, or pksmraw output formats to monochrome or color LAVAFLOW or OPL streams for Konica Minolta magicolor printers. Supported printers include the magicolor 2530 DL, 2490 MF, and other Zenographics-based LAVAFLOW printers. It serves as a backend for the foo2lava-wrapper CUPS filter.

How do I run a basic foo2lava example?

Run `foo2lava [options] < [input.pbm] > [output.prn]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -r _XRESxYRES_ do in foo2lava?

Set resolution in pixels/inch (default 1200x600).