The print/foo2zjs port

foo2zjs-20201003p0 – driver for ZjStream wire protocol compatible printers (cvsweb github mirror)


foo2zjs is an open source printer driver for printers that use the
Zenographics ZjStream wire protocol for their print data, such as the
Minolta/QMS magicolor 2300 DL or Konica Minolta magicolor 2430 DL.
These printers are often erroneously referred to as winprinters or GDI
However, Microsoft GDI only mandates the API between an application and
the printer driver, not the protocol on the wire between the printer
driver and the printer.
In fact, ZjStream printers are raster printers which happen to use a
very efficient wire protocol which was developed by Zenographics and
licensed by most major printer manufacturers for at least some of their
product lines.
WWW: https://foo2zjs.linkevich.net//


| Running ${PKGSTEM} on OpenBSD

Before using foo2zjs you may need to get some extra files from the web:
ICM profiles (for color correction) and/or firmware using the command

Then copy the downloaded file(s) into the corresponding directory under

If your printer requires a firmware load and attaches as ugen(4) device,
run the following command as root each time the device is powered up:
    cat ${TRUEPREFIX}/share/foo2zjs/firmware/XXX.dl > /dev/ugenN.EE
-> XXX is your printer firmware name
-> /dev/ugenN.EE is the ugen(4) device (N) and endpoint (EE) of your
   printer; which can be found using
   # usbdevs -vd
Alternatively, hotplugd(8) attach/detach scripts can automate this.

Firmwares for some printers are available in the sysutils/firmware/ulpt
port and will be installed under /etc/firmware/. If your printer
attaches as ulpt(4) device the firmware will be loaded automatically.


Antoine Jacoutot



Library dependencies

Build dependencies

Run dependencies