Xref: utzoo comp.unix.wizards:22262 comp.unix.i386:5529 comp.unix.xenix:11851 Path: utzoo!attcan!uunet!van-bc!sl From: sl@van-bc.UUCP (Stuart Lynne) Newsgroups: comp.unix.wizards,comp.unix.i386,comp.unix.xenix Subject: lpadmin(8) question Keywords: lp systemv Message-ID: <453@van-bc.UUCP> Date: 2 Jun 90 01:26:18 GMT Organization: Wimsey Associates, Vancouver, B.C., Canada Lines: 41 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? Or that lpsched is designed to pay attention to having multiple destinations some with the same physical device. Which is what I need to do. I have two different packages that want to install specialized lp destinations with appropriate filters. Can I install both and have lp figure out how multiplex the requests for the two destinations to the one physical printer? Or will I have to hack the two interfaces together and add options? On van-bc (SCO Xenix 2.3.2) at least it appears as though lp gets things mixed up and start's to send requests to both destinations simultanously. This is approxiametely what I did to test lp: lpadmin -pdest1 -idest1 -v/dev/ttyal lpadmin -pdest2 -idest2 -v/dev/ttyal lp -ddest1 file1 lp -ddest2 file2 What I wanted was for file1 to be printed, followed by file2. What I got was file1 intermingled with file2 being printed. -- Stuart.Lynne@wimsey.bc.ca ubc-cs!van-bc!sl 604-937-7532(voice) 604-939-4768(fax) -- Stuart.Lynne@wimsey.bc.ca ubc-cs!van-bc!sl 604-937-7532(voice)