home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / admin / 4310 < prev    next >
Encoding:
Text File  |  1992-07-24  |  1.9 KB  |  42 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!decwrl!access.usask.ca!kakwa.ucs.ualberta.ca!news
  3. From: sherwood@fenris.space.ualberta.ca (Sherwood Botsford)
  4. Subject: Re: Two printers on one print server
  5. Message-ID: <1992Jul24.182011.10650@kakwa.ucs.ualberta.ca>
  6. Sender: news@kakwa.ucs.ualberta.ca
  7. Nntp-Posting-Host: fenris.space.ualberta.ca
  8. Organization: University Of Alberta, Edmonton Canada
  9. References: <3122@ra.nrl.navy.mil>
  10. Date: Fri, 24 Jul 1992 18:20:11 GMT
  11. Lines: 29
  12.  
  13. Richard Deal writes
  14. > In article <1992Jul23.141026.18099@ucunix.san.uc.edu>  
  15. brenner@ucunix.san.uc.edu (David L. Brenner) writes:
  16. > >I have an IPC and want to use it as a print server.  I have two
  17. > >SPARCPrinters and want to set them up so that if one printer is busy the
  18. > >other one will get the new print jobs.
  19. > >
  20. > >Has anyone done this?  If so, please let me know how you did it.
  21. > >
  22. > I would be very interested in this also please email me also or post.  I have 
  23. > several printers all HP lasers (different models though) that are shared with
  24. > PC-NFS (uses regular UNIX remote printing).  Most of the printers are  
  25. actually
  26. > on SPARC's.  We have one heavy user who often prints several thousand pages 
  27. > to an HPIIIsi.  when this is going on is there any easy way to spool other 
  28. > print requests to another printer rather than Queing them up.  
  29. > thanks in advance.
  30.  
  31. Define a new print queue called generic.
  32. Run a script that checks the status of your printers.  When it finds one that's  
  33. free, or has only a small job, it runs submits the job to the new printer, and  
  34. deletes it from the generic printer.  It's a kludge and a hack, but you should  
  35. be able to do it with a hundred lines of perl or awk.
  36.  
  37. ---
  38. => Sherwood Botsford                   sherwood@space.ualberta.ca <= 
  39. => University of Alberta         Lab Manager, Space Physics Group <=         
  40. => tel:403 492-3713                             fax: 403 492-4256 <=         
  41.