home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.novell
- Path: sparky!uunet!destroyer!sol.ctr.columbia.edu!eff!world!levin
- From: levin@world.std.com (Levin F Magruder)
- Subject: Capturing to best queue w/system login
- Message-ID: <C1H0tH.17J@world.std.com>
- Organization: The World Public Access UNIX, Brookline, MA
- Date: Tue, 26 Jan 1993 17:05:40 GMT
- Lines: 28
-
- I'd like to set up our workstations so that default capturing
- is to the most nearby printer, irrespective of login name. (In
- other words, no matter where Joe logs in, his printing will
- be captured to the queue associated with the physically nearest
- printer, unless subsequently overridden.)
-
- (Talking about 2.15 w/Dos 3.30; soon to be 3.11/5.00)
-
- 1. Is there a way with DOS variables and Novell Login Scripts?
- I tried #Capture q=%LANPNAME% in a user login script; just got
- "Queue %LANPNAME% does not exist..." (w/dos var LANPNAME set to
- a queue name).
-
- 2. Would the following work; do you forsee any problems; can
- it work in a system login script?
- Set dos var to nearby printer name in autoexec.
- write a utility to get the variable name and
- spawn a capture command set to the right queue
- #call that utility from the login script
- DOS SET that variable to make it go away.
- Has anyone got such a utility written?
-
- Does doing a DOS SET VARNAME= to blank out the name leave any kind
- of "hole" if subsequent variable names have been assigned?
-
- Any alternative suggestions, tangential tips, etc. welcome. Here
- or mail, your discrection.
-
-