foo2qpdl(1)
π foo2qpdl β the manual, but make it cute π
okay bestie, gather round, because today we're talking about foo2qpdl from the General Commands Manual section 1, and honestly? she's iconic. she takes Ghostscript's pbmraw / bitcmyk / pksmraw vibes and turns them into a QPDL printer stream. printer girlbossery, no cap.
β¨ NAME β¨
foo2qpdl β Convert Ghostscript pbmraw or bitcmyk format into a QPDL printer stream
πΈ SYNOPSIS πΈ
foo2qpdl [options] <pbmraw-file >qpdl-file
foo2qpdl [options] <bitcmyk-file >qpdl-file
foo2qpdl [options] <pksmraw-file >qpdl-file
π¦ DESCRIPTION π¦
okay so here's the tea π: foo2qpdl converts Ghostscript pbmraw, bitcmyk, or pksmraw output formats into monochrome or color QPDL streams. it's literally the thing that drives these printers:
- Samsung CLP-300
- CLX-2160
- CLP-600
- CLX-3160
- CLP-610
- CLP-620
- CLP-360
- CLP-365
- and the Xerox Phaser 6110 QPDL printers
main character energy for your print queue, fr fr. π
π COMMAND LINE OPTIONS π
π Normal Options
these are the options used to select the parameters of a print job that are usually controlled on a per job basis. the everyday slay.
-cβ Force color mode if autodetect doesn't work.-d duplexβ Duplex code to send to printer[1].1β off2β long edge3β short edge
-g xpixxypixβ Set page dimensions in pixels[10200x6600].-m mediaβ Media code to send to printer[0].plainβ0thickβ1thinβ2bondβ3colorβ4cardβ5labelsβ6envelopeβ7preprintedβ8cottonβ9recycledβ10transparencyβ11archiveβ12
-p paperβ Paper code to send to printer[0].0β letter1β legal2β A43β executive6β env #107β env Monarch8β env C59β env DL11β B5jis12β B5iso16β A517β A623β env C624β folio25β env 6.7526β env #928β oficio21β custom
-n copiesβ Number of copies[1].-r xresxyresβ Set device resolution in pixels/inch[1200x600].-s sourceβ Source (InputSlot) code to send to printer[255].1β auto2β manual3β multi4β tray1
-tβ Draft mode. Every other pixel is white. lowkey a glow-down for your ink budget, and we respect it. π-J filenameβ Filename string to send to printer.-U usernameβ Username string to send to printer.
π§ Printer Tweaking Options
these are the options used to customize the operation of foo2qpdl for a particular printer. fine-tuning era. β¨
-a b,c,s,cr,mg,ybβ Color Adjust: brightness, contrast, saturation, cyan-red balance, magenta-green balance, and yellow-blue balance from0to100. The default is50,50,50,50,50,50. This only works when the-z3(e.g. CLP-365) model is set! π (yes, only that one, she's exclusive)-u xoffxyoffβ Set the offset of the start of the printable region from the upper left corner, in pixels[0x0].-l xoffxyoffβ Set the offset of the end of the printable region from the lower right corner, in pixels[0x0].-L maskβ Send logical clipping amounts implied by-u/-lin the QPDL stream[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.-z modelβ Printer model. Model0is the default.0β CLP-300, CLX-2160, CLX-31601β CLP-6002β CLP-310, CLP-315, CLP-610, CLX-31753β CLP-620, CLP-360, CLP-365
π Debugging Options
these options are used for debugging foo2qpdl. detective mode activated π΅οΈββοΈ
-S planeβ 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
-D levelβ Set Debug level[0].
π EXAMPLES π
Create a black and white QPDL stream:
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
-sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw
-sOutputFile=- - < testpage.ps
| foo2qpdl -r1200x600 -g10200x6600 -p0 >testpage.zm
Create a color QPDL stream:
gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE
-sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk
-sOutputFile=- - < testpage.ps
| foo2qpdl -r1200x600 -g10200x6600 -p0 >testpage.zc
π FILES π
/usr/bin/foo2qpdl
π SEE ALSO π
π AUTHOR π
- Rick Richardson
<rick.richardson@comcast.com> http://foo2qpdl.rkkda.com/
ok that's the whole page bestie, every flag, every code, every default, nothing skipped, periodt. π
and for the cute sign-off: this lil beauty lives in the General Commands Manual (section 1), same title on both ends like a lil matching set β foo2qpdl(1) at the top and foo2qpdl(1) at the bottom, with the General Commands Manual name riding along in the header and footer both. π«ΆπΈ she's consistent, she's classic, she's iconic. mwah. ππ
π¦ 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