05-07-2004
Printer Error with Admintool
Hi
I have a unix box [ Solaris 2.5.1 , sparc staion 5_10 )
I could successfully configure a LOCAL printer using
lpadmin -p XX -v /dev/term/a
But when I tried to do local printer configuration with admintool, ( as root user ) it throws up error. " add printer failed ".
Also when I tried to modify the printer configured using lpadmin,
it throws "get printer failed".
However the printer works fine with
lp -d XX commands.
Can somebody throw some light on why is this happening ?
( The admintool allows me to configure new users without any problem . )/
Thanks..
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 MOJAVE
lpoptions
lpoptions(1) Apple Inc. lpoptions(1)
NAME
lpoptions - display or set printer options and defaults
SYNOPSIS
lpoptions [ -E ] [ -h server[:port] ] -d destination[/instance] [ -l ]
lpoptions [ -E ] [ -h server[:port] ] [ -p destination[/instance] ] -o option[=value] ...
lpoptions [ -E ] [ -h server[:port] ] [ -p destination[/instance] ] -r option
lpoptions [ -E ] [ -h server[:port] ] -x destination[/instance]
DESCRIPTION
lpoptions displays or sets printer options and defaults. If no printer is specified using the -p option, the default printer is used as
described in lp(1).
If no -l, -o, or -r options are specified, the current options are reported on the standard output.
Options set with the lpoptions command are used by the lp(1) and lpr(1) commands when submitting jobs.
When run by the root user, lpoptions gets and sets default options and instances for all users in the /etc/cups/lpoptions file. Otherwise,
the per-user defaults are managed in the ~/.cups/lpoptions file.
OPTIONS
lpoptions supports the following options:
-E Enables encryption when communicating with the CUPS server.
-d destination[/instance]
Sets the user default printer to destination. If instance is supplied then that particular instance is used. This option overrides
the system default printer for the current user.
-h server[:port]
Uses an alternate server.
-l Lists the printer specific options and their current settings.
-o option[=value]
Specifies a new option for the named destination.
-p destination[/instance]
Sets the destination and instance, if specified, for any options that follow. If the named instance does not exist then it is cre-
ated. Destinations can only be created using the lpadmin(8) program.
-r option
Removes the specified option from the named destination.
-x destination[/instance]
Removes the options for the named destination and instance, if specified. If the named instance does not exist then this does noth-
ing. Destinations can only be removed using the lpadmin(8) command.
FILES
~/.cups/lpoptions - user defaults and instances created by non-root users.
/etc/cups/lpoptions - system-wide defaults and instances created by the root user.
CONFORMING TO
The lpoptions command is unique to CUPS.
SEE ALSO
cancel(1), lp(1), lpadmin(8), lpr(1), lprm(1), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2018 by Apple Inc.
10 April 2018 CUPS lpoptions(1)