How do you pipe a vim buffer through lpr?

I want to print the buffer, and I do it this way:

:%!lpr

Which works, but it erases the buffer and I have to restore it with undo u. Is there a better way to print the buffer (or a range of lines in it)?

5
задан dan 3 January 2011 в 17:19
поделиться