I need to create images of the first page of some source code text files, like asp or php or js files for example.
I usually go on through this doing something as

Code:
enscript --no-header --pages=1 "${input_file}" -o - | ps2pdf - "${temp_pdf_file}"
convert -quality 100 -density 150x150 -append "${temp_pdf_file}"[0] "${output_file}"
trash "${temp_pdf_file}"
This works nice for my needs, but it obviously outputs an image "as is" with no "eye-candy" features. I was wondering if there's a way to add syntax highlighting too. This might come handy to speed up the creation of presentations of developed works for example