Script for reporting network printers


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Script for reporting network printers
# 1  
Old 04-19-2006
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 number, DNS name (lp2000.rmrs.fs.fed.us), etc, etc

Example file:
Lexmark,Optra C720,xs5s6s5s,lp212.rmrs.fs.fed.us, etc.
HP,Nuvo 3245,xs5s6s5s,lp212.rmrs.fs.fed.us, etc.
Xerox,Super Printer CAS,xs5s6s5s,lp212.rmrs.fs.fed.us, etc.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need a script to add mutiple printers in solaris box

Hi , i need to configure around 80 printers in a server. can someone please help me with the script. i have a file that has printer name and its ip. like. printer1 1.1.1.1 printer2 0.0.0.0 and so on.. can some one please help me to do it via script. i am using solaris 10 ... (0 Replies)
Discussion started by: chidori
0 Replies

2. 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

3. AIX

AIX Bunch of printers queue creation script - HELP

I'd seek for help on how to create a bunch of printers in AIX 6.x or equal or above in one go – say like I have 35 printers to create in 4 different AIX Nodes every month – I currently create it manually like below:- How can I automatic this creation on all the 4-5 Nodes – not actually automatic... (3 Replies)
Discussion started by: shiv2001in
3 Replies

4. Shell Programming and Scripting

Help with script to create printers on unix

Herwith is script thus far, i need to delete the printers within my function, how can i achieve this #!/bin/ksh BIN=/usr/lbin LOCAL_FILE=`$BIN/lpstat -v >> sun5-printers.txt REMOTE_FILE=`rsh sun8 /usr/lbin/lpstat -v >> sun8-printers.txt awk 'BEGIN {while ( getline < "sun5-printers.txt")... (12 Replies)
Discussion started by: ggoliath
12 Replies

5. UNIX for Dummies Questions & Answers

Error reporting script

I am very new to unix/linux and am unsure how to do the following tasks within my script 1) append a log file and add a timestamped echo "Error occured" to it, if posibble to print it to file and on screen at the same time would be even better. 2) As my main script will be calling on a couple... (1 Reply)
Discussion started by: shamwick
1 Replies

6. Shell Programming and Scripting

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... (4 Replies)
Discussion started by: dotancohen
4 Replies

7. OS X (Apple)

Software Update reporting script

I need a script that gets the output of softwareupdate -al on each machine (the list of available updates) and reports how many updates are needed in total by all the machines on the network, and the results to 4 different recipients. i.e. total patches required = 12 hostname1 =4 patch(es)... (1 Reply)
Discussion started by: glev2005
1 Replies

8. UNIX for Advanced & Expert Users

Network Shell Script & Blade Logic & Network Security

I am going to take up a position in Data & Network Security. I would need to write network shell scripts doing the following task: Going to around 2000 servers and findout which groups has access to each servers and which ids are there in each group that has access. I need to implement... (1 Reply)
Discussion started by: pinnacle
1 Replies

9. Shell Programming and Scripting

Script for checking and reporting file sizes in a directory.

Hi, Need help for a Script for checking and reporting database file sizes in a directory. Request you to please give your valuable inputs. Thanks a lot in advance. Best Regards, Marconi (1 Reply)
Discussion started by: marconi
1 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
ifplugd.conf(5) 						File Formats Manual						   ifplugd.conf(5)

NAME
ifplugd.conf - ifplugd configuration file SYNOPSIS
/etc/ifplugd/ifplugd.conf DESCRIPTION
ifplugd.conf is the configuration file for ifplugd. It is a shell script that is sourced by the init script starting the daemon. It shall be used to set environment variables which are interpreted by the init script: OPTIONS
INTERFACES Specifies the ethernet interfaces to monitor. It has to contain a space seperated list of network interfaces names. Most users will probably use "eth0" here, however you may add additional interfaces for monitoring more than one device. A special value is sup- ported as well: "auto" will enable a more or less working auto detection of available network devices. This won't make you happy when using network module auto loading, since it cannot detect currently unloaded network devices. ARGS Additional command line arguments for ifplugd invocation. See ifplugd(8) for further information. ARGS_iface If specified for an interface this variable takes precedence over ARGS. This may be useful if more than one network device is present. SEE ALSO
ifplugd(8) COMMENTS
This man page was written using xmltoman(1) by Oliver Kurth. Manuals User ifplugd.conf(5)