🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.novell
Article #5888

Re: Capturing to best queue w/system login

#5888
From: Tim Munro
Date: Tue, 26 Jan 1993 18:10
43 lines
2276 bytes
In article <C1H0tH.17J@world.std.com> levin@world.std.com (Levin F Magruder) writes:
>From: levin@world.std.com (Levin F Magruder)
>Subject: Capturing to best queue w/system login
>Date: Tue, 26 Jan 1993 17:05:40 GMT
>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.
>
	My suggestion is do the actual CAPTURE in a batch file following the 
login script. ie EXIT "lanexec.bat". In 'lanexec.bat' you could have your 
capture command as well any other final setup you wish to do.
--
Tim Munro

tmunro@ccs.carleton.ca
Voice:  (613) 788-2600 x3722
Fax:    (613) 788-4448

* System error, strike any user to continue... *
Technical Details
Message-ID: <tmunro.13.728071834@ccs.carleton.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!swrinde!cs.utexas.edu!torn!nott!cunews!socrates.carleton.ca!tmunro
References: <C1H0tH.17J@world.std.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.novell
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!swrinde!cs.utexas.edu!torn!nott!cunews!socrates.carleton.ca!tmunro
From: tmunro@ccs.carleton.ca (Tim Munro)
Subject: Re: Capturing to best queue w/system login
Message-ID: <tmunro.13.728071834@ccs.carleton.ca>
Lines: 43
Sender: news@cunews.carleton.ca (News Administrator)
Organization: Carleton University
References: <C1H0tH.17J@world.std.com>
Date: Tue, 26 Jan 1993 18:10:34 GMT
Lines: 45