Converting Blusfish syntax-highlighted PHP code in to a PDF

Nicolas Kaiser halforc at gmail.com
Fri Apr 13 08:05:26 UTC 2007


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.




More information about the ubuntu-users mailing list