Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Gabriel Dragffy <dragffy@xxxxxxxxx>
- Date: Fri, 13 Apr 2007 18:21:26 +0100
Nicolas Kaiser wrote:
On 4/13/07, Gabriel Dragffy <dragffy@xxxxxxxxx> 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?
I'm working along the lines of "ha>trial.ps<lp -d 'pdf-color'" but
obviously it is flawed, but my knowledge of commands isn't good enough
to fix it.
Thanks again.
Regards
Gabe
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Florian Diesch
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Nicolas Kaiser
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- References:
- Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Gabriel Dragffy
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Nicolas Kaiser
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Gabriel Dragffy
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Nicolas Kaiser
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Gabriel Dragffy
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Nicolas Kaiser
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Gabriel Dragffy
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Nicolas Kaiser
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Gabriel Dragffy
- Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- From: Nicolas Kaiser
- Converting Blusfish syntax-highlighted PHP code in to a PDF
- Prev by Date: Re: cannot open system/admin/printing, cups errors, cups server could not be contacted...
- Next by Date: Re: Where is my 2G? - MC
- Previous by thread: Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- Next by thread: Re: Converting Blusfish syntax-highlighted PHP code in to a PDF
- Index(es):
Relevant Pages
|