Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

lpstat question

Status
Not open for further replies.

chomps303

MIS
Sep 30, 2003
83
US
How do I get lpstat -t to report on lpd printers? It currently only reports on serial/parallel printers.

Thanks

Brandt
 
They are patches on the SCO site related to this issue.
Can you post the result of this commands ?
Code:
uname -v; swconfig -P

Hope This Help
PH.
 
tron # uname -v
5.0.7

tron # swconfig -P
Set Release Notes
--- ------- -----
OSS656B - OpenServer Licensing Update OSS656B.5 applied
rs507a - UNIX Runtime System Update rs507a.Un applied
OSS656B - Link Kit Patches OSS656B.5 applied
rs507a - SCO Link Kit Update rs507a.li applied
rs507a - SCO Software Manager rs507a.So applied
rs507a - SCO Mail User Agents Update rs507a.MA applied
rs507a - SCO Blc Driver Update rs507a.Bl applied
rs507a - SCO udi usb Driver Update rs507a.ud applied
rs507a - TCP/IP Runtime Update rs507a.tc applied
rs507a - SCO NFS Runtime Update rs507a.nf applied
rs507a - SCO Symmetrical Multiprocessing Update rs507a.sm applied
rs507a - SCO SendMail Update rs507a.Se applied


Thanks in advance

Brandt
 
Seems you're up to date.
You can try something like this:
Code:
for l in `awk -F: '/^[^#\t]/{print $1}' /etc/printcap`; do
  lpstat -v $l; rlpstat $l
done

Hope This Help
PH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top