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

  1. Newsgroups: comp.sys.novell
  2. Path: sparky!uunet!stanford.edu!kronos.arc.nasa.gov!butch!enterprise!news
  3. From: lb00197@Corlac (David Porco)
  4. Subject: Re: Capturing to best queue w/system login
  5. Message-ID: <lb00197.31@Corlac>
  6. Sender: news@enterprise.rdd.lmsc.lockheed.com
  7. Nntp-Posting-Host: 129.197.235.11
  8. Organization: Lockheed
  9. References: <C1H0tH.17J@world.std.com>
  10. Date: Tue, 26 Jan 93 21:07:43 GMT
  11. Lines: 47
  12.  
  13. In article <C1H0tH.17J@world.std.com> levin@world.std.com (Levin F Magruder) writes:
  14.  
  15. >I'd like to set up our workstations so that default capturing
  16. >is to the most nearby printer, irrespective of login name.  (In
  17. >other words, no matter where Joe logs in, his printing will
  18. >be captured to the queue associated with the physically nearest
  19. >printer, unless subsequently overridden.)
  20.  
  21. >(Talking about 2.15 w/Dos 3.30; soon to be 3.11/5.00)
  22.  
  23. >1.  Is there a way with DOS variables and Novell Login Scripts?
  24. >I tried #Capture q=%LANPNAME% in a user login script; just got
  25. >"Queue %LANPNAME% does not exist..." (w/dos var LANPNAME set to
  26. >a queue name).
  27.  
  28. >2.  Would the following work; do you forsee any problems; can
  29. >it work in a system login script?
  30. >  Set dos var to nearby printer name in autoexec.
  31. >  write a utility to get the variable name and
  32. >        spawn a capture command set to the right queue
  33. >  #call that utility from the login script
  34. >  DOS SET that variable to make it go away.
  35. >Has anyone got such a utility written?
  36.  
  37. >Does doing a DOS SET VARNAME= to blank out the name leave any kind
  38. >of "hole" if subsequent variable names have been assigned?
  39.  
  40. >Any alternative suggestions, tangential tips, etc. welcome.  Here
  41. >or mail, your discrection.
  42.  
  43. Why not just setup a local.BAT file for each machine that just issues the
  44. CAPTURE (and other local stuff)?  Then execute the local.BAT file from a 
  45. login.BAT file or from the SYSTEM LOGIN script.  Either way the capture 
  46. command would be indigineous(sp?) to the specific machine.  This is 
  47. assuming, of coarse, that you allow EVERYONE to print to all of the 
  48. queues. 
  49.  
  50. Hope this helps.
  51. .
  52.  --------------------------------/^\----------------------------------
  53.  The views expressed are my      | |    We make our own reality.
  54.  own, and could change at any    | |
  55.  moment.                         | |     )))))   )   )  ) ))))
  56.  --------------------------------| |      )   )  )))  ) )  )))
  57.  David V. Porco                  | |      ))))   )  )  )    ))))
  58.  Systems Programmer              | |    Certified Netware Engineer
  59.  --------------------------------| |----------------------------------
  60.