============================================================================== Usage: foo2zjs [options] <pbm-file >zjs-file Convert Ghostscript pbm format to a black and white ZJS stream, for driving the Minolta/QMS 2300 DL network color laser printer and other Zenographics-based black and white printers. gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ -sPAPERSIZE=letter -r1200x600 -sDEVICE=pbmraw \ -sOutputFile=- - < testpage.ps \ | foo2zjs -r1200x600 -g10200x6600 -p1 >testpage.zm foo2zjs [options] <cmyk-file >zjs-file Convert Ghostscript (1-bit) bitcmyk format to a color ZJS stream, for driving the Minolta/QMS 2300 DL network color laser printer N.B. Color correction is expected to be performed by ghostscript. gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE \ -sPAPERSIZE=letter -g10200x6600 -r1200x600 -sDEVICE=bitcmyk \ -sOutputFile=- - < testpage.ps \ | foo2zjs -r1200x600 -g10200x6600 -p1 >testpage.zc Options: -c Force color mode if autodetect doesn't work -g <xres>x<yres> Set page dimensions in pixels/inch [10200x6600] -m media Media code to send to printer [1] 1=standard 2=transparency 3=glossy 257=envelope 259=letterhead 261=thickstock 262=postcard 263=labels -p paper Paper code to send to printer [1] 1=letter, 5=legal 7=executive 9=A4 11=A5 13=B5 -n copies Number of copies [1] -r <xres>x<yres> Set device resolution in pixels/inch [1200x600] -s source Source code to send to printer [7] 1=upper 2=lower 4=manual 7=auto -J filename Filename to send to printer [] -U username Username to send to printer [] -D lvl Set Debug level [0] ============================================================================== ============================================================================== Usage: foo2zjs-wrapper [options] < ps-file Foomatic printer wrapper for the foo2zjs printer driver. Options: -c Print in color (else black and white) -m media Media code to send to printer [1] 1=standard 2=transparency 3=glossy 257=envelope 259=letterhead 261=thickstock 262=postcard 263=labels -p paper Paper code [1] 1=letter, 5=legal 7=executive 9=A4 11=A5 13=B5 -n copies Number of copies [1] -r <xres>x<yres> Set device resolution in pixels/inch [1200x600] -s source Source code to send to printer [7] 1=upper 2=lower 4=manual 7=auto -D lvl Set Debug level [1] ============================================================================== ============================================================================== Usage: zjsdecode [options] < zjs-file Decode a ZjStream into human readable form. A ZjStream is the printer langauge used by some Minolta/QMS and HP printers, such as the 2300DL and LJ-1000. ============================================================================== GENERAL These programs convert pbm (B/W) images and 1-bit-per-pixel cmyk images (both produced by ghostscript) to Zenographics ZJ-stream format. There is some information about the ZJS format at http://ddk.zeno.com. With these utilities, you can print to some HP and Minolta/QMS ZjStream printers, such as these: - HP LaserJet 1000 B/W - Minolta/QMS 2300 DL B/W and color BUGS AND DEFICIENCIES - Need to prepend some Postscript to the job to do color correction - Needs to support a better input color file format which includes explicit page boundary indications. AUTHORS The foo2zjs engine program began life as Robert Szalai's 'pbmtozjs' program. It also uses Markus Kuhn's jbig-kit compression library (included, but available at http://www.cl.cam.ac.uk/~mgk25/jbigkit/). The foo2zjs engine was overhauled by Rick Richardson to add color support for the Minolta/QMS 2300DL, add command line options, limit data chunk size to 65536 bytes, and other miscellaneous features. Rick also contributed the xjsdecode program and the foomatic database entries for the Minolta/QMS magicolor 2300 DL. You can contact the current author at mailto://rickr@mn.rr.com The latest version of this package can be found at: http://home.mn.rr.com/richardsons/foo2zjs/ wget http://home.mn.rr.com/richardsons/foo2zjs/foo2zjs.tar.gz LICENSE This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. If you want to use this program under different license conditions, then contact the author for an arrangement. PATENTS It is possible that certain products which can be built using the jbig software module might form inventions protected by patent rights in some countries (e.g., by patents about arithmetic coding algorithms owned by IBM and AT&T in the USA). Provision of this software by the author does NOT include any licences for any patents. In those countries where a patent licence is required for certain applications of this software module, you will have to obtain such a licence yourself.