Converting Blusfish syntax-highlighted PHP code in to a PDF

Gabriel Dragffy dragffy at yandex.ru
Thu Apr 12 13:29:27 UTC 2007


Richard Mancusi wrote:
> You can print from Bluefish - it just needs to be setup.  Following is
> my strange setup - I suspect there is a better way.
> 
> 1. Edit/Preferences/External programs
>    Utilities and filters section
>    Add
>    (I added 3 "printers" - this is where YOU can get inventive)
>    Label = Print    Command = lpr '%s'
>    Label = enscript   Command = enscript -B --font=Courier8 -M letter '%s'
>    Label = enscript-hdr   Command = enscript --font=Courier8 -M letter '%s'
> 
> 2. Then anytime you wish to print go into External/Commands
>     Your "printers" will be there for selection.
> 
> Again, I need to stress that this is what I need.  You can put nearly
> any command syntax in there.  Look at man lpr and man enscript for
> starters.  In a rush - hope there aren't any typo's.
> 
> hth
> -rich
> 

If one wanted to use the cups-pdf as the printer, what might the 
external command for Bluefish be?

Cheers!




More information about the ubuntu-users mailing list