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 DEBIAN
lpstat
lpstat(1) Apple Inc. lpstat(1)
NAME
lpstat - print cups status information
SYNOPSIS
lpstat [ -E ] [ -H ] [ -U username ] [ -h hostname[:port] ] [ -l ] [ -W which-jobs ] [ -a [ destination(s) ] ] [ -c [ class(es) ] ] [ -d ]
[ -o [ destination(s) ] ] [ -p [ printer(s) ] ] [ -r ] [ -R ] [ -s ] [ -t ] [ -u [ user(s) ] ] [ -v [ printer(s) ] ]
DESCRIPTION
lpstat displays status information about the current classes, jobs, and printers. When run with no arguments, lpstat will list jobs queued
by the current user.
OPTIONS
The lpstat command supports the following options:
-E
Forces encryption when connecting to the server.
-H
Shows the server hostname and port.
-R
Shows the ranking of print jobs.
-U username
Specifies an alternate username.
-W which-jobs
Specifies which jobs to show, completed or not-completed (the default). This option must appear before the -o option and/or any
printer names, otherwise the default (not-completed) value will be used in the request to the scheduler.
-a [printer(s)]
Shows the accepting state of printer queues. If no printers are specified then all printers are listed.
-c [class(es)]
Shows the printer classes and the printers that belong to them. If no classes are specified then all classes are listed.
-d
Shows the current default destination.
-h server[:port]
Specifies an alternate server.
-l
Shows a long listing of printers, classes, or jobs.
-o [destination(s)]
Shows the jobs queue on the specified destinations. If no destinations are specified all jobs are shown.
-p [printer(s)]
Shows the printers and whether or not they are enabled for printing. If no printers are specified then all printers are listed.
-r
Shows whether the CUPS server is running.
-s
Shows a status summary, including the default destination, a list of classes and their member printers, and a list of printers and
their associated devices. This is equivalent to using the "-d", "-c", and "-v" options.
-t
Shows all status information. This is equivalent to using the "-r", "-d", "-c", "-v", "-a", "-p", and "-o" options.
-u [user(s)]
Shows a list of print jobs queued by the specified users. If no users are specified, lists the jobs queued by the current user.
-v [printer(s)]
Shows the printers and what device they are attached to. If no printers are specified then all printers are listed.
COMPATIBILITY
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", and "#". Also,
printer and class names are not case-sensitive.
The "-h", "-E", "-U", and "-W" options are unique to CUPS.
The Solaris "-f", "-P", and "-S" options are silently ignored.
SEE ALSO
cancel(1), lp(1),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2011 by Apple Inc.
10 September 2008 CUPS lpstat(1)