I'm using enscript to produce a pdf file. I wish to include a header that contains the filename, like that
enscript --header='$n' ... file.py | ps2pdf - file.pdf
Every page of the resulted pdf includes a header with the filename. How can I have this header only on the first page of the pdf?