LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

oakdecode

decode an OAKT printer stream into human readable form

TLDR

Decode an OAKT printer stream from a file
$ oakdecode < [file.prn]
copy
Decode and save decompressed planes as PBM files
$ oakdecode -d [basename] < [file.prn]
copy
Decode and save raw planes as JBIG files
$ oakdecode -r [basename] < [file.prn]
copy
Decode with file offsets shown in output
$ oakdecode -o < [file.prn]
copy
Decode without displaying image records
$ oakdecode -i < [file.prn]
copy

SYNOPSIS

oakdecode [options] <OAKT-file

DESCRIPTION

oakdecode decodes an OAKT printer stream into human readable form. It is designed for printers that use the OAKT printer language, such as the HP Color LaserJet 1500. The tool reads the printer stream from standard input and outputs decoded records showing page setup, compression information, and image data in a readable format.The tool is part of the foo2oak printer driver suite and is primarily used for debugging and analyzing OAKT format print jobs.

PARAMETERS

-d BASENAME

Save decompressed planes as .pbm files with specified basename.
-r BASENAME
Save raw planes as .jbg files with specified basename.
-i
Suppress display of image records in output.
-o
Include file offsets in the output.
-D LEVEL
Set debug verbosity level (default: 0).

INSTALL

sudo apt install printer-driver-foo2zjs
copy

CAVEATS

Reads from standard input only. Specific to the OAKT printer language used by certain HP Color LaserJet models.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid