Sponsored Content
Full Discussion: Finding Printer in unix
Top Forums UNIX for Dummies Questions & Answers Finding Printer in unix Post 70283 by Just Ice on Wednesday 27th of April 2005 08:55:17 AM
Old 04-27-2005
"lpstat -a" should work even as non-root user ...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

adding printer in unix

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

Solaris UNIX Printer Setup

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

Changing A Printer In Unix

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

Skipping page by UNIX printer

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

TCPIP Printer in Unix

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

Printer + Unix (SCO)

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

How to allow unix regular user to disable a unix printer

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

how to configure printer in unix

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

fax to printer from unix?

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

Printer messages linked to a unix ID

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
lpstat(1)                                                          User Commands                                                         lpstat(1)

NAME
lpstat - print information about the status of the print service SYNOPSIS
lpstat [-d] [-r] [-R] [-s] [-t] [ -a [list]] [ -c [list]] [ -f [list] [-l]] [ -o [list]] [ -p [list] [-D] [-l]] [ -S [list] [-l]] [ -u [ login- ID -list]] [ -v [list]] DESCRIPTION
The lpstat utility displays information about the current status of the LP print service to standard output. If no options are given, lpstat prints the status of all the user's print requests made by lp. See lp(1). Any arguments that are not options are assumed to be request-IDs as returned by lp. The lpstat command prints the status of such requests. options may appear in any order and may be repeated and intermixed with other arguments. Some key letters may be followed by an optional list that can be in one of two forms: a list of items separated from one another by a comma, or a list of items separated from one another by spaces enclosed in quotes. For example: example% lpstat -u "user1 user2 user3" Specifying all after any key letter that takes list as an argument causes all information relevant to the key letter to be printed. For example, the command: example% lpstat -o all prints the status of all output requests. The omission of a list following such key letters causes all information relevant to the key letter to be printed. For example, the com- mand: example% lpstat -o prints the status of all output requests. 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. OPTIONS
The following options are supported on all platforms. -d Prints the default destination for output requests. -o [list] Prints the status of output requests. list is a list of intermixed printer names, class names, and request-IDs. The key letter -o may be omitted. Specify printer and class names using atomic or POSIX-style (server:destination) names. See standards(5) for information regarding POSIX. -r Prints the status of the LP request scheduler. -R Prints a number showing the position of each request in the print queue. -s Prints a status summary, including the status of the LP scheduler, the default destination, a list of printers and their associated devices, a list of the machines sharing print services, a list of all forms currently mounted, and a list of all recognized character sets and print wheels. -t Prints all status information. This includes all the information obtained with the -s option, plus the acceptance and idle/busy status of all printers. -u [login-ID-list] Prints the status of output requests for users. The login-ID-list argument may include any or all of the following constructs: login-ID a user on any system system_name!login-ID a user on system system_name system_name!all all users on system system_name all!login-ID a user on all systems all all users on all systems -v [list] Prints the names of printers and the path names of the devices associated with them or remote system names for net- work printers. list is a list of printer names. The following options return accurate results only if they are issued from a Solaris 2.6 Operating Environment or compatible version of the LP print server. -a [list] Reports whether print destinations are accepting requests. list is a list of intermixed printer names and class names. -c [list] Prints name of all classes and their members. list is a list of class names. -f [list] [-l] Prints a verification that the forms in list are recognized by the LP print service. list is a list of forms; the default is all. The -l option will list the form descriptions. -p [list] [-D] [-l] Prints the status of printers. list is a list of printer names. If the -D option is given, a brief description is printed for each printer in list. If the -l option is given and the printer is on the local machine, a full description of each printer's configuration is returned, including the form mounted, the acceptable content and printer types, a printer description, and the interface used. -S [list] [-l] Prints a verification that the character sets or the print wheels specified in list are recognized by the LP print service. Items in list can be character sets or print wheels; the default for the list is all. If the -l option is given, each line is appended by a list of printers that can handle the print wheel or character set. The list also shows whether the print wheel or character set is mounted, or specifies the built-in character set into which it maps. -d Prints the default destination for output requests. -o [list] Prints the status of output requests. list is a list of intermixed printer names, class names, and request-IDs. The key letter -o may be omitted. -r Prints the status of the LP request scheduler. -R Prints a number showing the position of each request in the print queue. -s Prints a status summary, including the status of the LP scheduler, the default destination, a list of printers and their associated devices, a list of the machines sharing print services, a list of all forms currently mounted, and a list of all recognized character sets and print wheels. -t Prints all status information. This includes all the information obtained with the -s option, plus the acceptance and idle/busy status of all printers. -u [login-ID-list] Prints the status of output requests for users. The login-ID-list argument may include any or all of the following constructs: login-ID a user on any system system_name!login-ID a user on system system_name system_name!all all users on system system_name all!login-ID a user on all systems all all users on all systems -v [list] Prints the names of printers and the path names of the devices associated with them or remote system names for net- work printers. list is a list of printer names. EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. FILES
/var/spool/print/* LP print queue. $HOME/.printers User-configurable printer database. /etc/printers.conf System configuration database. printers.conf.byname NIS version of /etc/printers.conf. printers.org_dir NIS+ version of /etc/printers.conf. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpcu | +-----------------------------+-----------------------------+ SEE ALSO
cancel(1), lp(1), lpq(1B), lpr(1B), lprm(1B), nsswitch.conf(4), printers( 4), printers.conf(4), attributes(5), standards(5) SunOS 5.10 23 May 2003 lpstat(1)
All times are GMT -4. The time now is 03:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy