Configuring printer on Ubuntu

Muzer muzerakascooby at
Fri Jun 5 15:15:46 UTC 2009

Graham Todd wrote:
> On Fri, 5 Jun 2009 11:58:18 +0530
> Sahana Basavapatna <sahana.basavapatna at> wrote:
>> Hello,
>> I am wondering if anyone can help. I use the latest Ubuntu and am
>> trying to configure the printer, HP Lazer Jet P2015 dn. It does not
>> work. I have added
>>  - the Host as "dhcppc0",
>>  - Port Number "9100"
>>  - Location -
>> How do I get the printer working?
>> Thanks!
>> Sahana
> You might try the web interface to CUPS (Common Unix Printing System)
> to find out if your printer is recognised.  Thats the first step.
> In a browser (Firefox, Epiphany, etc) put in this URL:
> http://localhost:631/
> change the localhost to if nothing happens.
> If its not listed, you may have to download a driver, but there's
> plenty of answers to users of Ubuntu and Kubuntu on the "problems page"
> so you should find an answer there.
It could also be that your printer/router uses WINS only and not DNS, 
and your system does not have WINS enabled. Edit /etc/nsswitch.conf with 
your favourite editor:
gksudo <editor> /etc/nsswitch.conf
(if you're running kubuntu, replace gksudo with kdesudo)
Find the line starting with "hosts:" and change it so the word wins 
appear after files (before the dns entry at least, otherwise if you use 
something like OpenDNS, it will resolve to the OpenDNS error page before 
the WINS server). Mine looks like this:
hosts:          files wins mdns4_minimal [NOTFOUND=return] dns mdns4

This is how I got Samba working properly with computer names. Maybe it 
will apply to your printer as well? :)

Version: 3.1
GCS/CM/IT d>++ s+:- a---- C+++ UL+++>++++ P+>+++ L+++>+++++ E---->--- W+++ N o? K? w--- O+ M-- V- PS PE? Y-- PGP- t+ 5? X- R-- tv+ b++ DI D G++ e- h! !r y 

More information about the ubuntu-users mailing list