Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!wuarchive!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!lutwak From: lutwak@athena.mit.edu (Robert Lutwak) Newsgroups: comp.editors Subject: Re: How to do this in VI.... Message-ID: <1991May1.204711.415@athena.mit.edu> Date: 1 May 91 20:47:11 GMT References: <1991Apr30.152450.18717@cec1.wustl.edu> Sender: robert@amo.mit.edu Organization: Massachusetts Institute of Technology Lines: 9 In article <1991Apr30.152450.18717@cec1.wustl.edu> abed@venus.wustl.edu (Abed M. Hammoud) writes: > Is there a way to pipe out the content of a buffer in Vi > to the printer. > I don't know about a buffer, but I often do: :.,.+n w !lp where n is some number of lines that I want to print.