Installing HP Laserjet P1007 printer on Ubuntu 11.10

Credits: Tejasbarot.com, foo2xqx project

This is the quick and easy method to install the printer on Ubuntu. Tested on Ubuntu 11.10 under KDE.

    1. Download foo2xqx.
      wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz[/code]OR

      wget -O foo2zjs.tar.gz http://droidzone.in/misc/ubuntu/drivers/hplaserjet/p1007/foo2zjs.tar.gz[/code]
    2. Extract the downloaded package
      tar zvxf foo2zjs.tar.gz[/code]
    3. Execute the following code to compile the driver, install it and to configure a new printer
      cd foo2zjs/
      make
      ./getweb P1007
      sudo make install
      sudo apt-get install system-config-printer-gnome
      system-config-printer[/code]
      At this point, you get a popup box with a Printer driver. Double click on HP Laserjet P1007 to install a new driver.
    4. Configure Plug and Play:
      sudo make install-hotplug[/code]
      At this point, you may be prompted to uninstall system-config-printer-udev.

      [droidzone@supernova foo2zjs]$ sudo make install-hotplug
      #
      # Hotplug Installation Dependencies...
      #
      ***
      *** Error: system-config-printer-udev is installed!
      ***
      *** Remove it with: (Fedora)
      *** # yum remove system-config-printer-udev
      *** OR
      *** # rpm -e --nodeps system-config-printer-udev
      *** OR (Ubuntu, Debian)
      *** $ sudo apt-get remove system-config-printer-udev
      *** OR (generic linux)
      *** # rm -f /lib/udev/rules.d/*-printers.rules
      ***
      make: *** [install-hotplug-test] Error 1
      [/code]
      Do it.

      [droidzone@supernova foo2zjs]$ sudo apt-get remove system-config-printer-udev
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages will be REMOVED:
      system-config-printer-udev
      0 upgraded, 0 newly installed, 1 to remove and 378 not upgraded.
      After this operation, 131 kB disk space will be freed.
      Do you want to continue [Y/n]? y
      (Reading database ... 141596 files and directories currently installed.)
      Removing system-config-printer-udev ...
      [droidzone@supernova foo2zjs]$ sudo make install-hotplug
      [/code]
      At this point, you can see your printer initialize with its peculiar sound.

Now you're all set to print any document.

 

 


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.