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 OPENSOLARIS
gsinterface
GSinterface(1) General Commands Manual GSinterface(1)
NAME
GSinterface - LP interface script for using ghostscript under lpsched
SYNOPSIS
GSinterface [request-id] [user] [title] [copies] [options] [files]
DESCRIPTION
This shell script is intended to be uses as an LP interface script on Solaris 2.6 and later systems. It allows print queues to be config-
ured under LP using Ghostscript to render for the printer.
Configuration under lpsched is performed via the lpadmin(1M) command.
# lpadmin -p printer -v /dev/... -I"postscript,pdf" -Tunknown
-i /usr/sfw/share/ghostscript/interfaces/GSinterface
-o GS_DEVICE=(gs-device-type)
[-o OutputFile=(file/device)] [-o PAPERSIZE=(size)]
[-o RESOLUTION=XxY] [-o banner-type=(ascii|postscript)]
[-o GS_OPTIONS="-sIjsServer=... -sIjsParams=..."]
Valid values for the GS_DEVICE setting can be obtained from Ghostscript by running: "gs -h". This will dump a variety of information about
Ghostscript's usage and compile time configuration. The "Available devices:" section lists the formats that Ghostscript will render to.
You will need to match one of these formats to the format that your printer takes as input.
EXAMPLES
To configure a Canon Bublejet 800c (NeWSprinter CL+) printer connected to an ECP parallel port:
# lpadmin -p printer -v /dev/ecpp0 -I"postscript,pdf" -Tunknown
-i /usr/sfw/share/ghostscript/interfaces/GSinterface
-o GS_DEVICE=bjc800
# accept printer
# enable printer
To configure an HP DeskJet 990 printer connected via a USB interface using IJS support:
# lpadmin -p printer -v /dev/usb/lp1 -I"postscript,pdf" -Tunknown
-i /usr/sfw/share/ghostscript/interfaces/GSinterface
-o GS_DEVICE=ijs
-o GS_OPTIONS="-sIjsServer=hpijs -sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel='DESKJET 990' -DIjsUseOutputFD"
# accept printer
# enable printer
SEE ALSO
gs(1)
Ghostscript 15 October 2002 GSinterface(1)