08-24-2006
Are they disabled? as in use the enable / disable command.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
In Tru64 UNIX,there is a command ulimit which sets or reports a resource limit.
-d option specifies number of Kilobytes for data area.
But when i give same man ulimit in HP-UX, it does shows some ulimit function.
I want to replace ulimit -d command in .profile file which... (1 Reply)
Discussion started by: informshilpa
1 Replies
2. UNIX for Dummies Questions & Answers
Hi everybody I have a problem with wtmpx. Accounting file. I activated it. It works but to well :( Writes the same message every minute. "faxmodem" As you can see it does not take to long until my /var file is soon full.
Thanks
Peter (26 Replies)
Discussion started by: Peterh
26 Replies
3. UNIX for Dummies Questions & Answers
i accedently "deleted" all workspaces
I have a black screen and dont know what to do
solaris common desktop enviroment (1 Reply)
Discussion started by: ssshakir
1 Replies
4. Solaris
I have another Hdd problem with Ultra 1 machine
the hdd is segate (+-)17560 MB and when I start installtion of sun solaries 2.6 the system sees the hdd correctly, and the installtion goes fine with partioning the disk as follows
/ 150 MB
swap 500 MB
/user 1000 MB
/user1 100MB
/usr3 5500 MB... (4 Replies)
Discussion started by: adol3
4 Replies
5. Shell Programming and Scripting
Hi
I have users A and B in UNIX system both are not having root priveleges.
User A has written a script file where it connects to database and uses a logfile directed to the path in directory of USER B.
I copied the script into USER B directory and tried to run the script.
Its giving... (3 Replies)
Discussion started by: skyineyes
3 Replies
6. Shell Programming and Scripting
#!/usr/bin/sh
read file
#exec 3<&0
exec 0<$file
while read line
do
if
then
BOUND=$line
break
fi
count=`expr $count + 1`
done
#exec 0<&3
echo $BOUND
sh check.sh (4 Replies)
Discussion started by: skyineyes
4 Replies
7. Shell Programming and Scripting
Hi,
My aim is to generate a report using shell script. There are various formats fields coloumns etc.
I want to print in a single line (row) but in different coloumn as given below:
field1 field2 field3 field4
....... ....... ...... .......
The spacing... (1 Reply)
Discussion started by: jisha
1 Replies
8. Shell Programming and Scripting
hi all
i have printer call prt1
we send to this printer some job
and then we want to cancel it.
we did lpstat
no job id found
so i did lprm
and it wrote to me
No active jobs on prt3!(which i don't have this kind of printer)
then i wrote
lprm prt1
lprm: No active jobs on prt1! ... (0 Replies)
Discussion started by: naamas03
0 Replies
9. Shell Programming and Scripting
I was trying to move a file to a particular directory. In a hurry i forgot to give the dest directory, as below
mv prod.log
The file disappeared. :confused:
Any idea where it might have moved???
And I have tried moving files based on date from one directory to another as below.... (1 Reply)
Discussion started by: siteregsam
1 Replies
10. Solaris
I installed Solaris 10 x86 on a HP server, all OK showing on graphic screen.
However it never automatically mount cdrom on boot and one our apps needs to auto-mount the app cdrom on boot to complete the installation.
Please help.
ALso I connected to this HP server's COM1 with a null-modem... (0 Replies)
Discussion started by: gping
0 Replies
LEARN ABOUT CENTOS
disable
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)