How to pass PS header data to pdfmark?
Hope this is the right place for this question:
I currently use a bit of PostScript in Distiller's epilogue.ps file to add my name as "Author" to all my PDFs as they are distilled:
[ /Author (My Name) /DOCINFO pdfmark
So far, so good.
Now what I want to do is automatically pass the data in the header of the PostScript file (such as %%Title, %% Creator) to the epilogue file.
e.g. something like this:
[ /Title TitleVariable /DOCINFO pdfmark
so that a .ps file with a header line
%%Title: My File.file
becomes a PDF file with Title: My File.file
Is this possible?
Hope this makes sense.
At the moment, the three "main" PDF metadata fields are always empty, and it's a pain having to fill them manually.
