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

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