04-26-2005
lpstat will list printers the user can see, if you log on as root it shows all printers.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello guys... can anybody please tell me how to add a printer in unix environment? (2 Replies)
Discussion started by: bong m
2 Replies
2. UNIX for Dummies Questions & Answers
I have a HP laserjet 5Si MX on a Microsoft network that I need to route my print output to. I have setup a host that amounts to just the ip address of the printer, and created a printer that is connected to that host. My print is sent directly to the printer, but it is not formatted correctly. ... (2 Replies)
Discussion started by: pkappaz
2 Replies
3. UNIX for Dummies Questions & Answers
We recently changed the ip address of one of our network printers. The unix box which connects to this printer no longer will print to it.
Please can someone guide me as to how to use the unix system to either change the ip address that the box has for the printer or Re - add the printer with... (1 Reply)
Discussion started by: pgamblin
1 Replies
4. UNIX for Dummies Questions & Answers
I have HP UNIX 10.20 and whenever anything is printed on DFX 8000, it skips a page. How could I give an lp command so that
a) the printer does not skip a page
b) Even if it skips a page, the next time it should automatically use the blank page it has ejected.
In this way, I can reduce the... (3 Replies)
Discussion started by: augustinep
3 Replies
5. UNIX for Advanced & Expert Users
How do we install a Printer connected directly to network with a private IP of 192.9.168.109 on a SUN system with IP of 192.9.168.2 so that we can use it with the lp command. The printer is a standard Line Matrix Printer. I would like to know how to add it from COMMANDLINE also.
Thanx (3 Replies)
Discussion started by: /etc/passwd
3 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I'm a real noob with Unix.
I have to make an installation of a printer, EPSON LQ 2080 (impact printer) on local port ltp, on a Unix SCO 5.7.
So....where can I find the driver, and how can I install it on a sco ?
Sorry for my english, i'm frenchy ;)
Thank you ! (1 Reply)
Discussion started by: kok
1 Replies
7. Shell Programming and Scripting
HI,
I'm trying to create a script that a regular unix user can run from a unix menu and disable and enable a unix printer.
Any help will be very helpful.
Thanks (0 Replies)
Discussion started by: miguelpza
0 Replies
8. UNIX for Dummies Questions & Answers
Hi,
os-sun solaris(5.10)
I am working in unix server.
I try to take print in unix.but i got following error.
anyone tell me solution for this problem.
$ lp hi.sql
_default: unknown printer
thanks. (1 Reply)
Discussion started by: arulkumar
1 Replies
9. HP-UX
Our HP 11.11 is networked to several printers with fax capabilities.
Is it possible to send a file to be faxed by the printer?
I know that RICOH offers a Java API, but that costs 4500 for 1yr membership and 3000 every year after that.
Thanks. (3 Replies)
Discussion started by: tariqjamal
3 Replies
10. UNIX for Dummies Questions & Answers
I receive unix printer error message when I am logged into a application running on Unix. This distrots the application. I want to get rid of this messages or direct these messages to another UNIX login. How do I do that? (Note can anyone tell me where I can find the above in Sun Solaris & in AIX)... (1 Reply)
Discussion started by: ashley0
1 Replies
LEARN ABOUT SUNOS
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)