10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am using Terminal on an OSX system to access and edit crontab files on a 'headless' Solaris 11 server. Crontab -e on OSX invokes vi as the editor, which is fine, but I am getting unexpected characters on keystrokes and have to abort the edit. If this is an emulation issue, would someone please... (1 Reply)
Discussion started by: SmokeyJoe
1 Replies
2. Solaris
Hey Guys.
I am trying include a route on the Sun Solaris 10 System an get the follow respond:
Network is unreachable.
Let me show the command.
root@ColectorDMSCNT # route add 200.44.46.0/27 161.196.84.193 1
add net 200.44.46.0/27: gateway 161.196.84.193: Network is unreachable
... (1 Reply)
Discussion started by: aggadtech08
1 Replies
3. AIX
hello...
we have just recently purchased an ibm h80 system to replace our old machine. the new machine is running aix 5.2 and yesterday i had just completed installing all the remote printers that are connected to windows 2k pc's. today i tried to send a print job to one of them and nothing... (1 Reply)
Discussion started by: petrofyed
1 Replies
4. UNIX for Dummies Questions & Answers
Hi, the print spooler from my unix box keeps putting a header before every page, looks as below
User: root
Host: blemain.blemain.local
Class: blemain.blemain.local
Job: SPC075
then it forces the rest of the print to spread accross 2 pages (should be single page prints).
Any idea... (0 Replies)
Discussion started by: blemainuser
0 Replies
5. Linux
Dear All..
When printing(Epson DotMatrix 9pinX136Cols) an graphics(Graphics2D) document through my Java application, the printer simply take a round and drop the paper out. Nothing printed is it my printer driver(currently using omni driver) problem. Any one of you pls suggest me the suitable... (0 Replies)
Discussion started by: arunize
0 Replies
6. UNIX for Dummies Questions & Answers
I am not able to print plain text in a correct manner.
When I issue the command "lp -ddestination_printer myfile.txt" the printer prints a page with the following contents:
Feb 24 11:26 2005 myfile.txt Page 1
## Configured using SAM by root on Tue
The line beginning... (3 Replies)
Discussion started by: ascanestro
3 Replies
7. SCO
I have several printers setup but nothing prints.
I get the following error email
Subject: Status of lp request aclj3-2297
Your request aclj3-2297 destined for aclj3
encountered an error while printing on printer aclj3.
Reason for failure:
cat: cannot open 0: No such file or... (1 Reply)
Discussion started by: Jessie Nand
1 Replies
8. Solaris
1) I want a free emulation software for Sun Solaris.
2) I have three servers for different billing systems and i want that when i(or other clients) logon to one server the color of the screen should be permanently same and when on second system it should be permanently second color. Even if i... (2 Replies)
Discussion started by: blackeyed
2 Replies
9. UNIX for Dummies Questions & Answers
I have a problem here. I have a printer that is connected to a silicon graphics O2 machine (a Laser Jet 6MP) which is running under the Laser Jet 6 printer driver. I don't have any problems printing from the UNIX box. However, I do have the printer networked through our local intranet (using LPR... (2 Replies)
Discussion started by: bobmcgee
2 Replies
10. UNIX for Advanced & Expert Users
Hi guys ...
i need ur help with some printing problem in unix ...
first prob. :
i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) .
My issue , is it possible to print directly to an Ip address from unix ?
How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 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)