05-07-2004
Not a 2.5.1 error but it may not have been fixed in 2.5.1 as far as admintool....
When trying to add a printer in Solaris[TM] 2.5 Operating Environment
using the lpadmin command, we get the following error;
UX:lpadmin: ERROR: Printer type "hplaser" is not in the
Terminfo database.
TO FIX: Check the name again; if it is correct
you have to make an entry for it in the
Terminfo database.
Or when trying to add a printer through admintool, we get "add printer
failed".
Resolution Top
The problem is that the package SUNWter was not loaded. This package contains
the terminfo database. This package does not install with the core and end user
distributions of the OS. To fix this do the following.
Insert the 2.5 OS cdrom.
type;
# pkgadd -d /cdrom/solaris_2_5_hw196_sparc/s0/Solaris_2.5 SUNWter
this will install the terminfo database and the printer will add
upon retrying.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Does anyone here know where I can find out what commands admintool runs while adding a new user and setting up the account? Reason being is the script I am writting, I can add the user create the path. But it wont set the path for the user. The password well it wont add without... (1 Reply)
Discussion started by: merlin
1 Replies
2. UNIX for Dummies Questions & Answers
hi, after i execute admintool, i got the below
"Error, cant open display"
what is wrong?
thanks (5 Replies)
Discussion started by: yls177
5 Replies
3. UNIX for Dummies Questions & Answers
hi, i did the following
1) which admintool
/bin/admintool
2) admintool
Error: Can't open display:
how to set the display then? i am using netterm to telnet to my sun server. (6 Replies)
Discussion started by: yls177
6 Replies
4. UNIX for Dummies Questions & Answers
I am new to unix....How do I enable XWindows... Or for that matter, use Admintool. .....Pls. help.
Thanks.
PS. I am running Solaris 8. (3 Replies)
Discussion started by: d4jtwvb
3 Replies
5. Solaris
Hi all,
I'm trying to launch admintool via an export DISPLAY.
i get the message: Received communication service error 4: Remote procedure call timed out: program = 100087, version = 10
Just to say, i don't use nis/nisplus on my server...
What to do?
Thanx
Jason (17 Replies)
Discussion started by: penguin-friend
17 Replies
6. Solaris
what happened to admintool in Solaris10? (2 Replies)
Discussion started by: mndavies
2 Replies
7. Solaris
How can I solve this
admintool
Error: Can't open display: (4 Replies)
Discussion started by: iwbasts
4 Replies
8. UNIX for Advanced & Expert Users
Hi: I was setting up a modem on an Ultra5 running 2.6. (yes I know, how quaint)
There are 15 systems that are interlinked but not accessible to the outside world.
This will end soon with new updated sun systems but until then the system needs to be accessed by the outside world. Hence the... (1 Reply)
Discussion started by: mndavies
1 Replies
9. Solaris
Jetadmin fails saying that it is not a network printer despite the fact that it is and can be pinged from UNIX.
I am administering this remotely (long remote, I can't go there soon) and can't run smc or admintool.
Any help configuring this spooler would be appreciated. (1 Reply)
Discussion started by: TT Fan
1 Replies
LEARN ABOUT HPUX
setnetlp
setnetlp(1M) setnetlp(1M)
NAME
setnetlp - configure the LP spooling system for network printers
SYNOPSIS
/usr/sbin/setnetlp
/usr/sbin/setnetlp -p printer [options]
/usr/sbin/setnetlp -x printer
DESCRIPTION
The command configures network printers in the LP spooling systems with specified printer model interface file. It is used to add and
remove specified printer that is referred as a LP destinations, change configuration of the printer if the printer exists.
Network printers that support lpd protocol or JetDirect interface can be configured by The command is a shell procedure. It calls lpad-
min(1M) command for lpd printer configuration. It may also call addqueue(1) and removequeue(1) commands for configuring printers with Jet-
Direct interface when the optional software HP JetDirect Printer Installer for Unix is installed on the system.
Exactly one of the -p, -x options or no options must be present for every legal invocation of
-p printer Names a printer to which all of the options below refer. If printer does not exist, it will be created.
-x printer Removes the printer from the LP spooling system. The printer is a LP destination configured in the LP spooling sys-
tem. No other options are allowed with -x.
The following options are required for -p and can appear in any order.
-orm machine The name of the remote machine or IP address of the network printer is machine.
-om model This option selects a printer model interface program for printer. The model is one of the model file name at
/usr/lib/lp/model/* supplied with the LP software or generated by psmsgen(1M). Refer to lpadmin(1M) Models for
details.
One and only one of the following options is required for -p and can appear in any order.
-orp rprinter The name of the remote printer queue that has configured on the remote machine is rprinter. This option is required
to configure lpd printer and can not be used with -jd option.
-jd When this option is specified, configures the printer using commands provided by HP JetDirect Printer Install-
er for Unix
Interactive terminal user interface (TUI) will be invoked when is invoked without any options. At the TUI, values of all options described
above can be set. In addition, for some printer model, defaults of model interface options also can be customized. When HP JetDi-
rect Printer Installer for Unix is available on the system, some recommended initial values for options may be provided for some printer
model. The model customization support feature by is available only for TUI. No customization is performed by non-interactive invocation
of To customize model options for a printer without the TUI, pre-customized model file needs to be generated before running for configuring
the printer.
EXAMPLES
Assuming a LIPS printer supported lpd protocol on a network as remote printer host name lphost and remote printer name lipslp the command:
/usr/sbin/setnetlp -p netlp -orm lphost -orp lipslp -om LIPS4
causes the spool system to use the local printer netlp and the local model file LIPS4.
FILES
SEE ALSO
lpadmin(1M), addqueue(1), removequeue(1), psmsgen(1M)
setnetlp(1M)