Incorporate an EPS image into my PS template

From $1

Table of contents
No headers

Synapse currently only supports ASCII EPS images.  Read on ... 

You need to first understand the differences between EPS files created on a Mac and that created by Windows computer.  Read the article attached to this page to understand the differences, and how you need to strip out the preview image data, and just end up with the postscript data.

Synapse will automatically surround the EPS file with the appropriate protection ( saving state, redefines showpage etc ), so you have to manually edit the EPS file to place it on the page where you want.

Furthermore, if you are working with EPS files created by Adobe, then you need to find the /ConsumeMetadata routine and replace it with this one contributed by SaGS on the postscript mailing list.

    /ConsumeMetadata {
        currentfile TempString readline pop pop
        currentfile 0 (%end_xml_packet) /SubFileDecode filter
        dup
        MetadataString length 1.1 mul cvi string
            readstring pop
        /MetadataString exch store
        dup flushfile closefile
    } bind def

Which attempts to account for line ending differences between different OS versions of the same file.