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)?
:%w !lpr
or, using builtin print command,
:hardcopy
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With