Scan network for printers


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Scan network for printers
# 1  
Old 04-27-2009
Scan network for printers

My stupid D-Link DIR-320 router does not give the user the IP address of the printer attached to it's USB port. Instead, it provides a Windows EXE file for printer configuration, which is not an option for use Debian users. Is there a script that can scan the network looking for network printers in the 192.168.0.* range, just to get me the right address?

Thanks!
# 2  
Old 04-27-2009
It may not give the printer a seperate IP, the gateway address would be the obvious one to try... For that matter the printer may not have an IP at all, just a name via netbeui

Last edited by Corona688; 04-27-2009 at 09:18 PM..
# 3  
Old 04-29-2009
> It may not give the printer a seperate IP, the gateway
> address would be the obvious one to try...

You're right! The IP of the router is the IP of the print server. I did not expect that.

> For that matter the printer may not have an IP at all, just
> a name via netbeui

I had to google netbeui to figure out what that is. But I could not figure out how to scan for netbeui names. Can that even be done in Linux?

Thanks!
# 4  
Old 04-30-2009
Samba might be a good starting point. It's a daemon and set of utilities used for dealing with netbeui/SMB/CIFS/whatever marketing calls it these days. Unfortunately I don't know too much more.
# 5  
Old 05-02-2009
Thanks!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Slow printing to network printers using CUPS

Hi Guys, I've inherited a mess of an infrastructure in my new job, there hasn't been a sys admin in post for about a year, so things are falling apart. The first thing to break after I started was the printer server. I have it working again, and people can print, however it's very slow, slower... (0 Replies)
Discussion started by: rudigarude
0 Replies

2. UNIX for Dummies Questions & Answers

Re-Mapping Printers.

Hi we have a situation where some printers are on a server that sometimes has to be rebooted. If this happens the Unix boxes we have that are referencing the printers in the vfstab file fail to work even when the print server is brought back up. Does anyone know if it would be possible to put... (0 Replies)
Discussion started by: Hadleyshope
0 Replies

3. UNIX for Dummies Questions & Answers

tool scan my network and get all Unix servers

Hello, is there any tool where I can scan my netwrk and get all types of Unix servers? (2 Replies)
Discussion started by: fsmadi
2 Replies

4. Solaris

Help, my printers have disappeared

Hi all I have a really strange situation. This morning I ran lpstat -p and it didn't return any results. I ran lpstat -t and the scheduler is running. How strange, it seems all the printers have disappeared from my server. Can anyone perhaps explain to me how this is possible? (4 Replies)
Discussion started by: soliberus
4 Replies

5. HP-UX

Printers question...

Hi there... I have a question for those who mess with printers in hpnpl\jetadmin... what's the differance bitween local printer queue and remote printer queue and why for adding a remote queue i need to restart my spooler while for a local queue i dont... thanx for the help! Eliraz. (1 Reply)
Discussion started by: eliraza6
1 Replies

6. UNIX for Dummies Questions & Answers

Usb printers

Hey guys!! I just had changed my server and the new one does not have a parallel port, only usb, and I donīt know how to make a usb printer work. Iīm using sco openserver 5.0.7 Someone can help me? :confused: (1 Reply)
Discussion started by: proyesa
1 Replies

7. Shell Programming and Scripting

Script for reporting network printers

Does anyone have a script that would detect (and create a flat-file) of all printing devices (printers/plotters) attached on a network? I need a single script or tool that would allow me to collect a data file for our asset management tool. Example format: manufacturer, model name, serial... (0 Replies)
Discussion started by: glefko
0 Replies

8. Solaris

Printers Question

Is there a limit on how many printers you can have configured in Solaris? The reason I ask is we use RF printers for the software we run and have added 52 of these printers the problem is that I need to add about another 50 and its like we have hit a limit at 52 it wont let us add anymore. If... (2 Replies)
Discussion started by: Acleoma
2 Replies

9. UNIX for Dummies Questions & Answers

Disabled printers

How does or what makes a printer go into a disabled state? (5 Replies)
Discussion started by: dsb0
5 Replies

10. UNIX for Dummies Questions & Answers

Printers

I'm in need of finding out on how to mount and dismount printers. Thx, shawnnee (1 Reply)
Discussion started by: shawnnee
1 Replies
Login or Register to Ask a Question