Saturday, March 18, 2017

vim print

:ha print the whole document to default printer
To print the lines starting from line m to line n:
:m,n ha >printout.ps or :m,n hardcopy >printout.ps
Without the >printout.ps part, the default printer will be used.


No comments: