Printing to Postscript, PDF and other formats

In Vim, the :hardcopy command generates a Postscript file. On most Unix-like systems, this can be sent to a printer with lp or lpr. On Windows, :hardcopy sends its output to an installed printer.

External links