Converting Blusfish syntax-highlighted PHP code in to a PDF
Florian Diesch
diesch at spamfence.net
Sat Apr 14 01:51:59 UTC 2007
Gabriel Dragffy <dragffy at yandex.ru> wrote:
> Nicolas Kaiser wrote:
>> On 4/13/07, Gabriel Dragffy <dragffy at yandex.ru> wrote:
>>> Nicolas Kaiser wrote:
>>
>>>> Manually launching vim and printing the file, the same line would expand to
>>>>
>>>> vim index.php
>>>> :ha >trial.ps
>>>> :q
>>
>>> Aha! I tried this and it didn't work. Because I was inside vim I got the
>>> benefit of an error message, which was "E319: Sorry, the command is not
>>> available in this version".... What gives?
>>
>> Whoa. This same error? http://www.lornajane.net/tiny-vim-on-ubuntu
>>
>> Cheers,
>> n.
>>
>
> Nic, thanks so much for your help. According to that link you sent I
> needed to take several steps to install the full vim, in the end all I
> needed to do was "sudo aptitude install vim -y".
>
> Your command works flawlessly, once I have done "syntax enable" and I
> get a great .ps file. My final question is "what about PDF?". I have
> found that I can 'cat' the .ps file and pipe that in to lp, but all my
> attempts to integrate this operation in VIM's command line have failed -
> can you suggest something?
replace ">trial.ps" by "|lp"
Florian
--
<http://www.florian-diesch.de/>
More information about the ubuntu-users
mailing list