Is there a package available in the CentOS repos that will convert either a MicroSoft Word .doc, an OOo .otd, or an Acrobat .pdf file into eps format? If so, what is its name? If not, What not CentOS packages are available (if any) and recommended to accomplish this? Regards -- 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
> -----Original Message----- > From: centos-bounces at centos.org > [mailto:centos-bounces at centos.org] On Behalf Of James B. Byrne > Sent: Friday, February 23, 2007 3:48 PM > To: centos at centos.org > Subject: [CentOS] Centos package to export to eps format > > Is there a package available in the CentOS repos that will > convert either > a MicroSoft Word .doc, an OOo .otd, or an Acrobat .pdf file into eps > format? If so, what is its name? If not, What not CentOS > packages are > available (if any) and recommended to accomplish this?Yes! It's called cups+ghostscript, there is also a cups filter floating arounds called cups-pdf which does the leg work for you. Basically cups presents a Postscript printer to the network, pick any good color postscript printer, (add samba for windows printing support and ads publishing) the client machine connects, converts the documents into Postscript for printing, but instead of going to a postscript printer it sends it to ghostscript's ps2pdf converter. You can add your own little flare to it. I had one running once that would drop the job on a Samba share and send an email with a link to it, you could do the same with Apache, use SSL if it has confidential info, make the name an md5 hash of the document, set a cron job to purge all pdfs > 24 hours old. You get the idea. -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
On Fri Feb 23 20:57:04 UTC 2007, Ross S. W. Walker rwalker at medallion.com wrote:> Yes! It's called cups+ghostscript, there is also a cups filter floating > arounds called cups-pdf which does the leg work for you.> Basically cups presents a Postscript printer to the network, pick any > good color postscript printer, (add samba for windows printing support > and ads publishing) the client machine connects, converts the documents > into Postscript for printing, but instead of going to a postscript > printer it sends it to ghostscript's ps2pdf converter.I cannot tell if this answers my question or not so I will restate my requirement. I believe that I need to create an .eps format file with text and graphics and font information preserved. I have the original document in ms-word 2000 format. I also have it in .pdf format. I am given to understand that the difference between .eps and .ps is the the inclusion of the font info. Is a plain .ps output file sufficent instead because this I can easily accomplish. Regards, -- 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
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