LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-31-2011, 02:10 AM   #1
surwassu
LQ Newbie
 
Registered: May 2011
Posts: 18

Rep: Reputation: Disabled
How to make discovery of printers available in network?


Hi Friends,
I am totally new to CUPS,and I got a task to discover printers available in my network using cups.
Does anybody know how to do it?
please guide me by sharing your thoughts .
Thanking you.
With regards,
Sumit

Last edited by surwassu; 05-31-2011 at 02:12 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 05-31-2011, 04:30 AM   #2
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
Quote:
Originally Posted by surwassu View Post
Hi Friends,
I am totally new to CUPS,and I got a task to discover printers available in my network using cups.
Does anybody know how to do it?
please guide me by sharing your thoughts .
Thanking you.
With regards,
Sumit
Do you already install CUPS?
Then what distro are you using?
Where do the printer installed. (What OS/ Distro)

If your a Linux Mandriva user hope this one help.
Go to System> Administration> Printing
Type and Enter the root password.
Select Server Tab> Setting
check "Show printers shared by other system."
check "Publish printer connected to this system."

Then click ok.

Last edited by tailinlinux; 05-31-2011 at 04:33 AM.
 
2 members found this post helpful.
Old 05-31-2011, 04:44 AM   #3
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
Check this one.

Screenshots using Linux Mandriva.

Connecting to a shared printer of other linux machine.
Attached Thumbnails
Click image for larger version

Name:	cups01.jpg
Views:	28
Size:	123.0 KB
ID:	7167   Click image for larger version

Name:	cups02.png
Views:	23
Size:	20.7 KB
ID:	7168   Click image for larger version

Name:	cups03.png
Views:	18
Size:	41.9 KB
ID:	7169  
 
0 members found this post helpful.
Old 05-31-2011, 04:45 AM   #4
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
Check this one.

Screenshots using Linux Mandriva.

Connecting to a shared printer of other linux machine.
Attached Thumbnails
Click image for larger version

Name:	cups04.png
Views:	13
Size:	53.6 KB
ID:	7170   Click image for larger version

Name:	cups05.png
Views:	11
Size:	29.2 KB
ID:	7171  
 
0 members found this post helpful.
Old 05-31-2011, 04:47 AM   #5
surwassu
LQ Newbie
 
Registered: May 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by tailinlinux View Post
Do you already install CUPS?
Then what distro are you using?
Where do the printer installed. (What OS/ Distro)

If your a Linux Mandriva user hope this one help.
Go to System> Administration> Printing
Type and Enter the root password.
Select Server Tab> Setting
check "Show printers shared by other system."
check "Publish printer connected to this system."

Then click ok.
Hey thanks Buddy,
I have installed CUPS. I am working on unix & my printer server using windows.how should I modify my cupsd.conf to get desired result.
Thanks & regards
Sumit
 
Old 05-31-2011, 04:54 AM   #6
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
ah i see what linux machine you are using.

try to connect it using samba.
 
1 members found this post helpful.
Old 05-31-2011, 11:43 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by surwassu View Post
Hey thanks Buddy,
I have installed CUPS. I am working on unix & my printer server using windows.how should I modify my cupsd.conf to get desired result.
Thanks & regards
Sumit
You don't say what version/distro of Linux you're using, but if you want to share any Linux resources (disk, printers, etc.), with Windows machines, you'll have to install Samba, and configure it. This page:

http://tldp.org/HOWTO/Debian-and-Win...h_windows.html

can get you started. There are also many Samba how-to documents you can easily find with Google, tailored for your distribution. If all you're sharing is printers, it's very easy.
 
1 members found this post helpful.
Old 05-31-2011, 10:02 PM   #8
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
You can find installing of Samba in Linux Control Panel.

To connect to a Printer that installed in Windows you need to access it using Samba.
ex.:
smb://WORKGROUP/(Hostname or IP Address)/(Printer Shared Name)
if Windows Sharing need a username password:
Try to create a new user account in your windows computer with administrator privileged.
example: Username: user
Password: user
To be able easy to connect.

then verify it.

Then after that click forward or next then select the appropriate driver for the printer.
Attached Thumbnails
Click image for larger version

Name:	samba00.png
Views:	10
Size:	37.7 KB
ID:	7186   Click image for larger version

Name:	samba01.png
Views:	11
Size:	33.4 KB
ID:	7187   Click image for larger version

Name:	samba02.png
Views:	12
Size:	43.5 KB
ID:	7188  
 
1 members found this post helpful.
Old 06-01-2011, 11:16 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by tailinlinux View Post
You can find installing of Samba in Linux Control Panel.

To connect to a Printer that installed in Windows you need to access it using Samba.
ex.:
smb://WORKGROUP/(Hostname or IP Address)/(Printer Shared Name)
if Windows Sharing need a username password:
Try to create a new user account in your windows computer with administrator privileged.
example: Username: user
Password: user
To be able easy to connect. then verify it.
Then after that click forward or next then select the appropriate driver for the printer.
...except what you posted is only going to be accurate if the OP is using Mandriva. If they're not, you're sending them to find something that's not there, and won't look/behave the same way if it IS. The OP has not said WHAT version of Linux they're using.

OP, the information on tldp.org will be accurate for any version of Linux you're using.
 
0 members found this post helpful.
Old 06-01-2011, 08:51 PM   #10
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
I think maybe by this post user will have an idea how to do it.
 
0 members found this post helpful.
Old 06-01-2011, 09:59 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by tailinlinux View Post
I think maybe by this post user will have an idea how to do it.
No, not unless they were using Mandriva...everything you posted is Mandriva related, and won't necessarily work on other distros. Which is why the tldp link was a better starting point.
 
0 members found this post helpful.
  


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
Network discovery in Java mohtasham1983 Programming 4 07-15-2010 03:39 PM
network map/discovery OTIM Linux - Networking 4 01-13-2008 09:23 PM
Network discovery programs Tortanick Linux - Networking 11 10-26-2007 03:06 AM
Network Discovery Utility metallica1973 Linux - Networking 3 08-09-2007 01:53 PM
How to do Network Discovery bzlaskar Linux - Networking 2 05-18-2006 12:27 AM


All times are GMT -5. The time now is 12:44 AM.

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