LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-09-2009, 05:56 AM   #1
Rescuetheperishing
LQ Newbie
 
Registered: Feb 2009
Location: Scotland
Distribution: Ubuntu 8.10
Posts: 28

Rep: Reputation: 15
Configuring a Local Printer


I invested in Beginning Ubuntu Linux Third Edition and am having difficulty in reconciling the illustrations to that on screen as this edition is only up to Ubuntu 8.04.

I have a local printer (Epson Stylus Photo R265) connected to a Laptop via a USB connection and this works perfectly using Ubuntu 8.10. I wish to share this printer with my partner who is using XP via the wireless network that we have. Referring to Configuring a Local Printer in the book there is a tip regarding sharing your printer on the network and this is where things get a bit out of step.

The tip states “Sharing your printer on the network so that other computers can use it is simple: open the Printer Configuration window (System > Administration > Printers), select Server Settings in the list on the left, and put a check in the Share Published Printers Connected to This System box on the right. Then click the Apply button.”

Following the above in Ubuntu 8.10 displays a totally different layout and it is causing me grief. I think that I have followed the book correctly but with the illustrations differing I dont seem to achieve a result.

Nothing that I try when using the XP laptop permits printing other than physically bringing the laptop to the printer and establishing a connection via the USB cable when everything works as it should do.

I have tried various searches but they seem to be for Windows to Linux. I want my Ubuntu laptop to be the master and XP to be subservient in all matters.

Can someone please advise what I need to do to achieve my aim?
 
Old 02-09-2009, 06:02 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
If your printer is connected to Ubuntu and you need to share it with system running Windows then you will need Samba configured on Ubuntu. Search LQ for configuring samba on ubuntu and you will come across a lot of threads that deal with similar subjects and problems.
 
Old 02-09-2009, 12:14 PM   #3
Rescuetheperishing
LQ Newbie
 
Registered: Feb 2009
Location: Scotland
Distribution: Ubuntu 8.10
Posts: 28

Original Poster
Rep: Reputation: 15
Configuring a Local Printer

Thanks very much for your reply.

I had a look at the Samba instructions but they scared the life out of me. I have just started using Ubuntu and my knowledge is very limited.

I downloaded Samba from Synaptic and the GUI interface from the Applications > Add / Remove. Accessing Samba from the GUI I find that I am listed as a user against the Samba users list alongwith Nobody.

As I am listed as a user will I be automatically authorised to use Windows XP and print from there using my name?

So far any attempt to print from XP tells me that the printer is not available. It is a bit of bother having to move around the house to the printer to effect a USB connection.

Can you please offer more guidance as the fourth edition is not out until mid 2009 and my partner is not very long on patience.

Thanking you in anticipation
 
Old 02-10-2009, 12:50 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
This thread discusses the topic as well. Its related to Ubuntu

http://ubuntuforums.org/showthread.php?t=268245

Also if you can be more specific in what you have tried?

http://tldp.org/HOWTO/SMB-HOWTO-9.html

This is another good tutorial for you. If you still have problems understanding them tell here with some detailed information.
 
Old 02-10-2009, 04:39 AM   #5
Rescuetheperishing
LQ Newbie
 
Registered: Feb 2009
Location: Scotland
Distribution: Ubuntu 8.10
Posts: 28

Original Poster
Rep: Reputation: 15
Configuring a Local Printer

Many thanks for your reply.

Having looked at the first link it found that if I have done things right that in Ubuntu 8.10 it has the same file as for Edgy. When I open the cupsd.conf it displays as follows

LogLevel warning
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock

would I be right in thinking that I have to insert the code detailed after # allow remote access and should I remove Port 631

For the Windows machine it currently has the printer properly set up do I remove this printer before I Start the Add Printer wizard ?
There is also a remark "Don't forget the port number" Am I right in thinking that this is 631?

If you could clarify these points I will follow this post and see what happens

Once again thanks
 
Old 02-15-2009, 11:04 AM   #6
Rescuetheperishing
LQ Newbie
 
Registered: Feb 2009
Location: Scotland
Distribution: Ubuntu 8.10
Posts: 28

Original Poster
Rep: Reputation: 15
Configuring a Local Printer

I am not sure of editing files and would appreciate it if someone could guide me in this matter. I would rather look foolish now than have to come back later with a long list of complaints and questions.

I am attempting to remove myself completely from the clutches of Windows but need need your kind assistance to achieve this aim
 
Old 03-04-2009, 03:38 AM   #7
Rescuetheperishing
LQ Newbie
 
Registered: Feb 2009
Location: Scotland
Distribution: Ubuntu 8.10
Posts: 28

Original Poster
Rep: Reputation: 15
Configuring a Local Printer

bump
 
Old 03-04-2009, 03:49 AM   #8
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Do not remove the port number from there. Cups by default listens on 631.
Also have you looked around to see on how to configure samba server? You will need it to share printer connected to linux machine with windows.
In windows you can keep a copy of printer that is already setup. no need to remove it.
 
Old 03-04-2009, 04:50 PM   #9
Rescuetheperishing
LQ Newbie
 
Registered: Feb 2009
Location: Scotland
Distribution: Ubuntu 8.10
Posts: 28

Original Poster
Rep: Reputation: 15
Configuring a local printer

Many thanks for your reply.

I think that I am heading in the right direction but would like to be sure that when I make the change to the file that I am doing things correctly.

Would I be right in thinking that where it shows :

LogLevel warning
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock

that I change the text after the # ?

this would now show as :

LogLevel warning
SystemGroup lpadmin
# Listen localhost:631
Listen *:631
Listen /var/run/cups/cups.sock

If this is correct I will effect the change and see how I get on from there.

As to the windows machine if I leave the printer as it is do I follow the instruction in the post or do I just go to using the IP address etc etc.

I have downloaded Samba and appear to have done things ok there. My System > Administration> Printing shows two entries one as R265 and the other as R2652. Assuming the R2652 is the Samba connected printer when using the IP address I should use R2652 as the printer.

Your assistance has been most helpful and if you can confirm that I am approaching things correctly now I will make the changes and report back. I feel that with your assistance I am very close to a solution to my problem.

Thanking you in anticipation.
 
Old 03-13-2009, 05:50 AM   #10
Rescuetheperishing
LQ Newbie
 
Registered: Feb 2009
Location: Scotland
Distribution: Ubuntu 8.10
Posts: 28

Original Poster
Rep: Reputation: 15
Configuring a local printer

Bump

I feel I am so near but oh so far in resolving this matter. I would appreciate confirmation of what has been assumed.

Many thanks
 
Old 03-13-2009, 07:10 AM   #11
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Even without others confirmation you can proceed and see yourself if you have done the right thing. At the most you wont be able to print. So you could try yourself and see if everything is ok or not. If not then you will receive some errors on the screen that you can paste here and get help further.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
difficulties configuring a local repository babypeng Linux - Newbie 4 05-23-2008 06:23 PM
plrblem configuring LTSP server for local applications shishirkotkar Linux - Software 0 04-14-2008 11:36 AM
Configuring local host to have Static IP logosys Linux - Networking 2 03-02-2006 02:20 AM
configuring local domains on sarge bro Debian 1 11-28-2003 11:23 PM
Adding a local printer harperonline Linux - Hardware 3 08-12-2003 11:39 AM


All times are GMT -5. The time now is 10:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration