Xref: utzoo comp.unix.wizards:22347 comp.unix.i386:5689 comp.unix.xenix:11952 Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!dsl.pitt.edu!pitt!darth!investor!rbp From: rbp@investor.pgh.pa.us (Bob Peirce #305) Newsgroups: comp.unix.wizards,comp.unix.i386,comp.unix.xenix Subject: Re: lpadmin(8) question Keywords: lp systemv Message-ID: <1990Jun7.130355.11227@investor.pgh.pa.us> Date: 7 Jun 90 13:03:55 GMT References: <453@van-bc.UUCP> <1990Jun2.034151.27340@virtech.uucp> Reply-To: rbp@investor.pgh.pa.us (Bob Peirce #305) Organization: Cookson, Peirce & Co., Pittsburgh, PA Lines: 37 In article <1990Jun2.034151.27340@virtech.uucp> cpcahil@virtech.UUCP (Conor P. Cahill) writes: >In article <453@van-bc.UUCP> sl@van-bc.UUCP (Stuart Lynne) writes: >>In the man page for lpadmin: >> >> -vdevice ..... Note that there is nothng to stop a system >> manager from associating the same device with more >> than one printer. >> >>Does this mean that there is nothing to stop you from doing this so don't do >>it? > >No. What it means is that you can do it, but you must set things up so >that they work correctly. This has been used lots of times to have a >printer with several kinds of paper that can be loaded and each type >of paper will get it's own queue while the device for all of the queues >is the same. > >In this scenario, the system administrator must enable 1 and only 1 of >the queues at the same time (hopefully just after he placed the appropriate >paper into the printer). > You also need (or at least probably should) decide which queue is primary and set up your control scripts for the other devices to disable themselves when their print job completes. On our system, we tried several ideas and settled on manually disabling the primary device before starting up a secondary device and having the secondary device disable itself unless given a flag to keep itself turned on. This works because we have to change paper and we want to disable the primary device before we do that. We are also set up so anyone can disable or enable a device. -- Bob Peirce, Pittsburgh, PA 412-471-5320 ...!uunet!pitt!investor!rbp rbp@investor.pgh.pa.us