a linux printer driver for QPDL protocol
e.g. Samsung CLP-300, Samsung CLP-310, Samsung CLP-315, Samsung CLP-325, Samsung CLP-360, Samsung CLP-365, Samsung CLP-600, Samsung CLP-610, Samsung CLP-620, Xerox Phaser 6110
Tarball last modified: Mon Dec 22 02:48:42 2014 CST
*** DON'T USE the foo2zjs package from:
*** Download it here and follow the directions below.
Ubuntu, SUSE, Mandrake/Manrivia, Debian, RedHat, Fedora, Gentoo, Xandros, EEE PC, Linpus, MacOSX, or BSD!
foo2qpdl is an open source printer driver for printers that use the QPDL wire protocol for their print data, such as the Samsung CLP-300 or the Samsung CLP-310 or the Samsung CLP-315 or the Samsung CLP-325 or the Samsung CLP-365 or the Samsung CLP-600 or the Samsung CLP-610ND or the Samsung CLP-620ND or the Xerox Phaser 6110. These printers are often erroneously referred to as winprinters or GDI printers. 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, QPDL printers are raster printers which happen to use a very efficient wire protocol. QPDL is just one of many wire protocols that are in use today, such as Postscript, PCL, Epson, ZjStream, etc.
This driver uses Ghostscript to perform all of the heavy lifting (image processing). There are five major components to the foo2qpdl printer driver.
- foo2qpdl - the page image to protocol conversion engine of the driver.
- foo2qpdl-wrapper - a shell script (compatible with foomatic) which runs ghostscript and foo2qpdl in a pipeline.
- icc2ps - converts an ICM color profile to a Postscript CRD, which is then fed into Ghostscript before the users Postscript program.
- foomatic-db - foomatic database entries which describe the supported printers and their options so that printer spoolers know how to access the printer using foo2qpdl-wrapper.
- qpdldecode - a tool for developers to inspect QPDL streams.
You can read the manual pages for more information.
With the foo2qpdl driver, you can print to some Samsung and Xerox printers:
Supported Printer B/W Color Driver Notes Samsung CLP-300 Yes Yes foo2qpdl tested by Petrus Samsung CLP-310 / 310W Yes Yes foo2qpdl tested by author Samsung CLP-315 / 315W Yes Yes foo2qpdl tested by author Samsung CLP-325 / 325W Yes Yes foo2qpdl Alpha Quality Samsung CLP-360 / 365W Yes Yes foo2qpdl Alpha Quality Samsung CLP-600 Yes Yes foo2qpdl Alpha Quality; No color correction Samsung CLP-610ND Yes Yes foo2qpdl Alpha Quality; No color correction Samsung CLP-620ND Yes Yes foo2qpdl Alpha Quality; No color correction Samsung CLX-2160 Yes Yes foo2qpdl tested by app; printer only Samsung CLX-3160 Yes Yes foo2qpdl Alpha Quality; printer only Samsung CLX-3175 Yes Yes foo2qpdl tested by jchbraun; printer only Samsung CLX-3185 Yes Yes foo2qpdl tested by johnsmith1888; printer only Xerox Phaser 6110 Yes Yes foo2qpdl tested by Rick Richardson Xerox Phaser 6110MFP Yes Yes foo2qpdl printer only
These printers are not supported by this driver:
Unsupported Printer Notes HP LaserJet Pro CP1025nw Supported by my foo2zjs driver HP LaserJet Pro P1102/P1102w Supported by my foo2zjs driver HP LaserJet Pro P1566 Supported by my foo2zjs driver HP LaserJet Pro P1606dn Supported by my foo2zjs driver HP LaserJet P2035 Supported by my foo2zjs driver HP LaserJet 1018/1020/1022 Supported by my foo2zjs driver HP LaserJet 1000/1005 Supported by my foo2zjs driver HP LaserJet M1319 MFP Supported by my foo2zjs driver HP LaserJet P1005/P1006/P1007/P1008 Supported by my foo2xqx driver HP LaserJet P1505/P2014 Supported by my foo2xqx driver HP LaserJet M1005/M1120 MFP Supported by my foo2xqx driver HP LaserJet Pro M1212nf MFP Supported by my foo2xqx driver Minolta-QMS magicolor 2200/2300 DL Supported by my foo2zjs driver Konica Minolta magicolor 2430 DL Supported by my foo2zjs driver HP Color LaserJet CP1215 Supported by my foo2hp driver HP Color LaserJet 1600/2600n Supported by my foo2hp driver HP Color LaserJet 2605dn Unsupported. Use Postscript Konica Minolta magicolor 2480/2490 MF Supported by my foo2lava driver Konica Minolta magicolor 2530 DL Supported by my foo2lava driver Konica Minolta magicolor 1680MF/1690MF Supported by my foo2lava driver Konica Minolta magicolor 1600W Supported by my foo2lava driver Oki C110 Supported by my foo2lava driver Xerox Phaser 6121MFP Supported by my foo2lava driver Lexmark C500n Supported by my foo2slx driver Oki C301dn/C310dn Supported by my foo2hiperc driver Oki C810 Supported by my foo2hiperc driver Oki C3100n/C3200n/C3300/C3400n Supported by my foo2hiperc driver Oki C5100n/C5200n Supported by my foo2hiperc driver Oki C5500n/C5600n/C5650n/C5800n Supported by my foo2hiperc driver Olivetti d-Color P160W Supported by my foo2hiperc driver HP Color LaserJet 1500 Supported by my foo2oak driver Kyocera KM-1635/KM-2035 Supported by my foo2oak driver Dell 1355 Supported by my foo2hbpl driver Epson AcuLaser M1400 Supported by my foo2hbpl driver Fuji Xerox DocuPrint CM205 Supported by my foo2hbpl driver Fuji Xerox DocuPrint M215 Supported by my foo2hbpl driver Fuji Xerox DocuPrint P205 Supported by my foo2hbpl driver Xerox WorkCentre 3045 Supported by my foo2hbpl driver Xerox WorkCentre 6015 Supported by my foo2hbpl driver Minolta/QMS magicolor 2300W/2400W/2500W Try the m2300w driver Minolta/QMS PagePro 12xxW Try Beetman's 1200W driver or Schiller's 1xxW driver Minolta/QMS PagePro 13xxW Try Beetman's 1200W driver or Schiller's 1xxW driver Konica Minolta PagePro 14xxW Try Schiller's 1xxW driver
foo2zjs is open source software that is downloaded over the internet. No media (CD) will be shipped in exchange for your donation.
I keep a record of everyone who has contributed to this driver, in terms of 1) money or equipment, 2) usable bug reports, 3) code and advice.
There are over 403,721 unique IP addresses that have downloaded this driver. There are only a handful of people who have ever contributed to this project (and my thanks go out to them).
Click the link, or cut and paste the whole command line below to download the driver.
$ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz
Now unpack it:Unpack: $ tar zxf foo2zjs.tar.gz $ cd foo2zjs
Now compile and install it. The INSTALL file contains more detailed instructions; please read it now.Compile: $ make Get extra files from the web, such as .ICM profiles for color correction. Select the model number for your printer: $ ./getweb 300 # Get Samsung CLP-300 .ICM files $ ./getweb 310 # Get Samsung CLP-310 .ICM files $ ./getweb 315 # Get Samsung CLP-315 .ICM files $ ./getweb 325 # Get Samsung CLP-325 .ICM files $ ./getweb 360 # Get Samsung CLP-360 .ICM files $ ./getweb 365 # Get Samsung CLP-365 .ICM files $ ./getweb 2160 # Get Samsung CLX-2160 .ICM files $ ./getweb 3160 # Get Samsung CLX-3160 .ICM files $ ./getweb 3175 # Get Samsung CLX-3175 .ICM files $ ./getweb 3185 # Get Samsung CLX-3185 .ICM files $ ./getweb 6110 # Get Zerox Phaser 6110 or 6110MFP .ICM files $ ./getweb 600 # Get Samsung CLP-600 .ICM files $ ./getweb 610 # Get Samsung CLP-610 .ICM files Install driver, foomatic XML files, and extra files: $ su OR $ sudo make install # make install (Optional) If you use CUPS, restart the spooler: # make cups OR $ sudo make cups
Now create printer entries for your spooler. Create at least one queue for monochrome, and another queue for color printing. Create the queues first, then edit them and set the device options as desired. See your operating system documentation for further details on creating a printer queue. Click any hyperlinks below for sample screenshots.For Redhat 7.2/7.3/8.0/9.0 and Fedora Core 1-5 users:For Fedora 6/7/.../20, and Ubuntu 7.10/8.x/.../14.x users:# printconf-guiFor Mandrake/Manrivia users:$ system-config-printerFor SUSE 10.x/11.x users:# printerdrakeFor Ubuntu 5.10/6.06/6.10/7.04 users:# yast2 printerFor Debian 3.x, 4.x, and other systems that use CUPS http://localhost:631$ sudo gnome-cups-manager $ sudo make cups # IMPORTANT: gnome-cups-manager has a BUG in itCommand line using CUPS:$ firefox http://localhost:631# lpadmin -p "NAME" -v "URI" -E -P /usr/share/cups/model/file.ppd.gz # lpadmin -d "NAME" # Set the default
For a networked Xerox Phaser 6110/N, I used a "Queue Type" "HP JetDirect" and set "Host:" to the IP address of the printer and "Port:" to 9100.
For low level testing, you can also create a "raw queue", which will accept QPDL files as-is and send them directly to the printer.
If you installed as per the above instructions, then click on our forums for questions and support.
If you installed a THIRD PARTY (e.g. Ubuntu, Gentoo, etc.) foo2zjs package, then read the INSTALL file and follow the directions. No third party support is given. You MUST install using the above procedure.
There are now two methods for color correction available in foo2qpdl: the original ICM-based method and Gerhard Fuernkranz and Leif Birkenfeld's CRD-based method. Each method has advantages and disadvantages, which is why both methods are still included.
The original ICM-based method uses the manufacturer-supplied ICM color profiles and converts those to CRD's on the fly. This method is the fastest. But it requires Well Tempored Screening, e.g. ghostscript 8.54 or better. The advantages of the ICM method are that its the fastest of the two methods, and it often allows the foo2lava engine to optimize monochrome output on a color queue to printing just the K plane.
The CRD-based method was tuned for Ghostscript and the foo2qpdl engine, and produces better colors. It also uses thresholding to make up for the halftoning issues in Ghostscript. The drawbacks of this method are that it is very slow, it requires Ghostscript 8.14 or better for best results, and it currently cannot optimize pure monochrome text printed on a color queue to printing just the K plane. It is expected that this latter deficiency will be fixed soon.
So, pick your poison.
It uses Markus Kuhn's JBIG-KIT compression library (included), and Marti Maria's icc2ps program (included).
- www.worldlabel.com - Worldlabel.Com: A Brand Name in Laser Labels & Inkjet Labels
- Gnome Manual Duplex - Manual Duplex for Gnome
- www.linuxprinting.org - Home of foomatic
- ZjStream Reference - Overview of ZjS data format
- MacOSX INSTALL.osx - Directions for Mac OSX
- Printing booklets - ... with PSUTILS -- support for creep (shingling)
- Argyll Color Management System - Argyll is an open source, ICC compatible color management system
- Profiles By Rick - Possible source for buying a custom .ICM color profile ($25)
- MadManChan's Custom Printer Profiles - Possible source for buying a custom .ICM color profile ($30)
- Great Printer Profiles - Possible source for buying a custom .ICM color profile ($35)
- Dry Creek Photo - Possible source for buying a custom .ICM color profile ($50)
- ColorValet - Possible source for buying a custom .ICM color profile ($100)
- The Digital Dog - Possible source for buying a custom .ICM color profile ($100)
- http://www.color.org/ - The International Color Consortium
- Gernot Hoffmann - Color printer test pages