Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Print queue set up for VAXstation 2000
@ 1991-09-06 19:07 tang
  1991-09-12  6:53 ` bxf103
  0 siblings, 1 reply; 3+ messages in thread
From: tang @ 1991-09-06 19:07 UTC (permalink / raw)


Hi:

I am posting the following questions for a friend of mine.  Reply may be
sent to this account.

My friend is trying to set up a print queue on a VAXstation 2000 which 
is also part of a cluster.  The first question is what is the name of 
the printer port.  The system manager who is a fellow student does not
know the answer.  He has tried all of the device names in SHOW DEVICE 
but none of them worked.  The second question is how to prevent users 
in the cluster from using his printer; ie, how to set protection for 
the queue.

Any pointer would be appreciated.  Thanks in advance.

Tang Wong


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Print queue set up for VAXstation 2000
  1991-09-06 19:07 Print queue set up for VAXstation 2000 tang
@ 1991-09-12  6:53 ` bxf103
  1991-09-12 13:35   ` Esther Lumsdon
  0 siblings, 1 reply; 3+ messages in thread
From: bxf103 @ 1991-09-12  6:53 UTC (permalink / raw)


In <1991Sep6.140717.1@venus.ycc.yale.edu>, Tang Wong writes:

>My friend is trying to set up a print queue on a VAXstation 2000 which 
>is also part of a cluster.  The first question is what is the name of 
>the printer port.  The system manager who is a fellow student does not
>know the answer.  He has tried all of the device names in SHOW DEVICE 
>but none of them worked.

Strange. We have thrown out our VS2000's a while ago, but I think the
printer port was CSA0 or CSA1. If you are still running UIS, you can try
to $ SHOW LOGICAL UIS$PRINT_DESTINATION. That defaults to the printer 
port on the machine unless you have redirected the screen-dumps elsewhere.


>                          The second question is how to prevent users 
>in the cluster from using his printer; ie, how to set protection for 
>the queue.

If, for argument's sake, you queue is called VS2000$PRINT and the user who
needs access is called TANG then you do the following:

$ MCR AUTHORIZE
UAF> ADD/IDENTIFIER VS2000PRINT
UAF> GRANT/IDENTIFIER VS2000PRINT TANG
UAF> EXIT

This creates the identifier "VS2000PRINT" and grants it to the user TANG.
Next you type:

$ SET QUEUE/PROTECTION=WORLD VS2000$PRINT

That will stop the "world" from accessing the queue (normally the "world"
can Write). Finally you type:

$ SET ACL/OBJ=QUEUE/ACL=(IDENTIFIER=VS2000PRINT,ACCESS=WRITE) VS2000$PRINT
                                             
This will set an AccessControlList on VS2000$PRINT which allows holders of
the "VS2000PRINT" Identifier to Write to the queue VS2000$PRINT. [It may be
a good idea to grant that id to SYSTEM as well ?!]

Note: You need a lot of privileges to do all this.

Cheers

Bernhard Fabricius
POSTMASTER@NUC.ANU.EDU.AU


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Print queue set up for VAXstation 2000
  1991-09-12  6:53 ` bxf103
@ 1991-09-12 13:35   ` Esther Lumsdon
  0 siblings, 0 replies; 3+ messages in thread
From: Esther Lumsdon @ 1991-09-12 13:35 UTC (permalink / raw)


I set up a print queue on a VAXstation 2000 more than a year ago, so my memory
is a bit hazy on this. I thought the printer port was tta2 or tta3. It's one of
those, or csa0 or csa1. The rest of it is just like the previous poster
reported.
To test whether you have the correct port, before you set that port spooled,
copy/log a file to the port  -  copy/log login.com tta3:
You'll have to set term the port to set it for speed, page length, etc first.
After you get a copy to work, then set term /spooled.... and create the print
queue.  There are examples of doing this in sys$manager:systartup.com or
sys$manager:systartup_v5.com.

-- 
------ Esther Lumsdon  Product Support Engineer, Verdix Corporation
  esther@verdix.com  or  esther%verdix.com@uunet.uu.net


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1991-09-12 13:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1991-09-06 19:07 Print queue set up for VAXstation 2000 tang
1991-09-12  6:53 ` bxf103
1991-09-12 13:35   ` Esther Lumsdon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox