After struggling with making a usable cover page for Avantfax, I finally figured out how to customize the cover page. To assist others, here is a step by step guide of how to make a custom cover page. Much of the information, I got from this post: http://www.pbxinaflash.com/forum/showpost.php?p=23207&postcount=112 (thanks phinphan for compiling this information), but I had to do additional steps to make the cover page work.
1. First you want to download and install a copy of Freehand from Adobe: http://www.adobe.com/products/freehand/
2. Create a new file and add an logo to the top of the page or use the text tool and using a large font write the company name. (This is just a suggestion, you can design it however you want)
3. Then you want to make another text box under the logo. In this text box you want to use put in the values that you want to show up on your cover sheet. Use this as a reference: http://www.avantfax.com/faxcover.php. This is an example of what I used:
4. Remember that font does matter. If the font you use is not in the printer’s drivers, then you might encounter an error. I used Arial Unicode MS because phinphan said it worked for him.
5. Next you want create a line at the very bottom of your page that goes completely from the left to the right. Use font color white so it does not show up. If you do not create this line, the formatting of the cover page will come out skewed.
6. When you are done, go to File > Export. Name the file and select Encapsulated Post Script. Click on the Setup button and select Include Fonts in EPS and Include Freehand Document, and select “RGB” for Covert Colors to. Save that file to your desktop for now.
7. Now go to your desktop and open up that file in notepad. Scroll to near the bottom of the file. We need to manually make some changes within here for all the variable values to work correctly. For some reason, when it is exported out, it severs some of the variable tags. Search for tags that are split apart like this:
It should look like this after you make the change:
8. Go through and correct all the variable tags that have been split. After you have done that, save that file. (They are all near the bottom, but if you think you might have missed one, then you can just search that file for “XXXX” so you don’t miss any of the variable tags.
9. Now WinSCP into the PiaF server and map to /var/www/html/avantfax/images and put that filename.EPS file into that directory.
10. Now putty into the PiaF server and log in as root. Go to /var/www/html/avantfax/images and type:
mv filename.EPS filename.ps
11. Then go into /var/www/html/avantfax/includes. Go into the file called local_config.php. In the file look for $COVERPAGE_FILE = 'cover.ps'; and change ‘cover.ps’ to the ps file that you have created.
12. Now go send a fax and see if your cover page worked. If it didn’t work, leave a message and I’ll see if I can help out.
1. First you want to download and install a copy of Freehand from Adobe: http://www.adobe.com/products/freehand/
2. Create a new file and add an logo to the top of the page or use the text tool and using a large font write the company name. (This is just a suggestion, you can design it however you want)
3. Then you want to make another text box under the logo. In this text box you want to use put in the values that you want to show up on your cover sheet. Use this as a reference: http://www.avantfax.com/faxcover.php. This is an example of what I used:
4. Remember that font does matter. If the font you use is not in the printer’s drivers, then you might encounter an error. I used Arial Unicode MS because phinphan said it worked for him.
5. Next you want create a line at the very bottom of your page that goes completely from the left to the right. Use font color white so it does not show up. If you do not create this line, the formatting of the cover page will come out skewed.
6. When you are done, go to File > Export. Name the file and select Encapsulated Post Script. Click on the Setup button and select Include Fonts in EPS and Include Freehand Document, and select “RGB” for Covert Colors to. Save that file to your desktop for now.
7. Now go to your desktop and open up that file in notepad. Scroll to near the bottom of the file. We need to manually make some changes within here for all the variable values to work correctly. For some reason, when it is exported out, it severs some of the variable tags. Search for tags that are split apart like this:
It should look like this after you make the change:
8. Go through and correct all the variable tags that have been split. After you have done that, save that file. (They are all near the bottom, but if you think you might have missed one, then you can just search that file for “XXXX” so you don’t miss any of the variable tags.
9. Now WinSCP into the PiaF server and map to /var/www/html/avantfax/images and put that filename.EPS file into that directory.
10. Now putty into the PiaF server and log in as root. Go to /var/www/html/avantfax/images and type:
mv filename.EPS filename.ps
11. Then go into /var/www/html/avantfax/includes. Go into the file called local_config.php. In the file look for $COVERPAGE_FILE = 'cover.ps'; and change ‘cover.ps’ to the ps file that you have created.
12. Now go send a fax and see if your cover page worked. If it didn’t work, leave a message and I’ll see if I can help out.