Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-03-2009, 09:46 PM   #1
Member (10 bit)
 
faint545's Avatar
 
Join Date: Mar 2006
Location: Maryland
Posts: 550
Using Shared Printer (Windows) with Ubuntu

So I got my first netbook today and the first thing I did was install Ubuntu Netbook Remix. All is good, until I tried setting up the printer. My only printer is plugged in via USB to my desktop (Windows). This setup was just fine with one machine. Now I have a netbook and would love to print wirelessly.

So I setup my printer to be shared on the network and then I went into System > Administration > Printing on my Ubuntu machine. I then went to add a new printer and selected the Windows Printer via SAMBA option (image). I first tried typing in the following syntax... computer_name / printer_name. That didn't work. So I then tried this syntax... ip_address / printer_name and that had indeed worked.

My question is, why is this happening? I'd much prefer using the computer name versus the IP address in case the IP address for my desktop changes.
__________________
Kerberos2:
Corsair Obsidian 700D
ASUS M4A89TD
Radeon HD 5850
A-DATA 8GB DDR3 1333
AMD Phenom II x6 1055T @ 2.8GHz w/ Corsair H50
Corsair 850HX PSU
WD Blue 160GB 7200 RPM SATA HDD
WD Black 640GB 7200 RPM SATA HDD
ASUS DVD/CD Drive
faint545 is offline   Reply With Quote
Old 11-05-2009, 07:23 PM   #2
Tin
Stereo junkie
 
Tin's Avatar
 
Join Date: Jan 2004
Location: Just North of Fort Pontchartrain du Détroit
Posts: 3,393
Send a message via AIM to Tin
Do you have the Samba package and dependencies installed on your netbook? Drop down to a terminal and without the quotes type "sudo apt-get install samba". That will let your netbook see all of your Windows devices.
__________________
Main: P180 | ASUS P8Z68-V LX | i5 2500K | 8GB HyperX 1600 | Sparkle 560Ti | HyperX SSD 120GB | OCZ Vertex 2 60GB | Debian 6.0.3 | Win 7 Pro
Secondary: Sonata II | GB P35-DS3L | Q9300 | 4GB 800 | eVGA 9500GT | OCZ Vertex 2 60GB | Fedora 15
Server: Chenbro SR10769 | Supermicro X7DWE | 2x Xeon L5420 | 8GB FB Kingston 667 | Rosewill RC-218 | 4x 500GB WD RE3 RAID 10 | 4x 1TB Hitachi 7K3000.C | Ubuntu Server 10.04.3 | a bunch of virtual machines
Laptop: Dell Inspiron 11z | Pentium SU4100 | 4GB 667 | 60GB OCZ Vertex 2 | Ubuntu 11.04
Media clients: 4x Apple TV 2 w/ XBMC | 3x Squeezebox Duet
Tin is offline   Reply With Quote
Old 11-05-2009, 09:44 PM   #3
Member (10 bit)
 
faint545's Avatar
 
Join Date: Mar 2006
Location: Maryland
Posts: 550
Already have it installed. I followed this small tutorial http://www.youtube.com/watch?v=89hjWOb8qmY. By the way, this may be of relevance, I'm on a school network. I'm not sure if that will affect anything. However, my roommate is able to connect to my desktop using my computer name so I don't see why it wouldn't work with Ubuntu. I also made a mistake previously where I had said...

Quote:
Now I have a netbook and would love to print wirelessly.
To print, I would still have to plug in my netbook into the router. Wireless at this school has a different router than the wired in my building.
faint545 is offline   Reply With Quote
Old 11-06-2009, 09:17 AM   #4
Member (11 bit)
 
Join Date: Apr 2003
Posts: 1,505
Hooking up a computer name with a given IP is usually configured in the /etc/hosts file in linux. If you post your /etc/hosts file I can probably show you how to edit it to make that association. Ubuntu may have a GUI tool to do the same thing but the edit is pretty easy to do by hand. However, if your IP address changes on your desktop, you would have to redit your hosts file.
kilgoretrout is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:03 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0