Forgive me for the long post, but this is how I accomplished getting WHFC to create a dynmaic coverpage propogated with the correcting sending information. I could have accomplished this with Kiruxadmins suggestion, however I felt it was too many steps to send a fax, and my coworkers would probably just print and fax like they use too. I compiled most this information from diffrent hylafax lists.
1. Create a Postscript template of how you would like your coverpage to look. I used Adobe Framemaker to create my fax template. In the template file I created several fields such a TO: to-XXXXXXXX (note that in the template I placed to-XXXXXX to mark the position of where I wanted whfc to put my dynamic content. This is important later on.)
2. I then created a fake printer on my wind0ze box using the built in "Apple Color LaserWriter 12/600" driver. This is a true Postscript driver. When asked what port to connect to, be sure to tell it to "Print to File". After creating the postscript print goto the printer properties --> General --> Printing Preferences --> Advanced. Under the "PostScript" area, find where it has the setting for PostScript Output Option... Change it to "EPS" and then apply it and "ok" out.
3. Print your template file to the postscript printer, this will save a file on your computer "filename.prn". Once you have located the file, change the extention from .prn to .ps.
4. Ok now the fun part.. Editing the raw postscript file... The postscript file is all alphanumeric, there a several things we have to adjust in it to make whfc and hylafax work with it. The first thing we need to do is add the following lines to the top of the file:
1 setlinejoin
/nullstring () def
/IS {
dup where {
pop
load dup nullstring ne {S} {pop} ifelse
} {pop} ifelse
} bind def
/AL {
dup where {
pop
load dup nullstring ne {S 0 -20 translate} {pop} ifelse
} {pop} ifelse
} bind def
/M { moveto } bind def /S { show } bind def
/R { rmoveto } bind def /L { lineto } bind def
/B { newpath 0 0 M 0 1 L 1 1 L 1 0 L closepath } bind def
/CS { closepath stroke } bind def
To be honest I don't know if it has to be in any certain spot, however I inserted mine in the top between the first 2 sets of author comments.
Now to hunt down our variables. Do a search in the document for to-xxxxxx you should come to a line that looks somewhat like this:
1600 1003 M (xxx)[54 54 0]xSThe "1600 1003 M" are for the absolute place ment of the text and must stay. However we no longer need "(xxx)[54 54 0]xS[/b]" we will replace that with the variable switch for hylafax that will insert the "TO:" information. The switch we us is /to IS. So our edited line will read:
1600 1003 M /to ISYou can continue to replace all the field using the diffrent switches that hylafax supports. A list of these can be found here:
http://www.hylafax.org/man/faxcover.html5. Once you have completed this, save the file, tell whfc to use it as your default coverpage on the client machine and give it a shot.
This have worked flawlessly for 2 days with over 200 faxes sent. Let me know if I wasn't clear on anything.
Regards