foo2ddst(1)
π foo2ddst(1) β the Gen Z field guide π
okay bestie, sit down, hydrate, and let me tell you about foo2ddst. it lives in the General Commands Manual section of your system, and it is literally the glow-up machine that turns Ghostscript's pbmraw output into a monochrome DDST stream. no cap.
β¨ NAME β¨
foo2ddst β Convert Ghostscript pbmraw into a DDST printer stream π
πΈ SYNOPSIS πΈ
foo2ddst [options] <pbmraw-file >ddst-file
that's it. that's the whole vibe. stdin in, stdout out, she's a pipeline girlie π«Ά
π DESCRIPTION π
so here's the tea β β foo2ddst converts Ghostscript pbmraw into monochrome DDST streams, and those streams drive the Ricoh Aficio SP 112, the Ricoh Aficio SP 201, and other DDST-based printers. she's niche, she's specific, she knows her audience. iykyk π
π COMMAND LINE OPTIONS π
π Normal Options π
these are the options you use to pick the parameters of a print job β the stuff you'd normally tweak per job. main character energy only.
-dduplex β Duplex code to send to printer[1].1β off2β long edge3β short edge
-gxpixxypix β Set page dimensions in pixels[5100x6600].-mmedia β Media code to send to printer[1].plain&recycledβ1paperβ2thinβ3thickβ4recycledβ5
-ppaper β Paper code to send to printer[1].1β letter2β legal3β executive4β invoice(5.5x8.5)5β A46β A57β A68β B5 JIS10β 16k 197x27311β 16k 184x26012β 16k 195x270
ok yes bestie, there's no 9. we don't ask. we don't question the lore. π
-ncopies β Number of copies[1].-rxresxyres β Set device resolution in pixels/inch[600x600].-ssource β Source (InputSlot) code to send to printer[7].1β tray 12β manual
-tβ Draft mode. Every other pixel is white. she's on a budget, she's still cute β¨-Tdensity β Print density (1-5). The default is3(medium).-Jfilename β Filename string to send to printer.-Uusername β Username string to send to printer.
π¦ Printer Tweaking Options π¦
these are the options for customizing how foo2ddst operates for one specific printer. tailoring, babes. bespoke.
-uxoffxyoff β Set the offset of the start of the printable region from the upper left corner, in pixels[0x0].-lxoffxyoff β Set the offset of the end of the printable region from the lower right corner, in pixels[0x0].-Lmask β Send logical clipping amounts implied by-u/-lin the ZjStream[3].0β don't send any logical clipping amounts1β only send Y clipping amount2β only send X clipping amount3β send both X and Y clipping amounts
-Aβ AllIsBlack: convertC=1,M=1,Y=1to justK=1. Works withbitcmykinput only. (yes, only. respect the boundaries.)-Bβ BlackClears:K=1forcesC,M,Yto0. Works withbitcmykinput only. same energy, opposite direction π
π₯ Debugging Options π₯
these are the options used for debugging foo2ddst. detective mode: activated π΅οΈ
-Splane β Output just a single color plane from a color print and print it on the black plane. The default is to output all color planes.1β Cyan2β Magenta3β Yellow4β Black
-Dlevel β Set Debug level[0].
β EXAMPLES β
Create a black and white DDST stream:
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
-sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw
-sOutputFile=- - < testpage.ps
| foo2ddst -r1200x600 -g10200x6600 -p1 >testpage.zm
look at her go. pipeline queen. ate and left no crumbs π
π§ FILES π§
/usr/bin/foo2ddst
π SEE ALSO π
πΈ AUTHOR πΈ
- Rick Richardson
<rick.richardson@comcast.net> http://foo2ddst.rkkda.com/
and that's the whole page bestie π this little legend comes to you straight out of the General Commands Manual, authored with love by Rick Richardson <rick.richardson@comcast.net> at http://foo2ddst.rkkda.com/ β and ngl, the footer didn't hand me a version or a date to shout out, so just know she's timeless. periodt. π
β¨
π¦ where this page comes from
- ubuntu noble: printer-driver-foo2zjs-common 20200505dfsg0-2ubuntu6 Β· GPL-2.0-or-later
- ubuntu questing: printer-driver-foo2zjs-common 20200505dfsg0-2ubuntu6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms