Please post the content of /etc/lp/printers/printerA/configuration
Also, your /etc/printers.conf may have an error in the bsdaddr value.
This should be bsdaddr=printserver,queuename,Solaris
e.g.
the contents of your /etc/lp/printers/printerA/configuration file should be something like this...
...assuming that "serverA" is the IP addr of "printerA".
Hi all,
This is the first time i am using this forum to clear my doubt.
I am using Sun solaris 9 Operating System, I am stuck up with a problem regarding webmin server.I logged in to webmin as system administrator (root)and then clicked change passwords module. It shows the list of... (1 Reply)
Hello Guys,
I have just joined this forum & hope that I will find a solution to my question.
I have configured NFS shares on my machine solaris 10 (5.10). Shares have rw access for everyone.
Tried starting NFS server daemon with following command.
svcadm -v enable -t network/nfs/server... (3 Replies)
I have a solaris server having oracle and oracle apps running !
When some one attempts to generate a code, they click a link on the web interface which runs an rsh script from a computer called Helpdesk onto my solaris server and what happens is the web interface show an error message saying... (4 Replies)
Hello
Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running.
I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Hi All,
We have configured an hp network printer on a Solaris-sparc machine.
We are unable to print any files from this machine.
The following are the other details:
lpstat -p hpnic -l
printer hpnic waiting for auto-retry. available.
exec exit fault
Form mounted:
... (0 Replies)
Hi,
Occasionally I am getting the port state in CLOSE_WAIT for long time in the solaris server. I am not sure is it application problem or not. Because we are using port 9009 for Tomcat process in our web application, some time when I start the application, the port 9009 is in CLOSE_WAIT... (2 Replies)
Hi,
While we rebooting solaris server ,the system going to Maintenance mode instead of login console.
even we are not able to run fsck command . Thanks in advanced for help.
log attached FYI
Executing last command: boot
Boot device: /pci@83,4000/FJSV,ulsa@2,1/disk@0,0 File and args:... (3 Replies)
Hi All,
I am facing problem while doing FTp to solaris server through Windows XP machine.
showing msg as follows
220 matrix FTP server ready.
User (*.*.*.*:(none)): Sun
331 Password required for Sun.
Password:
530 Login incorrect.
Login failed.
ftp> bye
also while doing vi or... (2 Replies)
Good day all.
I'm trying to rename some files in my home directory with some bizarre results. Basically I need to change the IP address in the filename to the hostname which I ggrep from within the file:
-rw-r--r-- 1 bh694n nrc 5095 May 2 20:03 alarms_999.189.161.146.log... (2 Replies)
Hi,
On my Sun Ultra 45, display was flickering. After changing PCI slot of graphic card (XVR-300), display stablized, but, now X-server not starting. I am getting following messages
The X-server can not be started on display : 0...
See file/var/dt/Xerrors for details.
the output of... (8 Replies)
Discussion started by: rakhsin
8 Replies
LEARN ABOUT V7
lpget
lpget(1M) System Administration Commands lpget(1M)NAME
lpget - get printing configuration
SYNOPSIS
lpget [-k key] [destination... | list]
DESCRIPTION
The lpget utility reads printing configuration information from the configuration databases in $HOME/.printers, /etc/printers.conf, print-
ers.conf.byname, and printers.org_dir printer. This information, called a configuration report, is displayed to the standard output. See
printers(4) and printers.conf(4) for information about the printer configuration databases.
lpget displays a configuration report for all keys for the specified destination or destinations by default. Use the -k option to display
a configuration report for specific keys. Use the list operand to display a configuration report for all configured destinations.
OPTIONS
The following option is supported:
-k key Displays a configuration report for key. See printers.conf(4) for information about specifying key.
OPERANDS
The following operands are supported:
destination Displays a configuration report for destination. Destination can be either a printer of a class of printers. See lpad-
min(1M). Specify destination using atomic or POSIX-style (server:destination) names. See printers.conf(4) for information
regarding the naming conventions for atomic names and standards(5) for information concerning POSIX.
list Displays a configuration report for all configured destinations.
EXAMPLES
Example 1: Displaying a Configuration Report for the bsdaddr Key
The following example displays a configuration report for the bsdaddr key for printer catalpa.
example% lpget -k bsdaddr catalpa
Example 2: A Configuration Report for all Keys for all Configured Destinations
The following example displays a configuration report for all keys for all configured destinations.
example% lpget list
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
FILES
/etc/printers.conf System printer configuration database.
$HOME/.printers User-configurable printer 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 |
+-----------------------------+-----------------------------+
|Stability Level |Stable |
+-----------------------------+-----------------------------+
SEE ALSO ldap(1), lp(1), lpc(1B), lpq(1B), lpr(1B), lpstat(1), lpadmin(1M), lpset(1M), printers(4), printers.conf(4), attributes(5), standards(5)
System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP)
NOTES
Be mindful of the following if the LDAP database is used as the name service. If the ldapclient(1M) server is a replica LDAP server, LDAP
printer database updates may not appear immediately, as the replica server may not not have been updated by the master server and can be
out of sync. For example, a printer that you deleted by using lpset(1M) may still appear in the printer list you display with lpget until
the replica is updated from the master. Replica servers vary as to how often they are updated from the master. Refer to the System Adminis-
tration Guide: Naming and Directory Services (DNS, NIS, and LDAP) for more information on LDAP replication.
SunOS 5.10 23 May 2003 lpget(1M)