Posts Tagged ‘hp p1006’

Using HP Laserjet P1006 from network printer on mac os

January 8, 2011 7 comments

OK, here’s the problem.

HP Laserjet P1006

HP Laserjet P1006

I’m using Mac OS Leopard 10.5.8 and we have HP Laserjet P1006 printer at the office connected on Windows server 2003 as printer server. Other client using Windows family (XP, Vista, and 7) works fine with this printer as the driver is already available and copied from the server. But for me, it’s really frustrated since the driver is not listed when i add this printer from network. Some googling lead me to download the driver from HP, but the driver is only work for USB, in other word the driver just works if the printer is attached directly to my mac, and i tried it successfully.

But, it’s not what i want, the printer must located on the server and other client can used it together. Doing some googling again give me more information that HP does not provide driver for network printing and some people give advice for using it with CUPS, but configuring CUPS with windows server seems to be impossible (CMIIW).

Hmmm, i was wondering why HP doesn’t provide driver for network printing… Forget it, let’s search another option.

Finally, i got some valuable information about this issue, looks like some developer made the dream comes true.

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. (

Voilla, HP Laserjet P1006 is listed there and reported/tested fine by other user.

OK, let’s tried it out…

  1. First, you need Xcode and macports installed on your mac.
  2. Install ghostscript

    $ sudo port install ghostscript

  3. Install the Foomatic-RIP (foomatic-RIP and foomatic-gswrapper)

    $ wget
    $ tar zxvf foomatic-filters-4.0.5.tar.gz
    $ cd foomatic-filters-4.0.5
    $ CPPFLAGS=”-I/opt/local/include” LDFLAGS=”-L/opt/local/lib” ./configure –prefix=/usr
    $ make
    $ sudo make install

  4. Install the foo2xqx driver.

    $ wget -O foo2zjs.tar.gz
    $ tar zxf foo2zjs.tar.gz
    $ cd foo2zjs
    $ ./getweb P1006
    $ sudo make install

  5. Last, let’s add the printer from System Preferences –> Print & Fax menu.
    Unfortunately i don’t have screenshot when i add the printer, but it’s just like usual add printer step, where you choose Windows –> Workgroup name –> Computer name –> Printer name. On Print Using select box, search “p1006” and you’ll get HP Laserjet P1006 Foomatic/foo2xqx (recommended).

Happy printing 🙂


Categories: Tips 'n trick Tags: , ,