Converting Blusfish syntax-highlighted PHP code in to a PDF

Gabriel Dragffy dragffy at yandex.ru
Fri Apr 13 10:02:10 UTC 2007


Nicolas Kaiser wrote:
> On 4/13/07, Gabriel Dragffy <dragffy at yandex.ru> wrote:
>> Sorry, it won't work directly from the terminal. Changed to a local dir
>> with a .php file and ran the command. Set the output to something like
>> trial.ps i.e.
>> vim "+ha>trial.ps" +q index.php 2>/dev/null
> 
> Hm, that should work. "2>/dev/null" is only needed for Bluefish,
> without it Bluefish would get confused.
> 
> Manually launching vim and printing the file, the same line would expand to
> 
> vim index.php
> :ha >trial.ps
> :q
> 
> Cheers,
> n.
> 

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?

Thanks
Gabe




More information about the ubuntu-users mailing list