Install Linux driver for HP P1006 printer

Click the link, or cut and paste the whole command line below to download the driver.

    $ wget -O foo2zjs.tar.gz

Now unpack it:

    $ tar zxf foo2zjs.tar.gz
    $ cd foo2zjs

Now compile and install it. The INSTALL file contains more detailed instructions; please read it now.

    $ 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:

    # printconf-gui

For Fedora Core 6, Fedora 7/8/9/10, and Ubuntu 7.10/8.x users:

    # system-config-printer

For Mandrake/Manrivia users:

    # printerdrake

For SUSE 10.x/11.x users:

    # yast2 printer

For Ubuntu 5.10/6.06/6.10/7.04 users:

    $ sudo gnome-cups-manager
    $ sudo make cups             # IMPORTANT: gnome-cups-manager has a BUG in it

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.