I use hp-setup to add my HP LaserJet 1020 printer to Debian Squeeze

| | Comments (3) |

It always amazes me when things don't work out of the box in Linux — even in Debian, where it seems like more stuff works with less effort than ever.

However, I had to go outside of the Debian repositories to get our new Epson Perfection V330 scanner to work. But get it to work, I did.

In the past, I've had trouble getting our el-cheapo HP LaserJet 1020 printer to work not just with Linux but also with Mac OS X. Yep, it's not just Linux that has trouble.

But I figured those days were over, especially now that most Linux systems auto-detect and then auto-install the proper drivers to get printers working.

I needed to print from Debian Squeeze on the Lenovo G555 to the HP Laserjet 1020 in a hurry. If I had more time, I would have done more futzing and maybe come to a slightly different solution.

But time was short (school project for the second-grader; I rarely print at home). I plugged the USB cable into the laptop. The system auto-detected the printer and, with my root password, added it.

But it wouldn't print. Eventually I got a dialog in the GNOME desktop that told me to run hp-setup. I knew it meant to run it in a terminal, but for the newbie it would have been nice to spell that out.

The dialog didn't tell me how to run it (again not helpful to the newbie). But eventually, a few semi-helpful error messages later, I ran it with sudo and in interactive mode:

$ sudo hp-setup -i

I was prompted/asked to install the driver from HP's site. I wasn't super happy about that, preferring to get what I need from within Debian. But I agreed, the script installed the driver, and the printer worked.

I'm never happy going outside the friendly confines of the Debian and Debian Multimedia repositories, but since I was able to get the printer working, I'm OK with it. I just wonder why I didn't have to do this to add a couple of networked HP printers in the previous week and month(s).


3 Comments

Curt Howland said:

I think it's amazing that it went to HP's website for a driver.

That is such a HUGE improvement over "sorry, we only support Windows".

Matt said:

Did you only have to do that once, or do you have to do it every time you turn off and turn back on your printer? I'm on Ubuntu 11.04 and have to run hp-setup (actually, hp-firmware, which is run inside hp-setup) each time I turn back on my laserjet 1020 to get it to actually print. I didn't have to do that with 10.10, but did for 10.04. Very strange.

I only had to do this the one time. Now the printer works whenever I happen to be connected to it.

Leave a comment

Tech Talk column

Steven Rosenberg's weekly Tech Talk column, which appeared Saturdays in the Los Angeles Daily News through about October 2009, is available on the Daily News Technology page.

About this blog






Steven Rosenberg aims to learn what he does not know. He writes about it here.



About this Entry

This page contains a single entry by Steven Rosenberg published on March 15, 2011 8:00 PM.

Replacing a broken laptop key with a new key from LaptopKey.com was the previous entry in this blog.

Experimenting with Dropbox in Debian Squeeze is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Recent Comments

Steven Rosenberg on I use hp-setup to add my HP LaserJet 1020 printer to Debian Squeeze: I only had to do this the one time. Now the printer works whenever I h ...

Matt on I use hp-setup to add my HP LaserJet 1020 printer to Debian Squeeze: Did you only have to do that once, or do you have to do it every time ...

Curt Howland on I use hp-setup to add my HP LaserJet 1020 printer to Debian Squeeze: I think it's amazing that it went to HP's website for a driver. That ...

Powered by Movable Type 4.25

Search this blog

Loading

LXer

Links

Life, the Universe and Debian
Simplify
Daily News technology
LXer
Distrowatch
Linus' Blog
David Pogue
BoingBoing
Linux Today
TuxRadar
Linux.com
Linux Planet
The Open Road
Linux Outlaws podcast
Dan Lynch
Fabian Scherschel
The VAR Guy
Larry the Free Software Guy
Chess Griffin
Linux Reality podcast
Desktop Linux
Practical Technology
Linux Devices
ZDNet
ZDNet's Storage Bits
ZDNet U.K.
iTWire
CNet News
Webware
Beyond Binary
TechCrunch
The Register
Ars Technica
Reg Developer
Computerworld
Computerworld blogs
Steven J. Vaughan-Nichols at Computerworld
Debian
Planet Debian
Debian Forums
Debian News
debianHELP
debiantutorials.org
The Debian User
Wolfgang Lonien
Debian-News.net
Debian Administration
Debian Admin
Debian Weather
Aaron Toponce
Ubuntu
Xubuntu
Kubuntu
Edubuntu
Planet Ubuntu
Ubuntu Forums
Ubuntu Geek
Works With U
OMG! Ubuntu!
I' Been to Ubuntu
Tanner Helland
Dustin Kirkland
Ubuntu UK Podcast
Ubuntu Linux Help
Popey
Linux Mint
CrunchBang Linux
OpenBSD
OpenBSD Journal
OpenBSD Ports
OpenBSD 101
Planet.OpenBSD.nu
jggimi's OpenBSD live CD
DaemonForums
BSDanywhere
Marc Balmer
Denny's OpenBSD blog
Polarwave's OpenBSD Tips and Tricks
Binary Updates for OpenBSD
Puppy Linux
Damn Small Linux
Tiny Core Linux
Lucky 13's Linux blog (lots of Tiny Core)
Lucky 13's BSD blog
PCLinuxOS
Mandriva
Red Hat
Red Hat News
Red Hat Blogs
Red Hat: Truth Happens
Red Hat Magazine
CentOS
Planet CentOS
Fedora
Planet Fedora
Fedora Forums
Fedora Docs
Join Fedora
Paul Frields
Slackware
Slackbuilds
Robby's Slackware Packages
Slackblogs
dropline GNOME for Slackware
GNOME Slackbuild
GWARE - GNOME for Slackware
Wolvix
Zenwalk Linux
Vector Linux
Slax
Splack Linux — Slackware for Sparc
Nonux
How to Forge
marc.info BSD and Linux mailing list archive
FreeBSD
FreeBSD, the Unknown Giant
A Year in the Life of a BSD Guru
NetBSD
hubertf's NetBSD Blog
PC-BSD
Daemon Forums
FreeBSD Forums
Planet FreeBSD
Evilcoder.org
miwi's Privat Blog
DragonFlyBSD
DragonFlyBSD Digest
DesktopBSD
BSD Talk podcast
BSD Magazine
Rhyous
OpenSolaris
MilaX
BeleniX
DeLi Linux
Linux Loop
Electronista
The Tech Report
Engadget
Gizmodo
Phoronix
xkcd – A webcomic of romance, sarcasm, math and language
Nixie Pixel
Technology for Mortals
Thoughts on Technology
ZaReason
System 76
Tiger Direct
NewEgg
DealExtreme

Advertisement

Other blogs

Estimated stats from spring game in Inside UCLA with Jon Gold
Missing Person in Inside USC with Scott Wolf
Mohammad House opens in The Sausage Factory
How royally screwed are Kings fans without Miller and Fox narrating this playoff fun run? in Farther Off the Wall
SOFTBALL: Oaks Christian's Ackermann reaches milestone in Daily News High School Spotlight