06-10-2008
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. Shell Programming and Scripting
HI,
I'm trying to create a script that a regular unix user can run from a unix menu and disable and enable a unix printer.
Any help will be very helpful.
Thanks (0 Replies)
Discussion started by: miguelpza
0 Replies
4. HP-UX
I'm trying to find the IP address of a print queue. I tried this, but nada.
cat /etc/hosts | lp -d lp01
Looked in the hosts file but it's not there (2 Replies)
Discussion started by: abNORMal
2 Replies
5. UNIX for Dummies Questions & Answers
I am trying to determine if there are several url/host names for an IP address. Is there a UNIX command to find ALL host names for an IP address?
Thank you in advance. (3 Replies)
Discussion started by: rukasu
3 Replies
6. 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
7. Programming
I need to find the MAC address of the ethernet cards on the host machine from the C language. I have found a way to do this on Linux using socket(), ioctl() and the ifreq structure. But this does not seem to work on AIX, HP/UX and probably the others I need (Solaris, SCO, Alpha etc).
Is there a... (7 Replies)
Discussion started by: Pug
7 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. Post Here to Contact Site Administrators and Moderators
We work hard to make The UNIX and Linux Forums one of the best UNIX and Linux knowledge sources on the net. The site is certainly one of the top UNIX and Linux Q&A sites on the web. In order to provide certain members the best quality account services, you can now get some great extra features by... (2 Replies)
Discussion started by: Neo
2 Replies
lpq(1) Apple Inc. lpq(1)
NAME
lpq - show printer queue status
SYNOPSIS
lpq [ -E ] [ -U username ] [ -h server[:port] ] [ -P destination[/instance] ] [ -a ] [ -l ] [ +interval ]
DESCRIPTION
lpq shows the current print queue status on the named printer. Jobs queued on the default destination will be shown if no printer or class
is specified on the command-line.
The +interval option allows you to continuously report the jobs in the queue until the queue is empty; the list of jobs is shown once every
interval seconds.
OPTIONS
lpq supports the following options:
-E
Forces encryption when connecting to the server.
-P destination[/instance]
Specifies an alternate printer or class name.
-U username
Specifies an alternate username.
-a
Reports jobs on all printers.
-h server[:port]
Specifies an alternate server.
-l
Requests a more verbose (long) reporting format.
SEE ALSO
cancel(1), lp(1), lpr(1), lprm(1), lpstat(1),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2011 by Apple Inc.
16 June 2008 CUPS lpq(1)