ddstdecode - Decode a Ricoh DDST stream into human readable form. ddstdecode [options] <ddst-file ddstdecode decodes a Ricoh DDST stream into human readable form.
A Ricoh DDST stream is the printer language used by some Ricoh printers. From what I can tell, it is pbmtojbg(1) wrapped with some PJL.
These are the options that can appear on the command line.
- -d basename
-
Basename of .pbm file for saving decompressed planes.
- -h
-
Print hex file offsets.
- -o
-
Print file offsets.
- -D level
-
Set Debug level [0].
Decode an Ricoh DDST stream file created by a Ricoh SP112.
$ ddstdecode -h ~/testpage-ricoh-sp112.prn0: 33%-12345X@PJLf: @PJL SET TIMESTAMP=2017/03/16 16:53:1637: @PJL SET FILENAME=testpage.pdf57: @PJL SET COMPRESS=JBIG6f: @PJL SET USERNAME=rick87: @PJL SET COVER=OFF9b: @PJL SET HOLD=OFFae: @PJL SET PAGESTATUS=STARTc9: @PJL SET COPIES=1dc: @PJL SET MEDIASOURCE=TRAY1f8: @PJL SET MEDIATYPE=PLAINRECYCLE119: @PJL SET PAPER=LETTER130: @PJL SET PAPERWIDTH=510014a: @PJL SET PAPERLENGTH=6600165: @PJL SET RESOLUTION=60017e: @PJL SET IMAGELEN=60604197: DDST_JBIG_DATA_BEGIN 60604 bytesDL = 0, D = 0, P = 1, - = 0, XY = 5100 x 6600L0 = 128, MX = 0, MY = 0Order = 3 ILEAVE SMIDOptions = 72 LRLTWO TPBON52 stripes, 0 layers, 1 planesee53: DDST_JBIG_DATA_ENDee53: @PJL SET DOTCOUNT=1765571ee6e: @PJL SET PAGESTATUS=ENDee87: @PJL EOJee91: 33%-12345X/usr/bin/ddstdecode foo2ddst-wrapper(1), foo2ddst(1), pbmtojbg(1) Rick Richardson <[email protected]>
http://foo2xqx.rkkda.com/