04-26-2005
Finding Printer in unix
I am trying to find the list of printers(names) in the network from unix server.
can anybody help me . I need the command.
Thanks in advance.
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 REDHAT
cancel
cancel(1) cancel(1)
NAME
cancel - cancel print request
SYNOPSIS
cancel [ request-ID...] [destination...]
cancel -u user... [destination...]
The cancel utility cancels print requests. There are two forms of the cancel command.
The first form of cancel has two optional arguments: print requests (request-ID) and destinations (destination). Specifying request-ID with
destination cancels request-ID on destination. Specifying only the destination cancels the current print request on destination. If desti-
nation is not specified, cancel cancels the requested print request on all destinations.
The second form of cancel cancels a user's print requests on specific destinations.
Users can only cancel print requests associated with their username. By default, users can only cancel print requests on the host from
which the print request was submitted. If a super-user has set user-equivalence=true in /etc/printers.conf on the print server, users can
cancel print requests associated with their username on any host. Super-users can cancel print requests on the host from which the print
request was submitted. Superusers can also cancel print requests from the print server.
The print client commands locate destination information using the printers database in the name service switch. See nsswitch.conf(4),
printers(4), and printers.conf(4) for details.
The following options are supported:
-u user The name of the user for which print requests are to be cancelled. Specify user as a username.
The following operands are supported:
destination The destination on which the print requests are to be canceled. destination is the name of a printer or class of printers
(see lpadmin(1M)). If destination is not specified, cancel cancels the requested print request on all destinations. Specify
destination using atomic or POSIX-style (server:destination), names. See for information regarding using POSIX-style des-
tination names with cancel. See standards(5) for information regarding POSIX.
request-ID The print request to be canceled. Specify request-ID using LP-style request IDs (destination-number).
user The name of the user for which the print requests are to be cancelled. Specify user as a username.
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
/var/spool/print/* LP print queue.
$HOME/.printers User-configurable printer database.
/etc/printers.conf System printer configuration database.
printers.conf.byname NIS version of /etc/printers.conf.
printers.org_dir NIS+ version of /etc/printers.conf.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWpcu |
+-----------------------------+-----------------------------+
lp(1), lpq(1B), lpr(1B), lprm(1B), lpstat(1), lpadmin( 1M), nsswitch.conf(4), printers(4), printers.conf(4), attributes(5), standards(5)
POSIX-style destination names (server:destination) are treated as print requests if destination has the same format as an LP-style request-
ID. See standards(5).
Some print servers send cancelation notification to job owners when their print jobs have been cancelled. This notification usually comes
in the form of an email message. Cancelation notices cannot be disabled on a Solaris server.
23 Feb 2005 cancel(1)