On Fri, 28 Feb 2025, Eric Marceau wrote:
> I've tried to set my vimrc parameters for landscape mode. Here is what I
> have in my file:
>
>
> ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
> │ "###
> │
> │ "###### Hardcopy Options
> │
> │ "###### See:
> https://vimdoc.sourceforge.net/htmldoc/print.html#print-options
> │
> │ "###### See:
> https://vimdoc.sourceforge.net/htmldoc/options.html#'statusline' for header
> format │
Note: vimdoc.sf.net is outdated, last updated for version 7.3.162.
Better use vimhelp.org
> │ "###
> │
> │
> │
> │ "### Specify font for printout
> │
> │ "set printmbcharset="default"
> │
> │ "set
> printoptions="paper:letter,portrait:n,duplex:off,left:5pc,right:5pc,top:5pc,bottom:5pc,syntax:n,wrap:y"
> │
> │ "set printoptions="portrait:n,duplex:off,wrap:y,syntax:n"
> │
> │ "set
> printoptions="portrait:n,numbers:y,wrap:y,syntax:n,left:5pc,right:5pc,top:5pc,bottom:5pc"
> │
> │ "set printoptions="portrait:n,numbers:y,wrap:y,syntax:y"
> │
> │ set printoptions="portrait:n"
> │
Here you are not setting landscape mode.
> │ "set printfont="Courier:h15"
> │
> │ set printfont="SourceSans:h15"
> │
> │ "#set printheader="%t%=%{strftime('%c')}%=Page %N"
> │
> │ set printheader="%<%f%=Page %N"
> │
>
> └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
>
> The line in bold is, in my view, set to force landscape, but that never
> happens. As you can see, I tried many variations before eliminating
> everything, but the orientation for the printoptions variable.
Until v9.1.0907 Vim would always set "Portrait" in the generated
postscript file.
> VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Feb 03 2025 11:54:38)
So I would suggest to update your Vim.
Thanks,
Chris
--
We are now enjoying total mutual interaction in an imaginary hot tub ...
--
--
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].
To view this discussion visit
https://groups.google.com/d/msgid/vim_use/Z8M3njoq7Z7/Z4qH%40256bit.org.