Tony Mechelynck | 1 Nov 2008 03:38
Picon
Gravatar

Re: gtk printing


On 01/11/08 02:57, bill lam wrote:
> afaics gtk-gvim use linux console mode printing commands. Will gvim
> use the more user friendly gtk printing system?  I wish I can use gvim
> instead of gedit/geany for printing
>

If the ":hardcopy" command, and the options displayed by

	:help 'print<Ctrl-D>

are not friendly enough for you, you may load the editfile in your 
favourite browser (maybe copy it first to some *.txt filename make sure 
it will be treated as text/plain) and print from there.

Best regards,
Tony.
--

-- 
hundred-and-one symptoms of being an internet addict:
238. You think faxes are old-fashioned.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

bill lam | 1 Nov 2008 09:07
Picon

Re: gtk printing


On Sat, 01 Nov 2008, Tony Mechelynck wrote:

> 
> On 01/11/08 02:57, bill lam wrote:
> > afaics gtk-gvim use linux console mode printing commands. Will gvim
> > use the more user friendly gtk printing system?  I wish I can use gvim
> > instead of gedit/geany for printing
> >
> 
> If the ":hardcopy" command, and the options displayed by
> 
> 	:help 'print<Ctrl-D>
> 
> are not friendly enough for you, you may load the editfile in your 
> favourite browser (maybe copy it first to some *.txt filename make sure 
> it will be treated as text/plain) and print from there.

This is the workaround I currently use.

:hardcopy in win32 gvim will pop up a familiar print dialog for
choosing or config printers.  gtk should have a similar dialog
available but gvim choose to ignore that.

Hypothetically, if :hardcopy on win32 gvim is the same as that in
linux gvim, I guess notepad will also be needed as a workaround for
printing.

That said, I did not suggest that gtk print dialog should be used in
console mode vim.
(Continue reading)

Bram Moolenaar | 6 Nov 2008 12:46
Picon

Re: gtk printing


Bill Lam wrote:

> On Sat, 01 Nov 2008, Tony Mechelynck wrote:
> 
> > 
> > On 01/11/08 02:57, bill lam wrote:
> > > afaics gtk-gvim use linux console mode printing commands. Will gvim
> > > use the more user friendly gtk printing system?  I wish I can use gvim
> > > instead of gedit/geany for printing
> > >
> > 
> > If the ":hardcopy" command, and the options displayed by
> > 
> > 	:help 'print<Ctrl-D>
> > 
> > are not friendly enough for you, you may load the editfile in your 
> > favourite browser (maybe copy it first to some *.txt filename make sure 
> > it will be treated as text/plain) and print from there.
> 
> This is the workaround I currently use.
> 
> :hardcopy in win32 gvim will pop up a familiar print dialog for
> choosing or config printers.  gtk should have a similar dialog
> available but gvim choose to ignore that.
> 
> Hypothetically, if :hardcopy on win32 gvim is the same as that in
> linux gvim, I guess notepad will also be needed as a workaround for
> printing.
> 
(Continue reading)

Tony Mechelynck | 1 Nov 2008 14:40
Picon
Gravatar

Re: gtk printing


On 01/11/08 09:07, bill lam wrote:
> On Sat, 01 Nov 2008, Tony Mechelynck wrote:
>
>> On 01/11/08 02:57, bill lam wrote:
>>> afaics gtk-gvim use linux console mode printing commands. Will gvim
>>> use the more user friendly gtk printing system?  I wish I can use gvim
>>> instead of gedit/geany for printing
>>>
>> If the ":hardcopy" command, and the options displayed by
>>
>> 	:help 'print<Ctrl-D>
>>
>> are not friendly enough for you, you may load the editfile in your
>> favourite browser (maybe copy it first to some *.txt filename make sure
>> it will be treated as text/plain) and print from there.
>
> This is the workaround I currently use.
>
> :hardcopy in win32 gvim will pop up a familiar print dialog for
> choosing or config printers.  gtk should have a similar dialog
> available but gvim choose to ignore that.
>
> Hypothetically, if :hardcopy on win32 gvim is the same as that in
> linux gvim, I guess notepad will also be needed as a workaround for
> printing.
>
> That said, I did not suggest that gtk print dialog should be used in
> console mode vim.
>
(Continue reading)

bill lam | 1 Nov 2008 15:17
Picon

Re: gtk printing


Hi Tony,
Thank you for pointing out the +postscript option.  I'll spare some
time to learn linux lpr commands.

--

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---


Gmane