i've done did the lazy way ... dunno if it'll work for you ...
edit /etc/printers.conf and just put in your info ... restart lpd ... see "man printers.conf" for entry specifics ... /etc/printers.conf entries below assumes that A, B & C are printers and are listed in DNS ... also assumes that default printer is A ...
hi all,
I can add a network printer with ADMINTOOL. However, I have a problem to add a network printer using lpadmin on my Sparc Solaris 8 box.
Here's the detail:
===============
lpadmin -p printername
lpadmin: ERROR: Missing -U or -v option.
To Fix: Local printer must have a port... (2 Replies)
Hi there thanks for checking in
I'm screwed if you can't help me.
I have root access to a unix box and i did this.
>/usr/bin> mailx marcus@rtt.co.za > /usr/bin/lpadmin
which over wrote the lpadmin file which is in /usr/bin
How do i get this back.
Please help. (2 Replies)
Help!
I have 2 PC running SCO 5.0.5.
I need that the PC#1 prints in the printers formed in the PC#2 using remote impression.
What I have to do to form it?
Thanks! (0 Replies)
Hi all,
I'm tryin' to add a network printer with lpadmin (I don't have access to admintool) to a Solarisbox but I don't exactly know where to use the IP address.
The thing is that this printer exists already with another printQ but I don't see any printerserver declared with lpsystem -l although... (3 Replies)
Hi,
We have two IBM pSeires servers running IBM AIX. I want to configure the IBM servers to print on the network printer.
Here is the following configuration
IBM Server-I IP Add: 192.168.0.5
IBM Server-II IP Add: 192.168.0.6
Network Printer IP Add: 192.168.0.15
I'm new to IBM AIX OS.... (0 Replies)
Hi - Dummy question #1....
We either use the Hewlett Packard HPPI too or LPADMIN command to setup out printers. Is there an LPADMIN command that will show you the default config of a particular printer.
Ideally looking to see default font, CPI settings etc.
Thanks.
BravehearT1326 ... (1 Reply)
Hi All,
I am trying to configure printer in solaris 10 with the help of print manager. There is no printer attached to my system, ia m doing it for test purpose. However I am unable to do so coz its pops up window - Heading as error with option as dismiss and cancel. Kindly help as I am... (3 Replies)
I have tried and tried again, to get an HP 4700dn laserjet printer to work on a GI Sun Solaris BOX. I have gone through and added the Printer server and IP to the Host file in the /etc folder and also added the printer ip and printer name itself. when I go to print something the printer shows up in... (7 Replies)
Help!
I have to solve an urgent problem!
I have a Solaris 10 server, where I created a line of printing with the command
# /usr/sbin/lpadmin -p IL_Printer -s pv24002 -v /dev/null -m netstandard_foomatic -A write -n /usr/lib/lp/model/ppd/system/foomatic/Canon/cnl66e1.ppd.gz -o... (0 Replies)
Dear Experts,
We have requirement to configure Dot matrix printer in linux, Also need to register in Oracle application R12.0.6 version where i need get the print in landscape format.
Request you all kindly help on the same.
Thank you,
Alone.
---------- Post updated 02-18-14 at 01:02... (6 Replies)
Discussion started by: Alone
6 Replies
LEARN ABOUT MINIX
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)