Re: Getting Gvim print button to print in landscape mode

Christian Brabandt <[email protected]>
Newsgroups gmane.editors.vim
Message-ID <[email protected]>
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
-- 
If builders built buildings the way programmers wrote programs,
then the first woodpecker to come along would destroy civilization.

-- 
-- 
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/Z8VYV%2BlBE4jrg0M0%40256bit.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.