Actually this was fixed in MacVim, but I have been busy with
different things and traveling and didn't have time to polish up a proper
release which is why you are seeing the issue :(

I pushed out a pre-release build (you can access it in the Advanced
settings or download from the MacVim release page) but I should really get
on to releasing it since it's been like 4-5 months already.

The fix was in https://github.com/macvim-dev/macvim/pull/1390 by using
pstopdf since it's bundled with macoS.

On Thu, Jun 29, 2023 at 1:07 PM Lifepillar <[email protected]> wrote:

> Could MacVim's gvimrc perhaps be updated to include something to this
> effect?
>
> fun! MacVimPrintFile(fname)
>   call system('/usr/bin/pstopdf ' .. fname)
>   call system('/usr/bin/open -a Preview ' .. fname .. '.pdf')
>   return v:shell_error
> endf
>
> set printexpr=MacVimPrintFile(v:fname_in)
>
> Thanks,
> Life.
>
>
> --
> --
> You received this message from the "vim_mac" 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_mac" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vim_mac/u7ko9l%24khj%241%40ciao.gmane.io
> .
>

-- 
-- 
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_mac/CAHTeOx_ocRZLK5bQDms0cS-oPvoOrg3HqrWi0YE8GTDw-cr7VA%40mail.gmail.com.

Reply via email to