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
enable(1) User Commands enable(1)
NAME
enable, disable - enable/disable LP printers
SYNOPSIS
/usr/bin/enable printer...
/usr/bin/disable [-c | -W] [ -r [reason]] printer...
DESCRIPTION
The enable command activates printers, enabling them to print requests submitted by the lp command. enable must be run on the printer
server.
The disable command deactivates printers, disabling them from printing requests submitted by the lp command. By default, any requests that
are currently printing on printer will be reprinted in their entirety either on printer or another member of the same class of printers.
The disable command must be run on the print server.
Use lpstat -p to check the status of printers.
enable and disable only effect queueing on the print server's spooling system. Executing these commands from a client system will have no
effect on the server.
OPTIONS
The following options are supported for use with disable:
-c Cancels any requests that are currently printing on printer. This option cannot be used with the -W option. If the printer
is remote, the -c option will be silently ignored.
-W Waits until the request currently being printed is finished before disabling printer. This option cannot be used with the
-c option. If the printer is remote, the -W option will be silently ignored.
-r [reason] Assigns a reason for the disabling of the printer(s). This reason applies to all printers specified. This reason is
reported by lpstat -p. Enclose reason in quotes if it contains blanks. The default reason is "unknown reason" for the
existing printer, and "new printer" for a printer added to the system but not yet enabled.
OPERANDS
The following operand is supported for both enable and disable:
printer The name of the printer to be enabled or disabled. Specify printer using atomic name. See printers.conf(4) for information
regarding the naming conventions for atomic names.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
FILES
/var/spool/lp/* LP print queue.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpcu |
+-----------------------------+-----------------------------+
|CSI |enabled |
+-----------------------------+-----------------------------+
SEE ALSO
lp(1), lpstat(1), printers.conf(4), attributes(5)
SunOS 5.10 9 Sep 1996 enable(1)