Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!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 attached to a PC Message-ID: <1991Jun5.141703.522@cm.cf.ac.uk> Date: 5 Jun 91 14:17:03 GMT Article-I.D.: cm.1991Jun5.141703.522 Sender: cookc@computing-maths.cardiff.ac.uk (Chris Cook) Reply-To: cookc@computing-maths.cardiff.ac.uk (Chris Cook) Organization: University of Wales College of Cardiff, Cardiff, WALES, UK. Lines: 25 I've been trying to work out a way that you can print directly from Elm to a printer attached to a PC. Several Vt100 emulators allow you to print direct to an attached printer by sending the sequences [5i [4i before and after the desired section of text. The printer in question is a Postscript printer so we would have to pass it through a filter on the way. All this is done by the local command pspr -v filename I've tried inserting this into the options page PRINT = pspr -v %s but the best I get is the message is sent to the default print queue. Is there something in Elm that says if the print option is invalid, send it to some sort of default? Is there any way this could be overcome - has anybody done this? It would be a very handy feature as it would allow the printing of messages at the push of a button, right to your desk. Especially good if your a director and am printing messages of a sensitive or confidential nature. Many thanks, Chris Cook - Postmaster CookC@cardiff.ac.uk "It was only when Lister noticed that the ashtray was nibbling at his elbow that he realised he hadn't landed in paradise..." Red Dwarf III - The Sixth Universe