Hi Mark,
Not sure if this is what you're after but if the PDF you want as the end
result has a fixed layout, then you could use a PDF Form.
You can setup your PDF file (as CMYK and 300dpi) then save as a PDF Form
with editable fields, then have ColdFusion populate the editable fields
with data from your web form.
The <cfpdfform action="populate"> tag can do this, even uploading images
if your PDF form has image fields.
You just need to save the uploaded image on the server, then use:
<cffile action="readbinary" file="#imageFilename#" variable="imageData">
<cfset imageDataB64 = binaryEncode(imageData,"Base64")>
<cfpdfformparam name="imageFieldName" value="#imageDataB64#">
regards
Ryan
On 3/02/2011 10:09 AM, m...@ampersand.net.au wrote:
Hi Guys.
I am doing some research on sending web forms to print and thought
some of you may have already done this.
I have a client (early stages at the moment) who wants to be able to
fill in a web form, upload a few images, and pump out a PDF at the end
of the process. Normally I would create a HTML page from a template
then make a PDF of that page, but I need the eventual PDF to be as
press ready as possible (he wants to be able to send it directly to a
printer to print off 100 copies or whatever).
Has anyone done this in the past, and if so can you recommend any
software etc. I should look into? I can install software on the server
so I am thinking something that I may be able to install and run from
the command line via cfexecute.
Thanks,
Mark
--
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.