Home > Tips 'n trick > Using HP Laserjet P1006 from network printer on mac os

Using HP Laserjet P1006 from network printer on mac os

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. (http://foo2xqx.rkkda.com/)

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 http://www.linuxprinting.org/download/foomatic/foomatic-filters-4.0.5.tar.gz
    $ 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 http://foo2zjs.rkkda.com/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: , ,
  1. Anil
    March 17, 2011 at 11:10 am

    I think you should have mentioned that $ sudo port install ghostscript will take more than 3 or 4 hours. It is more than one and half hour, It is still installing.. I don’t know how long it will take?

  2. March 17, 2011 at 4:12 pm

    @Anil: It’s highly depends on your internet speed, and the macport server (basically it’s looking nearest server). It’s just took a few minutes for me.

  3. Siddharth
    August 2, 2011 at 5:06 pm

    hello, can anybody help me.. i am having loads of problems.. the wget command doesnt work anymore and then the tar command also doesnt work. i am on lion..

  4. August 22, 2011 at 12:41 pm

    I think you need to install it from developer tools.

  5. Nikhil Mozika
    June 26, 2012 at 6:14 am

    Is it still required for network server when using HP laser jet p1007

  6. November 7, 2013 at 7:19 am

    I have a similar, maybe related, but different issue. I have a WRT54G ver 2 router with DD-WRT installed and confirmed to be working as a wireless bridge. I’ve got JFFS2 enabled and can RW to NVRAM on the router. I have an Ethernet to USB converter connecting the router and the HP P1006 printer. 1. Is this printer simply not capable of functioning as a network printer in this kind of setup? (I’ve been working at it for more than a week and have made a lot of progress but I’m seeing no signs of it actually working.) 2. If it’s not impossible to use the P1006 in this manner, can anyone point me to instructions (including their own) that will let me do this?

  1. January 27, 2011 at 5:41 am

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: