foo2lava-wrapper(1)
foo2lava-wrapper π
okay bestie, gather round, because this is the foo2lava-wrapper manual page (that's section 1 of the General Commands Manual, iykyk) and it is genuinely SO much cooler than it sounds. she converts Postscript into a LAVAFLOW or OPL printer stream and honestly? iconic behavior. π
β¨ NAME β¨
foo2lava-wrapper β convert Postscript into a LAVAFLOW or OPL printer stream π¦
β¨ SYNOPSIS β¨
foo2lava-wrapper [options] [ps-file]
β¨ DESCRIPTION β¨
so. foo2lava-wrapper is a Foomatic-compatible printer wrapper for the foo2lava printer driver. it reads a Postscript ps-file (or standard input, she's flexible like that π«Ά) and converts it into Zenographics LAVAFLOW printer format, all so it can drive:
- the Konica Minolta magicolor 1600W color laser printer
- the Konica Minolta magicolor 1680MF/1690MF AIO printer
- the Konica Minolta magicolor 2480/2490 MF AIO printer
- the Konica Minolta magicolor 2530 DL network color laser printer
- and honestly a whole bunch of other Zenographics-based LAVAFLOW printers too π
she can run in a standalone fashion if you want, but fr fr her main character moment is being called from a printer spooler system that uses the Foomatic printer database. π
β¨ COMMAND LINE OPTIONS β¨
πΈ Normal Options πΈ
these are the options for picking the parameters of a print job β the stuff you'd usually control per job, no cap.
-cβ print in color (otherwise it's monochrome, which is lowkey fine too).-Ccolormode β color correction mode, defaults to[0].1β Photos (using m2300w CRDs)2β Photos and text (using m2300w CRDs)3β Graphics and text (using m2300w CRDs)10β ICM color profile (using-G *.icmfile)
-dduplex β duplex code to send to the printer, defaults to[1].1β off2β long edge3β short edge
-mmedia β media code to send to the printer, defaults to[0]. for the2530DL:plainβ0transparencyβ4thick stockβ20envelopeβ22letterheadβ23postcardβ25labelsβ26recycledβ27
-ppaper β paper size code to send to the printer, defaults to[2].1β executive2β letter3β legal80β env Monarch81β env #1091β env C5835β 4x6" photo25β A526β A445β B5jis65β B5iso90β env DL92β env B5837β 10x15cm photo
-ncopies β number of copies, defaults to[1]. π-rxresxyres β set device resolution in pixels/inch, defaults to[1200x600].-ssource β source (Input Slot) code to send to the printer, defaults to[255].1β Tray 14β Tray 2255β auto
-tβ Draft mode. every other pixel is white. (saving ink AND serving looks π )-2,-3,-4,-5,-6,-8,-9,-10,-12,-14,-15,-16,-18β print in N-up. requires thepsutilspackage, bestie, don't forget it.-oorient β 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 for customizing how foo2lava behaves on a particular printer. every printer's got her own vibe check, yk?
-uxoffxyoff β set the offset of the start of the printable region from the upper left corner, in pixels[varies with paper size]. the defaults should work on the2200DLand2300DL, and have not been tested on any other printers. π-lxoffxyoff β set the offset of the end of the printable region from the lower right corner, in pixels[varies with paper size]. same deal: defaults should work on the2200DLand2300DL, and have not been tested on any other printers.-Lmask β send the logical clipping values from-u/-lin the LAVAFLOW stream. foo2lava-wrapper always 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
-zmodel β Model. the default is[0].0/LAVAFLOWβ magicolor 2490 MF0/LAVAFLOWβ magicolor 2530 DL1/OPLβ magicolor 2480 MF2/LAVAFLOWβ magicolor 1600W2/LAVAFLOWβ magicolor 1680MF2/LAVAFLOWβ magicolor 1690MF
πΈ Color Tweaking Options πΈ
these control the quality of color output. heads up though: color correction is currently a WORK IN PROGRESS. π§
-ggsopts β additional options to pass to Ghostscript, such as-gβ-dDITHERPPI=nnnβ, etc. this option may appear more than once. π-Gprofile.icm β convert profile.icm to a Postscript color rendering dictionary (CRD) usingfoo2zjs-icc2psand adjust the printer colors by using the Postscriptsetcolorrenderingoperator. (WORK IN PROGRESS).-Ggamma-file.ps β prepend gamma-file.ps to 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
-Iintent β select profile intent from the ICM file.0=Perceptual,1=Colorimetric,2=Saturation,3=Absolute. default is0(perceptual).
πΈ Debugging Options πΈ
these are for debugging foo2lava and her wrapper. 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 monochrome LAVAFLOW stream from a Postscript document, examine it, and then print it using a RAW print queue:
foo2lava-wrapper testpage.ps > testpage.zm
lavadecode < testpage.zm
lpr -P raw testpage.zm
create a color LAVAFLOW stream from a Postscript document:
foo2lava-wrapper -c testpage.ps > testpage.zc
β¨ FILES β¨
/usr/bin/foo2lava-wrapper
β¨ SEE ALSO β¨
foo2lava(1), lavadecode(1) opldecode(1)
β¨ AUTHOR β¨
Rick Richardson <rick.richardson@comcast.net> http://foo2zjs.rkkda.com/
and that's the whole page bestie!! π«Ά this one's from the General Commands Manual, section 1, foo2lava-wrapper(1), courtesy of Rick Richardson over at http://foo2zjs.rkkda.com/ β go say hi, she ate and left no crumbs. πβ¨ππ¦
π¦ 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