Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!twg.bc.ca!bill From: bill@twg.bc.ca (Bill Irwin) Newsgroups: comp.laser-printers Subject: Re: TI 2108/2106 goes deaf when switching mode Message-ID: <9104021823.AA17840@crayola.cs.UMD.EDU> Date: 28 Mar 91 19:56:12 GMT References: <9103241832.AA18675@crayola.cs.UMD.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Westrheim Group, Vancouver, B.C., Canada Lines: 47 Approved: laser-lovers@brillig.umd.edu OLIVER@CALSTATE.BITNET (Oliver Seely) writes: } Regarding the posting about sending jobs requiring mixed software } interfaces to the TI 2108: } Man, do I feel like a dummy. I've owned a TI2108 for five years } and I didn't know that it was possible to send mixed jobs to it } (a Post Script job followed by an HP Laserjet + job), and have the } printer automatically switch software interfaces between jobs. } My technical reference manual, copyright 1987, doesn't say anything } about it. } Please let me know how to do it. It is very simple. Create two logical printers in lp (laser_ps and laser_hp would do). Assign these two printers to the same physical device/port. Use a different /usr/spool/lp/model/ file with each printer so that the ps model gives the commands to go to PS mode prior to printing the job; and the model for the LJ printer gives the LJ codes. You should decide on what your standby state is going to be (what mode is the printer in when it's not printing) and have each model use the appropriate commands only if the model wants a mode different from the standby mode. This save time when printing jobs in the default/standby mode because you don't have to wait for the interface program to change the printer into the mode it is already in. The interfaces should put the printer back into the standby mode after the job is done. The only other problem is avoiding a collision problem when print jobs are sent to each of the two logical printers at the same time. You need to have the interface programs lock the device from use while its job is printing. I could send you the source for the interfaces I use, which include the locking facility. Let me know by mail if you would like to have these. } Oliver Seely } CSU Dominguez Hills -- Bill Irwin - The Westrheim Group - Vancouver, BC, Canada ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ uunet!van-bc!twg!bill (604) 431-9600 (voice) | Your Computer bill@twg.bc.ca (604) 430-4329 (fax) | Systems Partner