RE: [cfaussie] Web to PDF
Are you on CF 7 or above? If so, then CFDOCUMENT would seem to be what you want. Or is there something about that you've considered that doesn't seem to work? I realize you say, Normally I would create a HTML page from a template then make a PDF of that page, but you don't say how you would do that. CFDocument would seem to fit the bill. Now, you go on to say, but I need the eventual PDF to be as press ready as possible. Is there perhaps something about that requirement that you may feel doesn't suit CFDocument? Just trying to help you/others here explore your options. /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of m...@ampersand.net.au Sent: Wednesday, February 02, 2011 6:09 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Web to PDF 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. -- 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.
Re: [cfaussie] Web to PDF
Hi Charlie. I am in CF8. I think the biggest issue with using cfdocument for this is it just isn't set up to produce documents in CMYK and at 300dpi. On 3/02/2011 1:14 PM, charlie arehart wrote: Are you on CF 7 or above? If so, then CFDOCUMENT would seem to be what you want. Or is there something about that you've considered that doesn't seem to work? I realize you say, "Normally I would create a HTML page from a template then make a PDF of that page", but you don't say how you would do that. CFDocument would seem to fit the bill. Now, you go on to say, "but I need the eventual PDF to be as press ready as possible". Is there perhaps something about that requirement that you may feel doesn't suit CFDocument? Just trying to help you/others here explore your options. /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of m...@ampersand.net.au Sent: Wednesday, February 02, 2011 6:09 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Web to PDF 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. -- 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.
Re: [cfaussie] Web to PDF
I had issues with cfdocument a few times with massive pdf's. What I did was write out the html to a temp url then use http://code.google.com/p/wkhtmltopdf/ with cfexecute on the web accessible html files, delete the html and deliver the PDF and it frees up the CF application server ( as it's executed as a separate process ). It works really well and was much faster then cfdocument and has loads of features ( landscape etc ). Paul. On 3/02/2011 3:02 PM, m...@ampersand.net.au wrote: Hi Charlie. I am in CF8. I think the biggest issue with using cfdocument for this is it just isn't set up to produce documents in CMYK and at 300dpi. On 3/02/2011 1:14 PM, charlie arehart wrote: Are you on CF 7 or above? If so, then CFDOCUMENT would seem to be what you want. Or is there something about that you've considered that doesn't seem to work? I realize you say, Normally I would create a HTML page from a template then make a PDF of that page, but you don't say how you would do that. CFDocument would seem to fit the bill. Now, you go on to say, but I need the eventual PDF to be as press ready as possible. Is there perhaps something about that requirement that you may feel doesn't suit CFDocument? Just trying to help you/others here explore your options. /charlie -Original Message- From:cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf of...@ampersand.net.au Sent: Wednesday, February 02, 2011 6:09 PM To:cfaussie@googlegroups.com Subject: [cfaussie] Web to PDF 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 tocfaus...@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. -- 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. -- 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.
Re: [cfaussie] Web to PDF
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.
Re: [cfaussie] Web to PDF
I did think of using a PDF form but I needed to put some images in it, and I couldn't work that bit out. This is absolutely worth investigating, thanks very much. I knew someone would have worked this out! At the moment I am having a play with Latex, which is kind of nice but I'll see how the PDF comes out the other end... On 3/02/2011 2:57 PM, Vendigo Design wrote: 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="" 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="" 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.