From: CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 9-APR-1991 03:39:47.97 To: ARISIA::EVERHART CC: Subj: Re: SYS$PRINT serving multiple devices, is it possible? From: RELAY-INFO-VAX@CRVAX.SRI.COM@SMTP@CRDGW2 To: Everhart@Arisia@MRGATE Received: by crdgw1.ge.com (5.57/GE 1.96) id AA03498; Tue, 9 Apr 91 03:36:47 EDT Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Mon, 8 APR 91 15:45:36 PDT Received: by ucbvax.Berkeley.EDU (5.63/1.42) id AA23020; Mon, 8 Apr 91 15:30:10 -0700 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 8 Apr 91 18:29:48 GMT From: csus.edu!wuarchive!sdd.hp.com!news.cs.indiana.edu!ux1.cso.uiuc.edu!news.iastate.edu!VAXF.IASTATE.EDU!GVROD@ucdavis.ucdavis.edu (R Eldridge, VAX Systems) Organization: Iowa State University, Ames, IA. Subject: Re: SYS$PRINT serving multiple devices, is it possible? Message-Id: <1991Apr8.182948.1054@news.iastate.edu> References: <1991Apr8.154457.7638@ni.umd.edu> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com mike@UC780.UMD.EDU (Mike Santangelo) writes: >Is it possible to set up SYS$PRINT on a system to two >physical devices such that user submitted PRINT requests >are load-balanced between the both of them? For example, >say I have two identical serially connected printers off >of a DMB32 or such, and I wanted user submitted print >requests to print on either. In other words, can the VMS >queue manager handle two devices and physically print to >whichever is first available (automagically)? If so, how >do I set this up? > I don't believe that SYS$PRINT can use two physical printers. It must point to only one physical printer. However, to effectively do what you request, create two queues, each one pointing to one of the physical printer. Then define SYS$PRINT as a generic queue that points to both of the two queues. The system will then print to either one of the queues, including printing to the second one if the first one is busy. For example, $ initialize/queue/start/on=TTA1: PRINTER1 $ initialize/queue/start/on=TTA2: PRINTER2 $ initialize/queue/generic=(PRINTER1,PRINTER2) SYS$PRINT You will, of course, have to change the first two initialize/queue commands to reflect the physical connections at your site, plus any other qualifiers that your site will use. rod eldridge gvrod@isuvax.bitnet or gvrod@isuvax.iastate.edu iowa state university (515)294-7498