Linux command
oakdecode 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Decode an OAKT printer stream from a file
oakdecode < [file.prn]
Decode and save decompressed planes as PBM files
oakdecode -d [basename] < [file.prn]
Decode and save raw planes as JBIG files
oakdecode -r [basename] < [file.prn]
Decode with file offsets shown in output
oakdecode -o < [file.prn]
Decode without displaying image records
oakdecode -i < [file.prn]
说明
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.
参数
- -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).
FAQ
What is the oakdecode command used for?
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.
How do I run a basic oakdecode example?
Run `oakdecode < [file.prn]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -d _BASENAME_ do in oakdecode?
Save decompressed planes as .pbm files with specified basename.