Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!uokmax!munnari.oz.au!metro!sunaus.oz!newstop!exodus!argv From: argv@turnpike.Eng.Sun.COM (Dan Heller) Newsgroups: comp.mail.mush Subject: Re: Printing in Mush 7.1.0 & 7.2.0 Message-ID: <2882@exodus.Eng.Sun.COM> Date: 15 Nov 90 21:13:09 GMT References: <9011142125.AA17751@wurlitzer.East.Sun.COM> Sender: news@exodus.Eng.Sun.COM Organization: O'Reilly && Associates Lines: 20 In article <9011142125.AA17751@wurlitzer.East.Sun.COM> mjy@wurlitzer.East.Sun.COM (Michael J. Yoffee - NASE - NYNEX BC - Atlanta) writes: > I have a filter called "mp" which is a basic "pretty print" > program. It simply takes input from stdin; wraps some postscript > around the input; and outputs the "wrapped" data to stdout. > For some reason (as of 7.1.0), this works fine when using the curses > interface but, NOT when using the sunview interface on a 386i running > SunOS 4.0.2. The following (2) lines in my .mailrc seem to do the > trick - at least for the curses version: > > set printer=lw > set print_cmd='mp | lpr' The exact same code is executed for all modes: tty, curses and sunview. If you get different results in any of the modes, I suspect you have an "if tool" somewhere.... -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.