[CentOS] Re: Centos package to export to eps format

Fri Feb 23 22:43:04 UTC 2007
James B. Byrne <byrnejb at harte-lyne.ca>

I tried the ps2pdf and pdf2epsi route and fared no better.  I clearly do
not have a good grasp of what I need so I will give some more background.

I recently installed the avantfax web client for hylafax. I have this
working on an SELinux enabled server (despite claims on the project's
website to the contrary) over https.  I want to customize the cover sheet
called cover.ps. According to the project instructions one may accomplish
this in the following manner:

--->
How-to Make A Custom Cover Page

The included cover page file, cover.ps, was created with the XXXX- values
and then exported to an Encapsulated PostScript (EPS) file with the fonts
included. Also, the EPS file has been converted to UNIX format. I replaced
all of the ^M characters with \n using this command:

$ perl -p -i.old -e 's/\015/\n/g' cover.eps
$ rm -f cover.eps.old
$ mv cover.eps cover.ps

Here are some example values of what the resulting PostScript file will
look like.

$ grep XXXX cover.ps
0 0 32 0 0 (To \/ Company: XXXX-to-company) ts
0 0 32 0 0 (Fax number: XXXX-to-fax-number) ts
0 0 32 0 0 (Date: XXXX-todays-date) ts
0 0 32 0 0 (From: XXXX-from) ts

The beginning and ending of the line does not matter. The faxcover program
will search and replace the "XXXX-" values. When you're done, you must
replace the cover.ps file located in the images directory of your AvantFAX
installation.
<---

Now.  I have a standard fax cover sheet in OOo .otd format that I have
altered to contain the fields XXXX-to-company, XXXX-from-fax-number, etc. 
I want to turn this into an encapsulated .ps format as required above. 
What I am getting however is not TEXT but apparently pre-imaged printer
pages.  How to I get an .eps file that preserves the XXXX-fields as text
in the .eps file so that the avantfax send generator can do the
substitutions?



--
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3