I'd like to create a new cover template page as I would prefer for our faxes to *not* go out with the Silicon Graphics logo. :)
Does anyone have experience doing this? Can someone point me toward the proper instructions? I've read the faxcover man page, which tells me how to use an alternative template, but I can't figure out how to create one.
Here's what you do:
I used FrameMaker to make ours, complete with company logo, and had FrameMaker output a postscript file. I suppose you could even use troff and use a troff-to-postscript converter if you like. The key part is to get a postscript file that looks as you like, and has sample text in each of the fields to be filled in by the program, each sample text of which is unique to each field so you can find each one buried in the postscript later on.
This is the hard-to-explain part. Let me preface it with a quick intro into postscript text drawing. Each text string is enclosed in parenthesis, and either in front or after the text string on the same line is a macro and a set of coordinates detailing where to "draw" the text on the page. In addition, some packages, like FrameMaker, will sometimes break a string into two or more separate strings in the postscript document, for no reason that I can find. For instance, the phrase "Now is the time for all good men to come to the..." might all be on one line, not broken, in whatever utility you use to generate the postscript, etc, but your output postscript file may "draw" it in three sections, and even out of order, e.g.:
OK, so you need to find the sample text you put in to mark the location of the fields. This is best explained by example. For instance, in my template page straight from FrameMaker after I combined any broken strings, I have the following lines (which happen to be in order):
If you will notice in my sample postscript exerpt above, you can identify the sample strings I put in to determine the exact coordinates of where I wanted the fields to be. Those sample strings are "to-name" (on the third line), "to-company" (on the fifth line), etc...
Now, what you want to do is to convert each sample text line to the format expected by the faxcover EPSI wrapper. This involves changing, in my case, the format of: