printing a shell script in coulor righting in gedit

170 views Asked by At

I done a shell script in gedit and it has a different colours for each type of writing , declaring functions, echo statements ect, however , how do i print and print the colours. - On paper

Thanks all

1

There are 1 answers

0
ShellFish On

You can use this package: http://blog.vinceliu.com/2008/06/printing-syntax-highlighted-source-code.html

It should allow you to print syntax highlighting.