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
rcancel(1M) rcancel(1M)
NAME
rcancel - remove requests from a remote printer spooling queue
SYNOPSIS
[id ...] [printer] user]
DESCRIPTION
The command removes a request, or requests, from the spool queue of a remote printer. is invoked by the command (see lp(1)).
At least one id or the name of a printer must be specified.
This command is intended to be used only by the spool system in response to the command (see lp(1)), and should not be invoked directly.
Options
The command recognizes the following options:
id Specifying a request ID (as returned by (see lp(1))) cancels the associated request, even if it is currently printing.
The maximum number of ids that can be specified is 50.
printer Name of the printer (for a complete list, use (see lpstat(1))). Specifying a printer cancels the request which is cur-
rently printing on that printer, if the request is owned by the user. If the or the option is specified, this option
only specifies the printer on which to perform the corresponding cancel operation.
Remove all requests owned by the user on the specified printer (see
printer). The owner is determined by the user's login name and host name on the machine where the command was invoked.
Empty the spool queue of all requests for the specified
printer. This form of invoking is useful only to users with appropriate privileges.
Remove any requests queued belonging to that user (or users)
for the specified printer. You can repeat the option to specify more users. The maximum number of users that can be
specified is 50. This form of invoking is useful only to users with appropriate privileges.
WARNINGS
A remote print request can be canceled only from the system on which the the original command was issued, and if the restrict cancel fea-
ture (see lpadmin(1M)) is enabled for the specified printer, a request belonging to this printer can be canceled only by the system admin-
istrator or the user who requested it.
This command is intended to be used only by the spool system in response to the command (see lp(1)), and should not be invoked directly.
AUTHOR
was developed by the University of California, Berkeley, and HP.
FILES
SEE ALSO
enable(1), lp(1), lpstat(1), accept(1M), lpadmin(1M), lpsched(1M), rlp(1M), rlpdaemon(1M), rlpstat(1M).
rcancel(1M)