Gentoo Wiki



After failing to set up CUPS, I've noticed that forums are flooded with people not knowing how to configure CUPS (thus not being able to print). This tip is intended primarily at configuring a locally attached printer, but it might well be helpful for other printer connections. As a non-specialist, I may get somewhere technically wrong, so please feel free to correct the text.


Of course, first things first:

emerge -av cups

In order to be able to access http://localhost:631/ with your web-browser (Opera, in my case) and thus install your printer, you'll need to start the cupsd service:

/etc/init.d/cupsd start.

Common errors

In order for the cupsd service to start (and here most problems arise), you need to have the net.lo service started. This will enable you to access your printer in loopback mode. If net.lo service is not started, you will probably get the "cupsd: Child exited with status 98!" error message.

For those trying to connect a Hewlett-Packard PSC Device, you'll probably need to emerge hplip, too. And follow this guide: CUPS/HPOJ.

After all these conditions are met, fire up your web-browser and access http://localhost:631/ and follow the Gentoo Printing guide.

If you still cannot configure your printer, you might get a clue by looking at /var/log/cups/error_log and then start searching the forums.

Retrieved from ""

Last modified: Tue, 09 Sep 2008 22:27:00 +0000 Hits: 2,584