06-23-2004
Maybe
lpq -a
See your lpq manpage for details.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a print queue set up with the following options: remote, standard processing, Hostname=(A Windows 2000 Server), bsd print spooler. It takes about 1 minute to transfer a 100 kb file and it times out (downs the queue) on larger files. When tested on a different system at a different location... (2 Replies)
Discussion started by: Scottb7711
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
I submit some processes throught an at queue with the cmd at -q queue.
I can easily check the waiting process with atq. But how can I check running processes within a specific queue ?
Thanks,
Stef (2 Replies)
Discussion started by: stef
2 Replies
3. OS X (Apple)
Hi there,
I have some problems in re-setting up the print queues on XServe running Mac OSX Server 10.3.4
I did have the print queues running at some stage, until some unknown error occured that stopped all the queues from working. Recently I tried to re-create the queues, by deleting the old... (1 Reply)
Discussion started by: inprat
1 Replies
4. UNIX for Dummies Questions & Answers
let 3 processes a, b and c are sharing msgs using msg queues.process 'a' sending msg to 'c' and in turn 'c' send sthat msg to 'b'.if something happens to c how can 'a' and 'b' know that 'c' is not available?????? (2 Replies)
Discussion started by: sukaam
2 Replies
5. BSD
Hi! Everybody%)
I got a question like this: Does my FreeBSD5.1 support Posix queues.
Thanks! (7 Replies)
Discussion started by: kamazi
7 Replies
6. UNIX for Dummies Questions & Answers
Can anyone help with the remote print queue setup for a Intermec label printer? (0 Replies)
Discussion started by: capeme
0 Replies
7. UNIX for Advanced & Expert Users
#include <sys/ipc.h>
#include <sys/msg.h>
int main()
{
int qid;
int t;
struct msgbuf mesg;
qid=msgget(IPC_PRIVATE,IPC_CREAT);
mesg.mtype=1L;
mesg.mtext=1;
t=msgsnd(qid,&mesg,1,0);
printf("%d",t);
}
the program prints -1 as the result of msgsnd ,which means that msgsnd doesn't... (1 Reply)
Discussion started by: tolkki
1 Replies
8. Solaris
Hi all,
First off, sorry for a long post but I think I have no other option if I need to explain properly what I need help for.
I need some advise on how best to check for "faulty" or "stalled/jammed' print queues. At the moment, I have three (3) application servers which also acts as print... (0 Replies)
Discussion started by: newbie_01
0 Replies
9. Programming
I have a problem understanding the different scheduling queues (Ready Queue, I/O Queue, Job Queue) Can you please explain/illustrate/differentiate these queues to me? Thanks a lot guys.;) (1 Reply)
Discussion started by: zel2zel
1 Replies
10. Red Hat
Hi,
We need to restart CUPS service, and want to know if restarting CUPS service will stop/start existing printing queues?
Thank you! (1 Reply)
Discussion started by: aixlover
1 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-2013 by Apple Inc.
16 June 2008 CUPS lpq(1)