Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!vsi1!wyse!bob From: bob@wyse.wyse.com (Bob McGowen Wyse Technology Training) Newsgroups: comp.unix.xenix Subject: Re: Writing serial device drivers Summary: lp, queues and bypassing Keywords: serial ttys printers Message-ID: <2349@wyse.wyse.com> Date: 4 Aug 89 16:38:07 GMT References: <11929@orstcs.CS.ORST.EDU> <1461@crdgw1.crd.ge.com> <9731@alice.UUCP> Sender: news@wyse.wyse.com Reply-To: bob@wyse.UUCP (Bob McGowen Wyse Technology Training) Organization: Wyse Technology Lines: 31 In article <9731@alice.UUCP> debra@alice.UUCP () writes: >In article <1461@crdgw1.crd.ge.com> davidsen@crdos1.UUCP (bill davidsen) writes: >> >> I can't think of any reason for a program to bypass the queue and >>access the printer directly, and would not do it myself. > I agree!!! Except in the special case when you are first setting up the printer and need to check the physical connection, so you WANT to bypass the spooler and go directly to the device. ---deleted--- > >Then when i wanted to print bitmaps (i.e. Tex output in my case) >i did a cat > /dev/lp to bypass the tab expansion. > >Paul. I am assuming that the spooler in question supports multiple devices and queues. You should just set up a second printer pointing at the same output device. This gives you another interface file which you can edit as needed and provides lp spooler control on the output (it is smart enough to queue alternate requests. I have one dot matrix printer set up so I can access it in draft, compressed or near letter quality as needed using the lp command's -dpr_name option.)-- ****you will not interfer with anyone elses' output and they will not interfere with yours!**** Bob McGowan (standard disclaimer, these are my own ...) Customer Education, Wyse Technology, San Jose, CA ..!uunet!wyse!bob bob@wyse.com