02-28-2008
If lp01 is the name of a printer, try lpstat -s. You may get a hostname or an ip address. You probably use DNS, so use nslookup to translate hostnames to IP addresses.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I don't have root access. How do I find i.p address of our sun server? Thanks. (4 Replies)
Discussion started by: vpotluri
4 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I'm tryin' to add a network printer with lpadmin (I don't have access to admintool) to a Solarisbox but I don't exactly know where to use the IP address.
The thing is that this printer exists already with another printQ but I don't see any printerserver declared with lpsystem -l although... (3 Replies)
Discussion started by: nulnul7
3 Replies
3. UNIX for Advanced & Expert Users
Hi, I am wondering how I can find the network address under following situation.
Things available:
1. An active network drop without knowing any details about the network.
2. I have windows, Linux, and Solaris machine available to use.
Things to achieve:
1. Find out the... (5 Replies)
Discussion started by: jiashi2
5 Replies
4. IP Networking
I connect to my client's network via VPN. We have a UNIX box there & I would like to know IP address of my PC when I connect to UNIX box using Putty software. I checked this command - /usr/sbin/ifconfig -a and it showed me the output
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232... (4 Replies)
Discussion started by: gppande
4 Replies
5. UNIX for Advanced & Expert Users
Could anyone help me to identify the IP address of a printer queue with its printer queue name information . (1 Reply)
Discussion started by: lenin1985
1 Replies
6. AIX
How to find the router IP address (2 Replies)
Discussion started by: AIXlearner
2 Replies
7. AIX
I was wondering if somebody knew of a website where printer drivers can be downloaded for AIX 5.3. Most of our printers are HP and the driver that is installed works properly. As of lately, our users have started to get other type of printers, including Multi-purpose devices. I am struggling to... (2 Replies)
Discussion started by: fabiogilr
2 Replies
8. Linux
Hi,
Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ?
Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies
9. UNIX for Dummies Questions & Answers
Hi Guys,
I want to find another(Local host) machine IP address from my machine.. We are all connected in the same server, I mean same LAN.
What i done is
Connected with that user machine using SSH and SU.. After that i used IFCONFIG but it shows my Ip address. Can not able to get the... (8 Replies)
Discussion started by: Adhi
8 Replies
10. Shell Programming and Scripting
Hi,
I am trying to write a script that will check all used IP on the server and then print me an addressees that are not in use. Problem is in comparing two variables
#!/bin/bash
NETSTAT=$(netstat -ntp | awk '{ print $4 }' | grep -v "127.0.0.1" | cut -d ":" -f1 | grep "^"|sort | uniq )... (6 Replies)
Discussion started by: nemesis911
6 Replies
rlpstat(1M) rlpstat(1M)
NAME
rlpstat - print status of LP spooler requests on a remote system
SYNOPSIS
printer] user] [id]...
DESCRIPTION
reports the status of the specified jobs or all requests associated with the specified users on the specified printer. At least one id or
the name of a printer must be specified.
For each request submitted (by command -- see lp(1)) reports the request ID, user's name, total size of the request, date of the request,
and, if it is being transferred, the device.
This command is intended to be used only by the spool system in response to the command and should not be invoked directly (see lpstat(1)).
Options
recognizes the following options and command-line arguments:
Status is requested on the specified printer.
Status is requested on all requests for the user who executed the
command on the specified printer (see the option). You can repeat the option to specify more users. The maximum
number of users that can be specified is 50.
id Status is requested on the specified request IDs (as returned by All the request IDs must be for the same printer.
The maximum number of request IDs that can be specified is 50.
AUTHOR
was developed by the University of California, Berkeley, and HP.
FILES
SEE ALSO
enable(1), lp(1), lpadmin(1M), lpsched(1M), lpstat(1), rcancel(1M), rlp(1M), rlpdaemon(1M).
rlpstat(1M)