Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!TWG.UUCP!bill From: bill@TWG.UUCP Newsgroups: comp.laser-printers Subject: Re: Switching From TI microLaser HP -> PS and vice versa Message-ID: <9103201514.AA22968@crayola.cs.UMD.EDU> Date: 18 Mar 91 17:10:00 GMT References: <9103151457.AA04789@crayola.cs.UMD.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Westrheim Group, Vancouver, B.C., Canada Lines: 38 Approved: laser-lovers@brillig.umd.edu cramer@optilink.UUCP (Clayton Cramer) writes: } A while back, someone posted a description of the commands to send } to switch a TI microLaser PS from LaserJet mode to PostScript, and } vice versa, by sending various commands. Well, I took them home, } and the PostScript -> LaserJet works fine; the LaserJet -> } PostScript doesn't work. Does anyone have the command for } LaserJet -> PostScript? The piece of code I use at the bottom of the lp model I use for Laserjet printing to change the printer back to Postscript after printing the job in Laserjet, is: echo "^[^?0" echo "^D" sleep 30 # Give the printer time to reset before the next job. I believe the ^? is the DEL code. I find this one hard to produce in vi, so when I need it I run a script that does echo "\000" > /tmp/code. This gives me a file with ^? in it, which I read into the file I am editing. -- 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 libsocket: open(/dev/socksys) failure: No such file or directory libsocket: open(/dev/socksys) failure: No such file or directory libsocket: open(/dev/socksys) failure: No such file or directory libsocket: open(/dev/socksys) failure: No such file or directory libsocket: open(/dev/socksys) failure: No such file or directory libsocket: open(/dev/socksys) failure: No such file or directory libsocket: open(/dev/socksys) failure: No such file or directory libsocket: open(/dev/socksys) failure: No such file or directory [[Moderator's note: Inquiring minds, of course, want to know what the libsocket stuff is all about! --Rick ]]