|
|
Subject:
Web Server Dynamiclly Edit and Distill an EPS file into a PDF file.
Category: Computers > Programming Asked by: daknocom-ga List Price: $25.00 |
Posted:
11 Jan 2006 10:33 PST
Expires: 10 Feb 2006 10:33 PST Question ID: 432088 |
How do I dynamically auto distill and .eps file to create a .pdf? I am developing a site where I need to dynamically edit text in an .eps file. The problem is that I need to maintain 300 dpi (where as dynamically creating an html page and converting to .pdf format will only maintain 72 dpi). I also need to maintain the drop shadow on the dynamic text to keep the text constant with the static text on the page. I have been told that I can have my server can automatically create a .eps file that can contain the dynamic text I need and then have the server automatically distill the file and create a pdf based on that. I need to know how to do this. We have a Linux server and the site is coded in PHP. |
|
There is no answer at this time. |
|
Subject:
Re: Web Server Dynamiclly Edit and Distill an EPS file into a PDF file.
From: cruzinthegalaxie-ga on 11 Jan 2006 21:25 PST |
http://www.ghostscript.com/ is the key. I used this on a project if you want a specific example. |
Subject:
Re: Web Server Dynamiclly Edit and Distill an EPS file into a PDF file.
From: scibo-ga on 13 Jan 2006 11:38 PST |
I am not sure about your exact needs with respect to the content of the .eps or the final .pdf file. But I think, you could use LaTeX to create arbitrary documents including graphics and text at your choice. LaTeX files are ascii files, where the text is contained in plain form. The rest are commands regarding style and inclusion of graphics. So what you would need is 1) get an understanding for LaTeX http://www.latex-project.org/guides/ http://en.wikibooks.org/wiki/LaTeX 2) install tetex on your linux machine, (be sure to have dvips and ps2pdf included) 3) create a template.tex file that matches the general layout (size, font, graphics) of your wanted look (sorry there is too less info about your needs) for testing purposes. 4) setup a script that generates a file ready.tex which contains the variable text at the apprioate places in this template.tex file 5) you need the commands latex ready (gives you a file ready.dvi) dvips ready (gives you a file ready.ps) ps2pdf ready (gives you a file ready.pdf) You would need to use some parameters to reduze the size of the pdf, but for this I would need more details about the content of the pdf, the size and so on. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |