Carlos E. R. wrote:
The Sunday 2007-04-22 at 20:14 -0700, Randall R Schulz wrote:
On Sunday 22 April 2007 18:49, Carlos E. R. wrote:

> So the question is, how can I add the page numbers automatically?

I have a related request: Can I annotate either the first page or all pages with the file name of the PostScript file being printed?

Mmm... I have seen that done with ascii files... interesting.

Let's generalize, then. How to add arbitrary strings? File name, page number, date of printing...

I don't know how to do this with PS files. I would convert them to PDF and then add the strings there. Owing to the encapsulation by xobjects, PDF is much better structured and thus better suited to add typeset material to pages later on. To print it, converting back to PS is a snap.

Either with pdfTeX (using the LaTeX package pdfpages) for those who use TeX anyhow. (Being a member of the LaTeX team, that describes my situation pretty well. :-) Works great and has the advantage that one can also scale and rotate. For those with an installed TeX system, use "texdoc pdfpages" to get documentation.

Or with a small Perl script that uses PDF::Reuse. As long as one stays with the 14 standard PDF fonts, this is a very good quick solution. If you want to try this road, I can post more information.

        Joachim

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Joachim Schrod                          Email: [EMAIL PROTECTED]
Roedermark, Germany

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to