Thanks Nikolay. I'll try tohtml. I don't understand the printencoding situation. When I try to check :set printencoding I get "E519: Option not supported: printencoding"
On Sun, Oct 4, 2015 at 10:28 AM, Nikolay Pavlov <[email protected]> wrote: > 2015-10-04 16:42 GMT+03:00 BC <[email protected]>: > > When I do :hardcopy my printout is turning characters that appear > correctly in the editor into gibberish. These are accented characters in > Spanish words, and also fancy quotation marks and apostrophes (which I > normally don't use but I was printing material that I'd pasted in from a > word document) How can I fix this? > > See :h 'printencoding': it is only possible if there is an encoding > file $VIMRUNTIME/print/{encoding}.ps with encoding which contains all > of the characters you want to print (you must set printencoding option > to this encoding name before printing) and this directory contains > only single-byte encodings AFAIK. It is probably better to use either > formatvim or tohtml Vim plugin to convert your file to something > highlighted (specifically formatvim supports LaTeX and HTML (and > anything else, but only if you are willing to write the backend), > tohtml supports only HTML), and then print the result. > > > > > -- > > -- > > You received this message from the "vim_use" maillist. > > Do not top-post! Type your reply below the text you are replying to. > > For more information, visit http://www.vim.org/maillist.php > > > > --- > > You received this message because you are subscribed to the Google > Groups "vim_use" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > For more options, visit https://groups.google.com/d/optout. > > -- > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to a topic in the > Google Groups "vim_use" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/vim_use/6JIqpLiIi34/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
