a linux printer driver for XQX stream protocol
e.g. HP LaserJet P1005, P1006, P1007, P1008, P1505, P1505n, P2014, P2014n, M1005 MFP, M1120 MFP, M1132s MFP, M1212nf MFP
Tarball last modified: Sat Feb 23 20:29:02 2019 CST
*** DON'T USE the foo2zjs package from:
*** Download it here and follow the directions below.
Arch, BSD, Debian, Fedora, Gentoo, MacOSX, Mandrake/Manrivia, RedHat, SUSE, Ubuntu, or Xandros!
foo2xqx is an open source printer driver for printers that use the HP/Software Imaging "XQX" stream wire protocol for their print data, such as the HP LaserJet P1005, HP LaserJet P1006, HP LaserJet P1505, and the HP LaserJet M1005 MFP, 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, "XQX" printers are raster printers which happen to use a very efficient wire protocol which was developed by HP/Software Imaging. "XQX" 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 foo2xqx printer driver.
- foo2xqx - the page image to protocol conversion engine of the driver.
- foo2xqx-wrapper - a shell script (compatible with foomatic) which runs ghostscript and foo2xqx 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 foo2xqx-wrapper.
- xqxdecode - a tool for developers to inspect "XQX" streams.
You can read the manual pages for more information.
With the foo2xqx driver, you can print to some HP and possibly other "XQX" stream printers:
Supported Printer B/W Color Driver Notes HP LaserJet P1005 Yes No foo2xqx Tested by Ivan Rajevic HP LaserJet P1006 Yes No foo2xqx Tested by Robert HP LaserJet P1007 Yes No foo2xqx Alpha Quality HP LaserJet P1008 Yes No foo2xqx Alpha Quality HP LaserJet P1505/P1505n Yes No foo2xqx Tested by author HP LaserJet P2014/P2014n Yes No foo2xqx Alpha Quality HP LaserJet M1005 MFP Yes No foo2xqx PRINTER ONLY; Tested by Prateep Siamwal HP LaserJet M1120 MFP Yes No foo2xqx PRINTER ONLY; Tested by Hans Voss HP LaserJet Pro M1132s MFP Yes No foo2xqx PRINTER ONLY; Tested by inksi HP LaserJet Pro M1212nf MFP Yes No foo2xqx PRINTER ONLY; Tested by Nicola Bignami
These printers are not supported by this driver:
Unsupported Printer Notes HP LaserJet Pro CP1025nw Supported by my foo2zjs driver HP LaserJet Pro M12a/M12w 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 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 Samsung CLP-300/310/315/325/360/365/600/610/620 Supported by my foo2qpdl driver Samsung CLX-2160/3160/3175/3185 Supported by my foo2qpdl driver Xerox Phaser 6110 Supported by my foo2qpdl driver Lexmark C500n Supported by my foo2slx driver Oki C301dn/C310dn Supported by my foo2hiperc driver Oki C511dn 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 CX17NF 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 Phaser 3010/3040 Supported by my foo2hbpl driver Xerox WorkCentre 3045 Supported by my foo2hbpl driver Xerox WorkCentre 6015 Supported by my foo2hbpl driver Ricoh SP 112 Supported by my foo2ddst driver Ricoh SP 201 Supported by my foo2ddst 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 501,481 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, and firmware. Select the model number for your printer: $ ./getweb P1005 # Get HP LaserJet P1005 firmware file $ ./getweb P1006 # Get HP LaserJet P1006 firmware file $ ./getweb P1007 # Get HP LaserJet P1007 firmware file $ ./getweb P1008 # Get HP LaserJet P1008 firmware file $ ./getweb P1505 # Get HP LaserJet P1505 firmware file Install driver, foomatic XML files, and extra files: $ su OR $ sudo make install # make install (Optional) Configure hotplug (USB; HP LJ P1005/P1006/P1007/P1008/P1505): # make install-hotplug OR $ sudo make install-hotplug (Optional) If you use CUPS, restart the spooler: # make cups OR $ sudo make cups
Now create printer entries for your spooler. 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/.../28, and Ubuntu 7.10/8.x/.../18.x users:# printconf-guiFor Mandrake/Manrivia users:$ system-config-printerFor SUSE 10.x/11.x/.../Leap 42.3 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 low level testing, you can also create a "raw queue", which will accept "XQX" stream 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.
It uses Markus Kuhn's JBIG-KIT compression library (included), and Marti Maria's icc2ps program (included).
- How to Disable System Integrity Protection (rootless) in OS X El Capitan - Mac OS X 10.11+: Do this first!!!
- MacOSX INSTALL.osx - Directions for Mac OSX
- Laserjet-1005-Series-MacOSX-10.pdf - Directions for Mac OSX 10 from Paul Saesen
- 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
- 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)
- 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