home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / novell / 11981 < prev    next >
Encoding:
Text File  |  1993-01-28  |  2.2 KB  |  56 lines

  1. Newsgroups: comp.sys.novell
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!swrinde!cs.utexas.edu!torn!nott!cunews!socrates.carleton.ca!tmunro
  3. From: tmunro@ccs.carleton.ca (Tim Munro)
  4. Subject: Re: Capturing to best queue w/system login
  5. Message-ID: <tmunro.13.728071834@ccs.carleton.ca>
  6. Lines: 43
  7. Sender: news@cunews.carleton.ca (News Administrator)
  8. Organization: Carleton University
  9. References: <C1H0tH.17J@world.std.com>
  10. Date: Tue, 26 Jan 1993 18:10:34 GMT
  11. Lines: 45
  12.  
  13. In article <C1H0tH.17J@world.std.com> levin@world.std.com (Levin F Magruder) writes:
  14. >From: levin@world.std.com (Levin F Magruder)
  15. >Subject: Capturing to best queue w/system login
  16. >Date: Tue, 26 Jan 1993 17:05:40 GMT
  17. >I'd like to set up our workstations so that default capturing
  18. >is to the most nearby printer, irrespective of login name.  (In
  19. >other words, no matter where Joe logs in, his printing will
  20. >be captured to the queue associated with the physically nearest
  21. >printer, unless subsequently overridden.)
  22. >
  23. >(Talking about 2.15 w/Dos 3.30; soon to be 3.11/5.00)
  24. >
  25. >1.  Is there a way with DOS variables and Novell Login Scripts?
  26. >I tried #Capture q=%LANPNAME% in a user login script; just got
  27. >"Queue %LANPNAME% does not exist..." (w/dos var LANPNAME set to
  28. >a queue name).
  29. >
  30. >2.  Would the following work; do you forsee any problems; can
  31. >it work in a system login script?
  32. >  Set dos var to nearby printer name in autoexec.
  33. >  write a utility to get the variable name and
  34. >        spawn a capture command set to the right queue
  35. >  #call that utility from the login script
  36. >  DOS SET that variable to make it go away.
  37. >Has anyone got such a utility written?
  38. >
  39. >Does doing a DOS SET VARNAME= to blank out the name leave any kind
  40. >of "hole" if subsequent variable names have been assigned?
  41. >
  42. >Any alternative suggestions, tangential tips, etc. welcome.  Here
  43. >or mail, your discrection.
  44. >
  45.     My suggestion is do the actual CAPTURE in a batch file following the 
  46. login script. ie EXIT "lanexec.bat". In 'lanexec.bat' you could have your 
  47. capture command as well any other final setup you wish to do.
  48. --
  49. Tim Munro
  50.  
  51. tmunro@ccs.carleton.ca
  52. Voice:  (613) 788-2600 x3722
  53. Fax:    (613) 788-4448
  54.  
  55. * System error, strike any user to continue... *
  56.