Converting Blusfish syntax-highlighted PHP code in to a PDF

Gabriel Dragffy dragffy at yandex.ru
Thu Apr 12 22:03:35 UTC 2007


Nicolas Kaiser wrote:
> On 4/12/07, Gabriel Dragffy <dragffy at yandex.ru> wrote:
>> I have tried many times: vim "+ha >%s.ps" +q '%s' 2>/dev/null
>> I can't seem to make a PS file, I don't know where it would output it
>> anyway. I tried on both local and VFS, with no luck. Not sure what I am
>> doing wrong :/
> 
> Looks alright to me.The ps-file should get created in the same
> directory as the original (php) file, and have a ".ps" ending, like
> test.php -> test.php.ps
> 
> Does it work outside of Bluefish, from the command line, with
> unsubstituted filenames?
> 
> Cheers,
> n.
> 

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




More information about the ubuntu-users mailing list