Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!ukc!cf-cm!cookc From: cookc@computing-maths.cardiff.ac.uk (Chris Cook) Newsgroups: comp.mail.elm Subject: Printing from ELM to a printer attach... ; solution but more questions. Message-ID: <1991Jun6.103303.20054@cm.cf.ac.uk> Date: 6 Jun 91 10:33:03 GMT References: <1991Jun5.141703.522@cm.cf.ac.uk> <1991Jun05.200545.29483@chinet.chi.il.us> Sender: news@cm.cf.ac.uk (USENET News System) Organization: University of Wales College of Cardiff Lines: 13 We've cracked it. It was simply a matter of explicitly routing the output to /dev/tty i.e. pspr -v <%s >/dev/tty The only problem now is that, because pspr produces a little header and footer text to tell you it's printing the file, the Elm screen gets garbled. With Rainbow (the emulator we'd prefer to use) as well as dumping the output to the printer, it also prints it to the screen. After you've done this the screen bares no resemblence to the original. Of course, this can be overcome by pressing Ctrl-L to redraw the screen, but can anyone think of a way Elm could be made to automatically refresh the screen after a print? Many thanks Chris Cook - Postmaster