I’ve compiled and got a working version of GNU Enscript v1.6.4 on my NSLU2 (slug) running Unslung v6.10
“Enscript converts ASCII files to PostScript and spools generated PostScript output to the specified printer or leaves it to file. Enscript can be easily extended to handle different output media and it has many options that can be used to customize printouts.”
Should other people be interested in this, I’ve made available both the source and binary versions here:
Binary: [download#16#nohits]
Source: [download#17#nohits]
I might see about building this into an optware package for easier installation, but it may take some time.
The binary currently runs from
/opt/share/enscript/bin/enscript
I’ve now successfully used this with CVSWEB to allow the colour coding on the diffs. I had to change the enscript.cfg to set the path to the ‘hl’ directory for the states program. Once I did that it all worked.
If you find this useful, please leave a comment – it might inspire me to build it into an optware package.