Gentoo Wiki




This is a guide for setting up the HP Color LaserJet 2600n through the network.

Configure the Kernel

Because this how-to is geared toward a network-setup for the printer, make sure you have networking enabled and that you can ping the printer's IP address.

Configure the Printer

Follow the instructions for the printer to configure it to a static IP address on your local area network.

Install Software and Drivers

Add net-print/foo2zjs to /etc/portage/package.keywords and add the printer to /etc/make.conf:

echo "net-print/foo2zjs ~*" >> /etc/portage/package.keywords
echo 'FOO2ZJS_DEVICES="hp2600n"' >> /etc/make.conf

Emerge the following software if you haven't already.

emerge ghostscript pnm2ppa foomatic-db cups foo2zjs

Foomatic and foo2zjs will add the printer information into CUPS.

Setup the Printer

All we have to do now is to add the printer and print a test page.


First, enable the CUPS service with "/etc/init.d/cupsd start" as root. Then, bring up the CUPS Admin Interface by typing in your browser: [1]. Enter the username and password for your root account. Next click Add New Printer.

Code: Add information about your printer
Name: ColorLaserJet
Location: At home
Description: My printer 
  1. Select "AppSocket/HP JetDirect" as the Device.
  2. Set the Device URI to "socket://" (replacing the IP with the correct IP for your printer).
  3. Select "HP" as the make.
  4. Select "HP Color LaserJet 2600n Foomatic/foo2ph (en)" as the model. Now you should see the text "Printer ColorLaserJet has been added successfully."
  5. If you want to know if it works go to Printers up in the menu and print a test page with your added printer.

Add it to the runlevel

We want our printer to be available when we start our computer so we add it to the default runlevel.

rc-update add cupsd default


This document is written by Michael Kesler using HP DeskJet 720C by Dennis Höglund (Agne) as a template. Please do not hesitate to send feedback!

Retrieved from ""

Last modified: Sat, 30 Aug 2008 06:41:00 +0000 Hits: 3,237