EPS, PDF and joboptions
| From: | Eric Persson | Date: | Wed, 23 Jan 2002 12:24:18 +0000 |
| Subject: | EPS, PDF and joboptions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-81669@lists.php.net to get a copy of this message | ||
Hi !
I've got a real nasty problem right on my desk here. The goal is to have
a webpage where you can fill out adress/name/phonenumbers and regular
stuff found on a businesscard. The user can also upload a .eps file
together with the form. A preview in jpeg or png format will be
produced. So far, no problem.
But, if the user accepts the preview the data will be saved in a
database. Later on a cron script will look for new data. It will then
create a pdf and send to the printing company who will print the card
and send it to the customor. However I have got a distiller joboptions
file which according to the company contains all data needed to create a
pdf of right size/quality etc.
I have no trouble with the text and various fonts and so on, but, how
should I include the .eps image? I came across a tool called ps2pdf and
converted the .eps to a pdffile, but I cant get how I could include one
pdf into another.
Any help, ideas, thoughts would be appreciated.
I will return to the list with some code if I solve this and there is
interest of seeing it.
Thanks in advance,
Eric