foo2qpdl-wrapper(1)
π foo2qpdl-wrapper β bestie edition π
okay so you wanna turn Postscript into a QPDL printer stream? say less. this is foo2qpdl-wrapper(1), from the General Commands Manual section, and she is serving.
β¨ NAME β¨
foo2qpdl-wrapper β Convert Postscript into a QPDL printer stream π¨οΈβ¨
πΈ SYNOPSIS πΈ
foo2qpdl-wrapper [options] [ps-file]
π¦ DESCRIPTION π¦
So. foo2qpdl-wrapper is a Foomatic compatible printer wrapper for the foo2qpdl printer driver. She reads a Postscript ps-file, or just straight up standard input if you don't hand her one, and converts it all into Samsung/Xerox QPDL printer format so it can drive the Samsung CLP-300, CLX-2160, CLX-3160, CLP-315, CLX-3175, CLP-600, CLP-610, CLP-620, CLP-360, CLP-365, and Xerox Phaser 6110 QPDL printers. no cap, that's the whole list.
She can be used standalone if you're feeling independent, but fr fr she's designed to be called from a printer spooler system that uses the Foomatic printer database. that's her main character era. π
π COMMAND LINE OPTIONS π
π Normal Options
These are the options you use to pick the parameters of a print job β the ones usually controlled on a per-job basis, iykyk.
-cβ Print in color (else monochrome). the glow-up switch π-C colormodeβ Color correction mode [0].1β CRD10β ICM color profile (using-G *.icmfile)
-d duplexβ Duplex code to send to printer [1].1β off2β long edge3β short edge
-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 size 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β oficio
-n copiesβ Number of copies [1]. yes she can run it back multiple times π-r xresxyresβ Set device resolution in pixels/inch [1200x600].-s sourceβ Source (Input Slot) code to send to printer [255].1β auto2β manual3β multi4β tray1
-tβ Draft mode. Every other pixel is white. she's keeping it low-effort but still cute π-2-3-4-5-6-8-9-10-12-14-15-16-18β Print in N-up. Requires thepsutilspackage. (yes bestie, that's a LOT of flags, and they're all just different N values, slay)-o orientβ Orientation used for N-up.Portraitβ-op(normal)Landscapeβ-ol(rotated 90 degrees anticlockwise)Seascapeβ-os(rotated 90 degrees clockwise)
π§ Printer Tweaking Options
These are the options used to customize the operation of foo2qpdl for a particular printer. bespoke. tailored. iconic.
-u xoffxyoffβ Set the offset of the start of the printable region from the upper left corner, in pixels [varies with paper size].-l xoffxyoffβ Set the offset of the end of the printable region from the lower right corner, in pixels [varies with paper size].-L maskβ Send the logical clipping values from-u/-lin the QPDL stream.foo2qpdl-wrapperalways runs Ghostscript with the ideal page dimensions, so that the scale of the image is correct, regardless whether or not the printer has unprintable regions. This option is used to move the position of the clipped image back to where it belongs on the page. The default is to send the amount which was clipped by-uand-l, and should be good in most cases.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
-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
π Color Tweaking Options
These are the options used to control the quality of color output. π¨
Color correction is currently a WORK IN PROGRESS. she's still in her development era, be nice to her π
-a parm=valβ Color Adjust.parmisb,c,s,cr,mg,ybfor brightness, contrast, saturation, cyan-red balance, magenta-green balance, and yellow-blue balance.valis0to100. Multiple options are allowed. The default is"-ab=50 -ac=50 -as=50 -acr=50 -amg=50 -ayb=50". This only works when the-z3(e.g. CLP-365) model is set!-g gsoptsβ Additional options to pass to Ghostscript, such as-g"-dDITHERPPI=nnn", etc. This option may appear more than once.-G profile.icmβ Convertprofile.icmto a Postscript color rendering dictionary (CRD) usingfoo2zjs-icc2psand adjust the printer colors by using the Postscriptsetcolorrenderingoperator. (WORK IN PROGRESS).-G gamma-file.psβ Prependgamma-file.psto the Postscript input to perform color correction using thesetcolortransferPostscript operator. For example, the file might contain:
{0.333 exp} {0.333 exp} {0.333 exp} {0.333 exp} setcolortransfer
-I intentβ Select profile intent from the ICM file.0=Perceptual,1=Colorimetric,2=Saturation,3=Absolute. Default is0(perceptual).
π Debugging Options
These options are used for debugging foo2qpdl and its wrapper. (we're all just out here trying to figure out what's happening fr)
-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 monochrome QPDL stream from a Postscript document, examine it, and then print it using a RAW print queue:
foo2qpdl-wrapper testpage.ps > testpage.zm
qpdldecode < testpage.zm
lpr -P raw testpage.zm
Create a color QPDL stream from a Postscript document:
foo2qpdl-wrapper -c testpage.ps > testpage.zc
see? easy. ate. π β¨
π«Ά FILES π«Ά
/usr/bin/foo2qpdl-wrapper
π SEE ALSO π
πΈ AUTHOR πΈ
Rick Richardson <rick.richardson@comcast.net> http://foo2qpdl.rkkda.com/
and that's the whole page bestie π this one lives in the General Commands Manual section, straight from the source, and she's been serving the printer girlies since forever. go forth and convert. ππ¦π
π¦ 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