foo2slx(1)
β¨ foo2slx β the manual, but make it make sense β¨
okay bestie, welcome to foo2slx(1), straight out of the General Commands Manual (that's section 1, for the ones keeping score π
). sit down, grab a strawberry π, and let's get you fluent.
πΈ NAME πΈ
foo2slx β Convert Ghostscript pbmraw or bitcmyk format into a SLX printer stream
π¦ SYNOPSIS π¦
foo2slx [options] <pbmraw-file >slx-file
foo2slx [options] <bitcmyk-file >slx-file
foo2slx [options] <pksmraw-file >slx-file
π DESCRIPTION π
so basically, foo2slx takes Ghostscript's pbmraw, bitcmyk, or pksmraw output formats and turns them into monochrome or color SLX streams. why do you care? because those streams are what you feed to the Lexmark C500 network color laser printer and other SLZ-based printers. it's giving printer whisperer, no cap. π¨οΈβ¨
and the SLX stream itself? it's a variant of ZjStream, produced by Software Imaging K.K. iconic lineage, honestly.
π COMMAND LINE OPTIONS π
β¨ Normal Options β¨
these are the ones that pick the parameters of a print job β the stuff you usually control on a per-job basis, like a little menu of vibes for each page.
-cβ Force color mode if autodetect doesn't work. (autodetect is lowkey doing its best, but sometimes you gotta step in π )-gxpixxypix β Set page dimensions in pixels [10200x6600].-mmedia β Media code to send to printer [0].
the media menu, in order:
plainβ0transparencyβ1labelsβ2thick1β3envelope1β4thinβ5thick2β6envelope2β7middleβ8specialβ9
-ppaper β Paper code to send to printer [6].
the paper lineup, pair by pair:
6β letter2β A49β legal4β B58β executive5β B5iso10β env #1011β env DL
-ncopies β Number of copies [1]. (yes, one. we're not printing 47 by accident, bestie)-rxresxyres β Set device resolution in pixels/inch [1200x600].-ssource β Source (InputSlot) code to send to printer [0].
the source squad:
0β auto1β cassette1
π Printer Tweaking Options π
these ones customize how foo2slx operates for a particular printer. fine-tuning hours, fr fr.
-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.-Bβ BlackClears:K=1forcesC,M,Yto0. Works withbitcmykinput only.
π Debugging Options π
these are the ones you use for debugging foo2slx. main character energy for problem solvers.
-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 SLX stream:
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
-sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw
-sOutputFile=- - < testpage.ps
| foo2slx -r1200x600 -g10200x6600 -p1 >testpage.zm
Create a color SLX stream:
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
-sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk
-sOutputFile=- - < testpage.ps
| foo2slx -r1200x600 -g10200x6600 -p1 >testpage.zc
π§ FILES π§
/usr/bin/foo2slx
β SEE ALSO β
π AUTHOR π
- Rick Richardson
<rick.richardson@comcast.net> http://foo2slx.rkkda.com/
ok that's the whole page, bestie, nothing skipped, nothing hidden π
and for the little sign-off at the very bottom of the page: this is foo2slx(1) from the General Commands Manual, filed under section 1, brought to you by that same foo2slx(1) title running across the footer. go forth and slay your print jobs π«Άπ¦
π¦ 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