Tuesday, July 3, 2018

hardcopy and double-spaced printing

I would like to have hardcopy (printing) respect GUI Vim's linespace
or some similar option in order to achieve double-spaced printing. Is
there a way to do this?

The current alternative is to copy the text out of Vim (MacVim) and
paste it into Microsoft Word, and then use their double-spacing
feature.

I would also be willing to use some kind of Vim command-line fu or
postscript after-processing with Unix tools, if any of this is a
possible solution. Is there some way to pass a simple arg to the
postscript writer?

Unlikely to work: Since there are long lines and rarely newlines,
simply replacing each newline with two won't work (unless you can
somehow intercept the wrapping done for printing, plus respect page
breaks and headers).

I sort of suspect some dev is required but I am asking here first
anyway. If so, I would guess it's probably a simple variable that goes
to the vim postscript writer that needs to be changed. If the
translation from linespace to the postscript variable is not direct,
then a janky version, e.g. setting the var directly, would be
suitable. Perhaps as a postscript argument. Linespace is just a good
way of describing what typically goes into double-spacing.

Thanks,
Kevin

tags: double, space, double-spacing, linespace, hardcopy, printing, postscript

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: