Login (generic cert)
Logout
Guests 22
If you can walk and chew gum at the same time, you can run GNU/Linux
Blog Pushes

debian tutorials
debiantutorials.org is built on and runs on Debian.

 

Creative Commons License
Install Networked Printer on your Lenny Desktop
Form and Funtion of a well-put-together Operating System: Debian GNU/Linux Print E-mail
Written by machiner   
Tuesday, 07 April 2009 07:53

I couldn't print something just a second ago after trying with: $ lp [filename] from my temrinal-fu. Of course, it's because I never set the printer up after I reinstalled an Xfce4 Lenny destop yesterday. No worries. Our printer is an HP OfficeJet 6310 and it's got an ethernet port so I plugged it into the router and gave it a static IP. Here is how I "install" it on my laptop (a wireless client on the LAN) in seconds.

You don't have to do this in your terminal, that's just how I roll. Everything in terminal-fu. I groove with roxterm.

Since I have an HP printer, I installed hplip to handle it when I installed my desktop. If you haven't, go ahead and do that else the following commands will be pretty useless. OK, in terminal-fu...

As me, a regular user, I ran: $ hp-probe

hp-probe

 

I chose number 1 as it's a networked 6310, and it was subsequently found in about 4 seconds. Right on. The next command has to be run as root, so:

$ su, [enter]

# hp-setup

Same box in the terminal, I choose number 1 again and there ya go. Found. I hit enter a couple times to set it up. I hit q when prompted to set the fax up because I didn't want to. Q quits the utility.

 

 

OK -- Printer set up, but now I need to tell CUPS about it. alt+tab to Opera, since it's always open, and point to: http://127.0.0.1:631

I choose the Admin tab and when there I choose to find new printers. 'Course, there it is and I click the add printer button. Yeah, sure - those are the drivers, enter and done.

What? Maybe 35 seconds? I dunno but it was fast. I know I'm finished because I ctrl+d'd out of root and ran the same print command I ran earlier. Only this time there was the printer and I heard it fire-up and produce.

Rockin'

Of course, you'd fire-up your browser if you just plugged into your buddy's LAN, too. If (s)he's got a networked, or shared printer CUPS will find it for you when you tell it to from your browser. The same thing I did from above. Of course, if your friend isn't sharing a printer you're SOL. Try to get your friend to be less selfish or maybe you need better friends. ;) Or, and this is the best -- maybe your friend is a candidate for a Debian file/print/web server. Maybe? Wicked easy and it's an article for a different day.

Comments
Add New
+/-
Write comment
Name:
Email:
 
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly:
:dry::lol::kiss::D:pinch::(:shock:
:X:side::):P:unsure::woohoo::huh:
:whistle:;):s:!::?::idea::arrow:
 
Bill  - Thank you   |98.173.216.xxx |2009-06-27 19:42:19
Isn't the internet great? It doesn't matter what you are looking for, the internet seems to have it just when
you ask.
Salamander  - :)   |194.242.102.xxx |2010-03-22 04:45:11
Thank you for this information. It's been long time i was trying to install Networked Printer on my Desktop. I
had lack of information.
I was really frustrated, but now things are zipping!
Thanks!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated on Tuesday, 28 April 2009 12:11