LinuxCommandLibrary

foo2oak

PBM to OAKT converter for Oak Technology printers

TLDR

Convert PBM to OAKT format

$ foo2oak [options] < [input.pbm] > [output.prn]
copy
Set resolution
$ foo2oak -r [600] < [input.pbm] > [output.prn]
copy
Set paper size
$ foo2oak -p [letter] < [input.pbm] > [output.prn]
copy
Color mode
$ foo2oak -c < [input.ppm] > [output.prn]
copy

SYNOPSIS

foo2oak [options] < input > output

DESCRIPTION

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.

PARAMETERS

-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.

CAVEATS

Only for printers with Oak Technology chipsets. Printer model support varies. Not all features available.

HISTORY

foo2oak is part of foo2zjs, supporting printers using Oak Technology's OAKT protocol through reverse-engineered drivers.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community