11-22-2002
How to cancel all printjobs at once?
Hi unix-friends,
I've got an RS6000 with Unix 4.3 as OS.
I'm writing a script that i want to use for cancelling all print jobs at once. Does anyone have any good idea's, hints, or tips?
Hope to hear from you,
Erik
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all
In Aix system Someone know i want to cancel the massage. if some user print something and user root deleting the job i got brodcast message " message from queueing system job number XXX has been deleteing from queue. <EOT> "
I use the cancel command (1 Reply)
Discussion started by: goldfelda
1 Replies
2. UNIX for Dummies Questions & Answers
I need help, please!!!!!!!!
I have accidentally selected to compile all my programs, which will probably take forever!! How can I cancel the compiling of the programs. I see in qstatus the huge list of programs waiting to be compiled.
Thanks! :eek: (1 Reply)
Discussion started by: itldp
1 Replies
3. Post Here to Contact Site Administrators and Moderators
id like to cancel my account please. thanks (5 Replies)
Discussion started by: samb057
5 Replies
4. Post Here to Contact Site Administrators and Moderators
I accidentally typed a wrong user name... pls delete my account so that i can create a new one..
Thanks (4 Replies)
Discussion started by: Pat_Martin
4 Replies
5. UNIX for Dummies Questions & Answers
Yesterday I started a nohup job called assoc.sh. It has not finished running, but I have realised a problem with my script, so wish to cancel it, modify and restart it. However, I cannot find the PID, so can't cancel it. I have searched the ps list and nothing resembles my job - how can I cancel... (13 Replies)
Discussion started by: polly_falconer
13 Replies
6. Shell Programming and Scripting
Wonderful evening to all of you!
My problem has to possible starting points.
Well, not really, but getting to either one is no problem at all.
So i got either a string in the format of "1920x1080" or simply the integers X = 1920 and Y = 1080.
When I am done, I would like to have an output... (5 Replies)
Discussion started by: jakunar
5 Replies
7. Shell Programming and Scripting
Hi
on AIX systems (6.x and 7.x) I have ksh scripts redirecting I/O, and running another script script000.ksh ie :
# my script
...
>${LOG}
>${LOGCTRL}
exec >>${LOG} 2>>${LOG}
. ${PROJECT}/.../script000.ksh
# hereafter, restore default I/O
...
Is it possible at the end of the... (2 Replies)
Discussion started by: Fundix
2 Replies
8. UNIX for Dummies Questions & Answers
Hi Everyone,
I am trying to cancel a print. I am logged on as the user of the print and when I use the command 'cancel print_job' I get the message 'print_job: not authorized'
I have cancelled other prints in the queue, but this particular job in the queue cannot delete. I even logged on as... (5 Replies)
Discussion started by: Scarlet
5 Replies
9. Shell Programming and Scripting
I am running a video download test and automating that. I wanna know how to stop a wget download session when downloads reached 1%
Thanks in advance,
Tamil (11 Replies)
Discussion started by: tamil.pamaran
11 Replies
10. UNIX for Dummies Questions & Answers
While transmitting RS232 data I use tcdrain() to wait for the data to be sent before putting more data into the txbuffer.
write(hPort, txBytes, txBytes.count);
tcdrain();
If the remote device disconnects then tcdrain never returns.
I'm doing it in a thread so the UI is still... (1 Reply)
Discussion started by: IanES
1 Replies
NWPQJOB(1) nwpqjob NWPQJOB(1)
NAME
nwpqjob - Perform operations on the jobs in NetWare print queue
SYNOPSIS
nwpqjob [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ] < -d | -r > queue_name job_ID [ another_job_ID ... ]
pqrm [ -h ] [ -S server ] [ -U user name ] [ -P password | -n ] [ -C ] queue_name job_ID [ another_job_ID ... ]
DESCRIPTION
pqrm or nwpqjob -d remove specified jobs from the specified NetWare print queue.
nwpqjob -r resumes specified job in the specified NetWare print queue.
nwpqjob looks up the file $HOME/.nwclient to find a file server, a user name and possibly a password. See nwclient(5) for more information.
Please note that the access permissions of .nwclient MUST be 600, for security reasons.
OPTIONS
-d
Delete specified print job(s). This is default operation for pqrm.
-r
Resume (clear OPERATOR HOLD and USER HOLD flags) specified print job(s).
queue_name
queue_name is used to specify queue. You can not use wildcards in the name.
job_ID , another_job_ID
job_ID is used to specify which job has to be deleted or resumed.
-S server
server is the name of the server you want to use.
-U user name
If the user name your NetWare administrator gave to you differs from your unix user-id, you should use -U to tell the server about your
NetWare user name.
-P password
You may want to give the password required by the server on the command line. You should be careful about using passwords in scripts.
-n
-n should be given to mount shares which do not require a password to log in.
If neither -n nor -P are given, pqstat prompts for a password.
-C
By default, passwords are converted to uppercase before they are sent to the server, because most servers require this. You can turn off
this conversion by -C.
SEE ALSO
nwclient(5), nprint(1), slist(1), ncpmount(8), ncpumount(8), pqlist(1), pqstat(1)
CREDITS
nwpqjob was written by Petr Vandrovec (vandrove@vc.cvut.cz). Resuming of print jobs was added by Zdenek Roub (zroub@ssps.zcu.cz).
nwpqjob 07/16/2003 NWPQJOB(1)