I would like to use GNU Enscript to produce a postscript file from a text file. The text file contains python code. The python code should appear with syntax highlighting in the postscript file. The highlighted (highlit?) syntax should by colorful rather than black and shades of grey. Here is the BASH command that I have tried:
Code:
enscript --highlight=python --color=true --output=output.ps input.py
Unfortunately the resultant file, output.ps, contains syntax highlighting in black and grey only. Question is: How to achieve colorful syntax highlighting?
For the record: Ubuntu Mate 23.11 .
Bookmarks