Monday, March 3, 2025

Re: Getting Gvim print button to print in landscape mode

Thank you, Christian.


I appreciate your willingness to volunteer a different approach, but in this instance I prefer the direct route.

For more complex situations, I might reconsider that approach.


Eric


On 2025-03-03 02:20, Christian Brabandt wrote:
  On Sat, 01 Mar 2025, Eric Marceau wrote:    
On 2025-03-01 15:12, Christian Brabandt wrote:        Your options included portrait, but I thought you wanted landscape?    As I pointed out in the snapshot of the documentation on the site that you sent  me, it clearly states that      • "portrait=n"  (please refer back to snapshot of that documentation page in      my previous email)    is the specified method to tell Gvim that landscape mode is the desired print  mode.  
  As mentioned in the other message by Jürgen, make sure not to quote   values when using :set    In any case, I'd suggest to generate a postscript file using :hardcopy   and then inspect that file using e.g. ghostscript.    
    The bug was, that vim wouldn't set landscape orientation no matter what you      configured in printoptions in the generated postscript file.    Since you questioned the "portrait=n" method, is there a new "landscape=y"  method, or is there a different documentation page that I should be referring  to instead of the "vimhelp.org" reference?          Where did you find that URL?    That is the URL on the documentation page at      • https://vimhelp.org/usr_90.txt.html#usr_90.txt    under the heading "FROM A PACKAGE".  
  I updated this page, also https://www.vim.org/binaries.html now   correctly redirects to https://www.vim.org/download.php    
      The ftp mirror has been retired.    Using the information obtained from      • https://github.com/vim/vim?tab=readme-ov-file    is the most recent version (v9.1.1163) uploaded to      • https://github.com/vim/vim/tags    a confirmed functional build?  
  Yes correct.    Thanks.  Christian  

No comments: