10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
i'm trying to gether multiple pattern on remote hosts, and trying to print hostname and the pattern,
ssh remoteserver1 -C 'hostname 2>&1;cat /var/log/server1.log | awk -F ";" '"'"'{ print " "$2" "$5}'"'"'| sort | uniq -c | sort -g -r '
The output is the following,
remoteserver1
... (8 Replies)
Discussion started by: charli1
8 Replies
2. 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
3. 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
4. SCO
Hi,
I have set up remote printing using a HP Direct Jet print server. Prints sent to the printer connected to the device prints fine except that at the end of the report the following info also appears - Users:, Class:, Job:. How can I disable this from printing. (1 Reply)
Discussion started by: ewart
1 Replies
5. 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
6. UNIX for Advanced & Expert Users
I have a printer in another state that is setup as follows:
lj8100 printer connected to their printserver (a w2k box);
users connect to a unix app on our Sun server via Exceed (we are two states away via WAN);
users submit print jobs through an established print queue through the unix app to... (0 Replies)
Discussion started by: antalexi
0 Replies
7. Linux
RH 7.2
Are there any commands to check the print queue status? Something along the lines of AIX's "qchk"?
Thanks!! (2 Replies)
Discussion started by: jalburger
2 Replies
8. UNIX for Advanced & Expert Users
I have a remote printing problem:
I am running SCO Unix 5.0.6j with remote printing set up to a printserver. I have done this a number of times on a number of different SCO Unix servers, so I am almost positive that I have everything set up correctly.
I even have a good listing when I do lpstat... (0 Replies)
Discussion started by: Diana
0 Replies
9. Programming
Is it possible to send a print job to a print queue on a different machine? (3 Replies)
Discussion started by: dangral
3 Replies
10. 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
rcancel(1M) rcancel(1M)
NAME
rcancel - remove requests from a remote printer spooling queue
SYNOPSIS
[id ...] [printer] user]
DESCRIPTION
The command removes a request, or requests, from the spool queue of a remote printer. is invoked by the command (see lp(1)).
At least one id or the name of a printer must be specified.
This command is intended to be used only by the spool system in response to the command (see lp(1)), and should not be invoked directly.
Options
The command recognizes the following options:
id Specifying a request ID (as returned by (see lp(1))) cancels the associated request, even if it is currently printing.
The maximum number of ids that can be specified is 50.
printer Name of the printer (for a complete list, use (see lpstat(1))). Specifying a printer cancels the request which is cur-
rently printing on that printer, if the request is owned by the user. If the or the option is specified, this option
only specifies the printer on which to perform the corresponding cancel operation.
Remove all requests owned by the user on the specified printer (see
printer). The owner is determined by the user's login name and host name on the machine where the command was invoked.
Empty the spool queue of all requests for the specified
printer. This form of invoking is useful only to users with appropriate privileges.
Remove any requests queued belonging to that user (or users)
for the specified printer. You can repeat the option to specify more users. The maximum number of users that can be
specified is 50. This form of invoking is useful only to users with appropriate privileges.
WARNINGS
A remote print request can be canceled only from the system on which the the original command was issued, and if the restrict cancel fea-
ture (see lpadmin(1M)) is enabled for the specified printer, a request belonging to this printer can be canceled only by the system admin-
istrator or the user who requested it.
This command is intended to be used only by the spool system in response to the command (see lp(1)), and should not be invoked directly.
AUTHOR
was developed by the University of California, Berkeley, and HP.
FILES
SEE ALSO
enable(1), lp(1), lpstat(1), accept(1M), lpadmin(1M), lpsched(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M).
rcancel(1M)