Vim can only use 8-bit encoding for printing. If there is an encoding that includes all of these characters, all you need is to use
set printencoding={encoding}
, vim. :TOhtml, @DaoWen, do
:TOhtml
:w /tmp/print.html
:!command-that-makes-browser-print-a-file(I-do-not-know-one) /tmp/print.html
:!rm /tmp/print.html
. formatvim, pdf ( : -xcolor ):
:Format format latex-xcolor to /tmp/print.tex
:!pdflatex /tmp/print.tex && lp /tmp/print.pdf && rm /tmp/print.*
( html, ). , .