bash command 'enscript'
Attempted to print out a python source file as 'pretty-print', i.e., in the highlighted colors that my Vim editor provides. Using my Mandrake 10.1 terminal, I entered:
'enscript -Epython <filename>.py | lpr'
The results were pretty dismal. Got nothing in color...only black lettering (some bold and some regular print) and all that ran over top of itself (i.e., text printed atop other text).
So, where did I go wrong?
Oh, yea...the first line of the script (ASCII text) file is the required 'hash-bang' announcer:
#!/usr/bin/python
|