Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!uunet!munnari.oz.au!uhccux!bigtuna!pegasus!richard From: richard@pegasus.com (Richard Foulk) Newsgroups: comp.unix.sysv386 Subject: Re: SVR4: postio filter and /dev/lp---Does it work? Message-ID: <1991May2.111213.15685@pegasus.com> Date: 2 May 91 11:12:13 GMT References: <1991Apr21.023535.12218@rwwa.COM> <49@mport.COM> <54@mport.COM> Organization: Pegasus, Honolulu Lines: 21 >You can cat the file, pipe it through the proper filter (postprint, dpost, >etc) and redirect it to /dev/lp - if you have a parallel setup. I have >a Postscript cartridge in a HP LaserJet II with a parallel connection - >it works alright. I do have to send ^D to the printer between jobs >or else it prints blank pages. I wrote a little script - I think it >goes like the following ( it's at home and I'm here) > >echo \004 > /dev/lp0 > Be sure you suppress the cr/lf on that echo or the printer will think you've started a new job. The control-D needs to be the very last character of the job stream. If you're using Adobe's ehandler.ps to make up for the lack of a return path for error reports this is important. Incomplete jobs elicit a timeout error from PostScript. -- Richard Foulk richard@pegasus.com