Saturday, March 1, 2025

Re: Getting Gvim print button to print in landscape mode ftp://ftp.vim.org/pub/vim/MIRRORS

Thank you,Christian, for replying.


However, the reference provided gives no different response to what I already have configured:

So ... are you saying that was a bug? ... and that it is now fixed in the never version?

OR ... is that a bug in the documentation, and that there is NO such functionality?


Note that the URL

tries to take me to SourceForge, where it fails:


Also, attempting to use Filezilla to reach, both,

resulted in the same error:


Please note that my computer is operating under

  • UbuntuMATE Release 22.04.5 LTS (Jammy Jellyfish) 64-bit
  • Linux 6.8.0-45-generic #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11 15:25:05 UTC 2 x86_64 x86_64 x86_64 GNU/Linux (4GB RAM)
  • MATE 1.26.0

Thank you,


Eric


On 2025-03-01 11:36, Christian Brabandt wrote:
  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  

No comments: