[SunHELP] Printer and IP List

Kovalev, Ivan sunhelp at sunhelp.org
Wed Jun 6 11:29:47 CDT 2001


cd /etc/lp/interfaces; grep PERIPH * 
That will give you the name of the file + the line with PERIPH= value

-----Original Message-----
From: Jim Roth [mailto:jr at monmouth.com]
Sent: Wednesday, June 06, 2001 1:18 PM
To: sunhelp at sunhelp.org
Subject: [SunHELP] Printer and IP List


I need to generate a list of all 700+ printers configured on our server,
with their ip numbers. What I basically need is to go into
/etc/lp/interfaces, get the name of each file, and grep the file for the
PERIPH= value (the configured ip address) and correlate this information in
a list. Can someone help? I'm stumped.
---
Jim Roth

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list